/* BrandProtection Frontend Styles */

.bpac-verification-form {
    max-width: 600px;
    margin: 30px auto;
    padding: 0 15px;
}

.bpac-form-container {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.bpac-form-title {
    margin: 0 0 20px 0;
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
}

.bpac-form-description {
    margin-bottom: 30px;
    text-align: center;
}

.bpac-form-description p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.bpac-form-group {
    margin-bottom: 20px;
}

.bpac-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: monospace;
    letter-spacing: 1px;
}

.bpac-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.bpac-button {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}

.bpac-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3);
}

.bpac-button:active {
    transform: translateY(0);
}

.bpac-button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Result Messages */
.bpac-result {
    margin-top: 25px;
    padding: 20px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.6;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bpac-result.bpac-success {
    background: #ecfdf5;
    border: 2px solid #10b981;
    color: #065f46;
}

.bpac-result.bpac-warning {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    color: #92400e;
}

.bpac-result.bpac-error {
    background: #fee2e2;
    border: 2px solid #ef4444;
    color: #991b1b;
}

.bpac-result strong {
    display: block;
    font-size: 17px;
    margin-bottom: 8px;
}

/* Loading State */
.bpac-loading .bpac-input {
    opacity: 0.6;
}

.bpac-loading .bpac-button {
    opacity: 0.6;
    cursor: wait;
}

/* Spinner */
.bpac-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 640px) {
    .bpac-form-container {
        padding: 30px 20px;
    }

    .bpac-form-title {
        font-size: 24px;
    }

    .bpac-input,
    .bpac-button {
        font-size: 15px;
        padding: 14px 18px;
    }
}

/* Print Styles */
@media print {
    .bpac-button {
        display: none;
    }
}


/* Modal Styles */
.bpac-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.bpac-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
}

.bpac-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    position: relative;
    z-index: 10001;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.bpac-modal-header {
    padding: 2px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bpac-modal-body {
    padding: 20px;
}

.bpac-close-modal {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.bpac-close-modal:hover,
.bpac-close-modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.bpac-row {
    display: flex;
    gap: 15px;
}

.bpac-col {
    flex: 1;
}

.bpac-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
    color: #374151;
}

.bpac-file-input {
    display: block;
    width: 100%;
    padding: 8px;
    border: 1px dashed #d1d5db;
    border-radius: 6px;
    background: #f9fafb;
    cursor: pointer;
}

.bpac-help-text {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #6b7280;
}

.bpac-report-link {
    display: inline-block;
    margin-top: 10px;
    color: #ef4444;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

.bpac-report-link:hover {
    color: #b91c1c;
}