/* Bitcoiniacs KYC Dashboard Styles */

/* Dashboard Container */
.bitcoiniacs-kyc-dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
}

/* Dashboard Header */
.kyc-dashboard-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #1baff7 0%, #f59e0b 100%);
    border-radius: 12px;
    color: white;
}

/* Login Header Styling - Clean banner with CORRECT gradient colors */
.kyc-dashboard-header.kyc-login-header {
    background: linear-gradient(135deg, #1baff7 0%, #f7931a 100%);
    padding: 60px 30px;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kyc-dashboard-header.kyc-login-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.kyc-dashboard-header.kyc-login-header * {
    position: relative;
    z-index: 1;
}

.kyc-dashboard-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.kyc-dashboard-subtitle {
    font-size: 1.2rem;
    margin: 0 0 30px 0;
    opacity: 0.9;
}

/* Progress Overview */
.kyc-progress-overview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.progress-bar-container {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    width: 300px;
    height: 8px;
    background-color: rgba(255,255,255,0.6);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.verification-complete-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(76, 175, 80, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid rgba(76, 175, 80, 0.5);
    font-weight: 600;
}

/* Verification Cards */
.kyc-verification-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.kyc-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 300px; /* Ensure consistent card height */
}

.kyc-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.kyc-card.verified {
    border-color: #10b981;
    background: linear-gradient(to bottom, #f0fdf4, white);
}

.kyc-card.pending {
    border-color: #f59e0b;
    background: linear-gradient(to bottom, #fffbeb, white);
}

/* Ensure gradient extends to bottom in all cards */
.kyc-card.verified,
.kyc-card.pending {
    background-attachment: local;
}

/* Card Header */
.kyc-card-header {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.kyc-card-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.kyc-card-icon {
    margin-right: 16px;
}

.kyc-card-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.verified-icon {
    color: #10b981;
}

.pending-icon {
    color: #f59e0b;
}

.kyc-card-title h3 {
    margin: 0 0 4px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.kyc-card-status {
    margin: 0;
    font-size: 0.875rem;
}

.status-verified {
    color: #10b981;
    font-weight: 600;
}

.status-pending {
    color: #f59e0b;
    font-weight: 600;
}

.status-date {
    color: #6b7280;
    margin-left: 8px;
}

/* Card Content */
.kyc-card-content {
    padding: 0 20px 20px 20px;
    flex: 1; /* Allow content to expand and push actions to bottom */
}

.kyc-card-content p {
    margin: 0;
    color: #6b7280;
    line-height: 1.5;
}

/* Card Actions */
.kyc-card-actions {
    padding: 20px;
    border-top: 1px solid #f3f4f6;
    background-color: #f9fafb;
    min-height: 138px;
    margin-top: auto; /* Push actions to bottom of card */
}

.kyc-requirement-note {
    margin: 8px 0 0 0;
    font-size: 0.75rem;
    color: #ef4444;
    font-style: italic;
}

/* Buttons */
.kyc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    line-height: 1;
}

.kyc-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.kyc-btn-primary {
    background-color: #3b82f6;
    color: white;
}

.kyc-btn-primary:hover:not(:disabled) {
    background-color: #2563eb;
    transform: translateY(-1px);
}

.kyc-btn-secondary {
    background-color: #6b7280;
    color: white;
}

.kyc-btn-secondary:hover:not(:disabled) {
    background-color: #4b5563;
}

.kyc-btn-link {
    background: none;
    color: #3b82f6;
    padding: 8px 12px;
    text-decoration: underline;
}

.kyc-btn-link:hover:not(:disabled) {
    color: #2563eb;
    background-color: #f3f4f6;
}

/* Next Steps */
.kyc-next-steps {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.kyc-next-steps h2 {
    margin: 0 0 20px 0;
    color: #1f2937;
    font-size: 1.5rem;
}

.kyc-steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kyc-step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background-color: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #3b82f6;
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 4px 0;
    color: #1f2937;
    font-size: 1rem;
}

.step-content p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Completion Message */
.kyc-completion-message {
    text-align: center;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.completion-icon .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
}

.kyc-completion-message h2 {
    margin: 0 0 16px 0;
    font-size: 2rem;
}

.kyc-completion-message p {
    margin: 0 0 24px 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.completion-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Modal Styles */
.kyc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.kyc-modal {
    background: white;
    border-radius: 12px;
    /* Increased modal width for better readability of terms */
    max-width: 980px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.kyc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    margin: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.kyc-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #1f2937;
}

.kyc-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    color: #6b7280;
}

.kyc-modal-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.kyc-modal-content {
    padding: 24px;
    margin: 20px;
    color: #1f2937;
    line-height: 1.6;
}

/* SMS Verification Modal Specific Styles */
.kyc-modal-content .verification-step {
    color: #374151;
}

.kyc-modal-content .step-header h3 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 8px;
}

.kyc-modal-content .step-header p {
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Success message styling */
.kyc-modal-content .success-message {
    color: #059669 !important;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Form labels and inputs */
.kyc-modal-content label {
    color: #374151;
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
}

.kyc-modal-content .form-control {
    color: #1f2937;
    border: 2px solid #d1d5db;
    background-color: #ffffff;
}

.kyc-modal-content .form-control:focus {
    border-color: #3b82f6;
    color: #1f2937;
}

/* Button states */
.kyc-btn-success {
    background-color: #059669 !important;
    border-color: #059669 !important;
    color: white !important;
}

.kyc-btn-success:hover {
    background-color: #047857 !important;
    border-color: #047857 !important;
}

/* Verification step text improvements */
.kyc-modal-content .code-input-group label {
    color: #1f2937;
    font-weight: 600;
}

.kyc-modal-content .code-actions .kyc-btn-link {
    color: #3b82f6;
    font-weight: 500;
}

.kyc-modal-content .code-actions .kyc-btn-link:hover {
    color: #1d4ed8;
}

/* Success step styling */
.kyc-modal-content .success-content {
    text-align: center;
    padding: 20px;
}

.kyc-modal-content .success-content h3 {
    color: #059669;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.kyc-modal-content .success-icon {
    color: #059669;
    font-size: 3rem;
    margin-bottom: 16px;
}

/* Phone display styling */
.kyc-modal-content #display-phone-number {
    color: #1f2937;
    font-weight: 600;
    font-family: monospace;
}

/* Ensure all modal text has proper contrast */
.kyc-modal-content p,
.kyc-modal-content span,
.kyc-modal-content div {
    color: #374151;
}

.kyc-modal-content small {
    color: #6b7280;
}

/* Resend countdown styling */
.kyc-modal-content #resend-countdown {
    color: #ef4444;
    font-weight: 600;
}

/* Disabled button styling */
.kyc-modal-content .kyc-btn:disabled {
    background-color: #9ca3af;
    border-color: #9ca3af;
    color: #ffffff;
    cursor: not-allowed;
}

/* Input placeholder text */
.kyc-modal-content .form-control::placeholder {
    color: #9ca3af;
}

/* Step actions button spacing */
.kyc-modal-content .step-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.kyc-modal-content .code-actions {
    margin: 16px 0;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
}

/* ID Verification Modal Specific Styles */
.kyc-modal-content .id-verification-intro h3 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 12px;
}

.kyc-modal-content .verification-features {
    margin: 20px 0;
}

.kyc-modal-content .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.kyc-modal-content .feature-item .dashicons {
    color: #3b82f6;
    font-size: 20px;
    margin-top: 2px;
}

.kyc-modal-content .feature-content h4 {
    color: #1f2937;
    font-weight: 600;
    margin: 0 0 4px 0;
    font-size: 1rem;
}

.kyc-modal-content .feature-content p {
    color: #4b5563;
    margin: 0;
    font-size: 0.9rem;
}

.kyc-modal-content .verification-requirements h4,
.kyc-modal-content .verification-process h4 {
    color: #1f2937;
    font-weight: 600;
    margin: 24px 0 12px 0;
}

.kyc-modal-content .requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kyc-modal-content .requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    color: #374151;
}

.kyc-modal-content .requirements-list .dashicons {
    color: #059669;
    font-size: 16px;
    margin-top: 2px;
}

.kyc-modal-content .process-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kyc-modal-content .process-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.kyc-modal-content .step-number {
    background-color: #3b82f6;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}

.kyc-modal-content .step-content h5 {
    color: #1f2937;
    font-weight: 600;
    margin: 0 0 4px 0;
    font-size: 0.95rem;
}

.kyc-modal-content .step-content p {
    color: #4b5563;
    margin: 0;
    font-size: 0.9rem;
}

.kyc-modal-content .provider-logo {
    max-height: 40px;
    margin-bottom: 16px;
}

.kyc-modal-content .provider-text {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 16px;
}

.kyc-modal-footer {
    padding: 25px 30px;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
    border-radius: 0 0 12px 12px;
}

/* Terms Acceptance Section */
.terms-acceptance-section {
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

.kyc-terms-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
    color: #333 !important;
}

.kyc-terms-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #1baff7;
}

/* Ensure links in form labels are visible */
.kyc-terms-checkbox-label a,
.kyc-checkbox-label a,
.kyc-form-group a {
    color: #1baff7 !important;
    text-decoration: underline;
    font-weight: 600;
}

.kyc-terms-checkbox-label a:hover,
.kyc-checkbox-label a:hover,
.kyc-form-group a:hover {
    color: #f7931a !important;
    text-decoration: underline;
}

.kyc-terms-checkmark {
    display: none; /* We'll use the native checkbox for better accessibility */
}

.kyc-terms-text {
    flex: 1;
    user-select: none;
}

/* Button Styling Updates */
.kyc-btn-outline {
    background: white;
    color: #6b7280;
    border: 2px solid #d1d5db;
}

.kyc-btn-outline:hover {
    background: #f9fafb;
    color: #374151;
    border-color: #9ca3af;
}

/* Debug Info */
.kyc-debug-info {
    background: #f3f4f6;
    border-radius: 8px;
    padding: 20px;
    margin-top: 40px;
}

.kyc-debug-info h3 {
    margin: 0 0 16px 0;
    color: #374151;
}

.kyc-debug-info details {
    margin-top: 12px;
}

.kyc-debug-info pre {
    background: white;
    padding: 16px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bitcoiniacs-kyc-dashboard-container {
        padding: 16px;
    }
    
    .kyc-dashboard-title {
        font-size: 2rem;
    }
    
    .kyc-verification-cards {
        grid-template-columns: 1fr;
    }
    
    .progress-bar {
        width: 200px;
    }
    
    .kyc-progress-overview {
        flex-direction: column;
        gap: 16px;
    }
    
    .completion-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .kyc-modal {
        margin: 16px;
        max-height: calc(100vh - 32px);
    }

    .kyc-modal-wide {
        margin: 20px;
        max-height: calc(100vh - 40px);
        width: calc(100% - 40px);
    }

    /* Old login actions styles - removed for new design */
}

/* Old login prompt styles - removed for new design */

/* Old login prompt icon styles - removed for new design */

/* Authentication Forms */
.kyc-auth-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 0;
}

.kyc-auth-form-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e7eb;
    padding: 30px;
    margin-top: 20px;
}

.kyc-auth-form-wrapper h2 {
    color: #1f2937;
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 600;
}

.kyc-auth-form-wrapper > p {
    color: #6b7280;
    margin-bottom: 30px;
    font-size: 16px;
}

.kyc-auth-form {
    margin: 0;
}

.kyc-form-section {
    margin-top: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}

/* Override for registration form sections to ensure white background */
.kyc-registration-form .kyc-form-section {
    background: white !important;
    border: 2px solid #e5e7eb !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.kyc-form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.kyc-form-section h3 {
    color: #374151;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.kyc-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 0;
}

.kyc-form-group {
    margin-bottom: 20px;
}

.kyc-form-group-half {
    flex: 1;
}

.kyc-form-group-quarter {
    flex: 0 0 25%;
}

.kyc-form-group-three-quarter {
    flex: 0 0 75%;
}

.kyc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333 !important;
    font-size: 14px;
}

/* Ensure labels in registration form are dark and readable */
.kyc-registration-form label {
    color: #333 !important;
    font-weight: 600 !important;
}

/* Ensure all form text elements are visible */
.kyc-form-input::placeholder {
    color: #9ca3af;
    font-family: 'Courier New', Consolas, Monaco, monospace;
}

.kyc-form-input,
.kyc-form-select,
.kyc-form-textarea {
    color: #333 !important;
    font-family: 'Courier New', Consolas, Monaco, monospace !important;
}

/* Apply monospace font and compact sizing to all form controls */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
select {
    font-family: 'Courier New', Consolas, Monaco, monospace !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 6px 12px !important;
    line-height: 1.2 !important;
    font-size: 14px !important;
}

textarea {
    font-family: 'Courier New', Consolas, Monaco, monospace !important;
    min-height: 80px !important;
    padding: 8px 12px !important;
    line-height: 1.4 !important;
    font-size: 14px !important;
}

.kyc-form-input,
.kyc-form-select {
    width: 100%;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 6px 12px !important;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Courier New', Consolas, Monaco, monospace;
    color: #333;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
    line-height: 1.2 !important;
}

/* Textarea specific styling */
.kyc-form-textarea {
    width: 100%;
    min-height: 80px;
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Courier New', Consolas, Monaco, monospace;
    color: #333;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
    resize: vertical;
}

/* Focus states - maintain border visibility */
.kyc-form-input:focus,
.kyc-form-select:focus,
.kyc-form-textarea:focus {
    outline: none;
    border-color: #1baff7;
    box-shadow: 0 0 0 3px rgba(27, 175, 247, 0.1);
}

/* Ensure borders remain visible in all states */
.kyc-form-input:not(:focus),
.kyc-form-select:not(:focus),
.kyc-form-textarea:not(:focus) {
    border: 2px solid #e5e7eb;
}

/* Hover states */
.kyc-form-input:hover:not(:focus),
.kyc-form-select:hover:not(:focus),
.kyc-form-textarea:hover:not(:focus) {
    border-color: #d1d5db;
}

/* Specific overrides for login form and other forms */
.login-card input[type="text"],
.login-card input[type="email"],
.login-card input[type="password"],
.kyc-auth-form input[type="text"],
.kyc-auth-form input[type="email"],
.kyc-auth-form input[type="password"],
.kyc-registration-form input[type="text"],
.kyc-registration-form input[type="email"],
.kyc-registration-form input[type="tel"],
.kyc-registration-form input[type="password"],
.kyc-registration-form select {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 6px 12px !important;
    line-height: 1.2 !important;
    font-size: 14px !important;
    font-family: 'Courier New', Consolas, Monaco, monospace !important;
    box-sizing: border-box !important;
}

.kyc-form-help {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666 !important;
    font-style: italic;
}

/* Ensure all form text is visible */
.kyc-form-section h3 {
    color: #333 !important;
}

.kyc-form-section p {
    color: #555 !important;
}

/* Fix any remaining white text issues */
.kyc-auth-form-wrapper h2 {
    color: #333 !important;
}

.kyc-auth-form-wrapper p {
    color: #555 !important;
}

/* Fix link visibility in modal warning and notification areas */
.info-warning a,
.privacy-notice a,
.kyc-modal-content a,
.form-message.warning a {
    color: #1baff7 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

.info-warning a:hover,
.privacy-notice a:hover,
.kyc-modal-content a:hover,
.form-message.warning a:hover {
    color: #f7931a !important;
    text-decoration: underline !important;
}

/* Ensure warning message links are visible on yellow backgrounds */
.form-message.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.form-message.warning a {
    color: #1baff7 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

.form-message.warning a:hover {
    color: #f7931a !important;
}

.kyc-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.kyc-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0 !important;
    color: #333 !important;
}

.kyc-checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 2px;
}

.kyc-auth-messages {
    margin-top: 20px;
}

.kyc-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
}

.kyc-message-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.kyc-message-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.kyc-auth-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.kyc-auth-links p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.kyc-auth-links a {
    color: #1baff7;
    text-decoration: none;
    font-weight: 600;
}

.kyc-auth-links a:hover {
    text-decoration: underline;
}

/* Registration Form Specific Styles */
.kyc-registration-form {
    max-width: 800px;
}

.kyc-registration-form .kyc-form-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.kyc-registration-form .kyc-form-section h3 {
    margin-top: 0;
    color: #1f2937;
    background: linear-gradient(135deg, #1baff7 0%, #f59e0b 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Responsive Design for Auth Forms */
@media (max-width: 768px) {
    .kyc-form-row {
        flex-direction: column;
        gap: 0;
    }

    .kyc-form-group-half,
    .kyc-form-group-quarter,
    .kyc-form-group-three-quarter {
        flex: none;
        width: 100%;
    }

    .kyc-auth-form-wrapper {
        padding: 20px;
        margin: 10px;
    }

    .kyc-registration-form {
        max-width: none;
    }
}

/* Old login prompt styles - removed for new design */

/* Modal Improvements */
.kyc-modal-wide {
    /* Make wide modals larger on desktop while remaining responsive on mobile */
    max-width: 1024px;
    width: 95%;
}

.kyc-modal-content {
    font-weight: 500; /* Increase font weight for better readability */
    line-height: 1.6;
}

.terms-content {
    font-weight: 500;
    color: #2d3748; /* Darker color for better contrast */
}

/* Ensure all headings in the terms modal are high contrast and not placed on a light background */
.terms-content h3,
.terms-content h4 {
    font-weight: 700;
    color: #0f1724; /* very dark for highest contrast */
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Make strong/emphasized text inherit dark color and remain readable */
.terms-content p,
.terms-content li {
    font-weight: 500;
    color: #111827;
    line-height: 1.75;
}

/* Specifically style emphasized inline headings/strong text to avoid white-on-white */
.terms-content p strong,
.terms-content p b {
    color: #0b1220;
    font-weight: 700;
}

/* Highlight block for the payment/fraud notices to improve legibility */
.terms-section.terms-highlight {
    background: #ffffff;
    border: 1px solid #e6edf3;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(15, 23, 36, 0.04);
}

/* Accepted banner styling - ensure contrast against modal background */
.terms-accepted-banner {
    background: linear-gradient(90deg, rgba(59,130,246,0.06), rgba(6,182,212,0.03));
    border: 1px solid rgba(59,130,246,0.12);
    color: #0b1220;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-weight: 600;
}

/* ========================================
   NEW LOGIN PAGE REDESIGN STYLES
   ======================================== */

/* Main Content Layout - PROFESSIONAL STYLING */
.kyc-login-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Login Form Section - CLEAN PROFESSIONAL DESIGN */
.kyc-login-form-section {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.kyc-login-form-section:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.kyc-login-form-container {
    padding: 0;
}

.kyc-login-form-container .kyc-auth-container {
    margin: 0;
    background: transparent;
}

.kyc-login-form-container .kyc-auth-form-wrapper {
    margin: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    padding: 40px;
}

/* Registration Prompt Section - PROFESSIONAL DESIGN */
.kyc-registration-prompt-section {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.kyc-registration-prompt-section:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.kyc-registration-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.registration-prompt-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1baff7 0%, #f7931a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.registration-prompt-icon .dashicons {
    font-size: 32px;
    color: white;
}

.kyc-registration-prompt h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    letter-spacing: -0.025em;
}

.kyc-registration-prompt p {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
    max-width: 280px;
}

.kyc-btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Registration Form Container */
#kyc-registration-form-container {
    grid-column: 1 / -1;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e7eb;
    margin-top: 20px;
}

#kyc-registration-form-container .kyc-auth-container {
    margin: 0;
}

#kyc-registration-form-container .kyc-auth-form-wrapper {
    margin: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

/* Informational Content Section */
.kyc-info-section {
    margin-top: 80px;
    padding: 60px 40px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.kyc-info-content h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 30px;
}

.kyc-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.kyc-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-weight: 500;
    color: #374151;
}

.kyc-feature-item .dashicons {
    color: #10b981;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Responsive Design for New Login Page */
@media (max-width: 768px) {
    .bitcoiniacs-kyc-dashboard-container {
        padding: 0;
    }

    .kyc-login-main-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .kyc-login-form-container .kyc-auth-form-wrapper {
        padding: 30px 25px;
    }

    .kyc-registration-prompt-section {
        padding: 40px 25px;
    }

    .kyc-info-section {
        margin-top: 60px;
        padding: 40px 25px;
    }

    .kyc-features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .registration-prompt-icon {
        width: 60px;
        height: 60px;
    }

    .registration-prompt-icon .dashicons {
        font-size: 24px;
    }

    .kyc-dashboard-header.kyc-login-header {
        padding: 40px 20px;
    }

    .kyc-dashboard-title {
        font-size: 2.2rem;
    }

    .kyc-dashboard-subtitle {
        font-size: 1.1rem;
    }
}

/* ========================================
   MODERN LANDING PAGE STYLES
   ======================================== */

/* Base Container */
.identity-verification-landing {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* HERO SECTION - Reduced Height */
.hero-section {
    background: linear-gradient(135deg, #1baff7 0%, #f7931a 100%);
    padding: 50px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-content {
    /* max-width: 800px; */
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-icon {
    margin-bottom: 20px;
}

.hero-icon .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* MODERN BUTTON STYLES */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: linear-gradient(135deg, #1baff7 0%, #f7931a 100%);
    color: white;
    border: none;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 175, 247, 0.3);
    color: white;
    text-decoration: none;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

.btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* BENEFITS SECTION - Reduced Height */
.benefits-section {
    padding: 40px 20px;
    background: white;
}

.benefits-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.benefits-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #2d3748;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.benefit-card {
    background: white;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #1baff7 0%, #f7931a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: white;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2d3748;
}

.benefit-card p {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* REGISTRATION EMPHASIS SECTION */
.registration-emphasis {
    padding: 80px 20px;
    background: linear-gradient(135deg, #06baff 0%, #9aac38 100%);
    text-align: center;
    color: white;
}

.registration-content {
    max-width: 800px;
    margin: 0 auto;
}

.registration-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.registration-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* LOGIN SECTION (De-emphasized) */
.login-section {
    padding: 60px 20px;
    background: #f7fafc;
}

.login-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #4a5568;
}

.login-form-container {
    text-align: left;
}

/* Modal styles removed - using standalone pages now */

/* RESPONSIVE DESIGN FOR LANDING PAGE */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-icon .dashicons {
        font-size: 50px;
        width: 50px;
        height: 50px;
    }

    .benefits-section {
        padding: 30px 20px;
    }

    .benefits-title {
        font-size: 1.8rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .benefit-card {
        padding: 30px 20px;
    }

    .registration-emphasis {
        padding: 60px 20px;
    }

    .registration-title {
        font-size: 2.2rem;
    }

    .registration-subtitle {
        font-size: 1.1rem;
    }

    .login-section {
        padding: 40px 20px;
    }

    .login-card {
        padding: 30px 20px;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 1.1rem;
    }

    .registration-modal-content {
        margin: 10px;
        max-height: 95vh;
    }

    .registration-modal-header {
        padding: 20px 25px 15px;
    }

    .registration-modal-header h2 {
        font-size: 1.5rem;
    }

    .registration-modal-body {
        padding: 15px 25px 30px;
    }
}

/* ========================================
   STANDALONE REGISTRATION PAGE STYLES
   ======================================== */

.identity-verification-registration {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* Registration Header */
.registration-header {
    background: linear-gradient(135deg, #1baff7 0%, #f7931a 100%);
    padding: 60px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.registration-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.registration-header-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.registration-icon {
    margin-bottom: 20px;
}

.registration-icon .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.registration-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.registration-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Registration Form Section */
.registration-form-section {
    padding: 60px 20px;
    background: white;
}

.registration-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.registration-form-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

/* Back to Login Section */
.back-to-login-section {
    padding: 40px 20px;
    background: #f7fafc;
    text-align: center;
}

.back-to-login-content p {
    color: #4a5568;
    font-size: 1rem;
}

.back-to-login-link {
    color: #1baff7;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.back-to-login-link:hover {
    color: #f7931a;
    text-decoration: underline;
}

/* ========================================
   PROFILE EDIT PAGE STYLES
   ======================================== */

.identity-verification-profile {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* Profile Header */
.profile-header {
    background: linear-gradient(135deg, #1baff7 0%, #f7931a 100%);
    padding: 60px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.profile-header-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.profile-icon {
    margin-bottom: 20px;
}

.profile-icon .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.profile-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Profile Form Section */
.profile-form-section {
    padding: 60px 20px;
    background: white;
}

.profile-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.profile-form-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

/* Back to Dashboard Section */
.back-to-dashboard-section {
    padding: 40px 20px;
    background: #f7fafc;
    text-align: center;
}

.back-to-dashboard-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1baff7;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    padding: 12px 24px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.back-to-dashboard-link:hover {
    color: #f7931a;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========================================
   DASHBOARD HEADER ACTIONS
   ======================================== */

.dashboard-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-title-section {
    flex: 1;
}

.dashboard-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.dashboard-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dashboard-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

.dashboard-action-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.profile-btn:hover {
    background: rgba(27, 175, 247, 0.2);
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* ========================================
   RESPONSIVE DESIGN FOR NEW PAGES
   ======================================== */

@media (max-width: 768px) {
    /* Registration Page Mobile */
    .registration-header {
        padding: 40px 20px;
    }

    .registration-title {
        font-size: 2rem;
    }

    .registration-form-section {
        padding: 40px 20px;
    }

    .registration-form-card {
        padding: 30px 20px;
    }

    /* Profile Page Mobile */
    .profile-header {
        padding: 40px 20px;
    }

    .profile-title {
        font-size: 2rem;
    }

    .profile-form-section {
        padding: 40px 20px;
    }

    .profile-form-card {
        padding: 30px 20px;
    }

    /* Dashboard Actions Mobile */
    .dashboard-header-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .dashboard-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .dashboard-action-btn {
        justify-content: center;
        padding: 15px 20px;
        font-size: 1rem;
    }
}
