/* Styles for identity validation view */
body { 
    font-family: Arial, sans-serif; 
}

/* Title and headings */
.auth-form-light .identity-title { 
    font-size: 1.25rem; 
    line-height: 1.3; 
    letter-spacing: 0.15px; 
    font-weight: 600; 
    margin-bottom: 0.5rem; 
}

.auth-form-light h6 { 
    font-size: 1rem; 
    line-height: 1.5; 
    letter-spacing: 0.1px; 
    color: #333; 
    font-weight: 400; 
    margin-bottom: 1.25rem; 
}

/* Form groups */
.form-group { 
    margin-bottom: 1.25rem; 
}

.form-group label { 
    font-weight: 600; 
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: block;
    color: #333;
}

/* Input and select controls */
.auth-form-light .form-control { 
    font-size: 1rem; 
    padding: .75rem .75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.auth-form-light .form-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Select dropdown specific styling */
.auth-form-light select.form-control {
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

/* Button styling */
.auth-form-light .auth-form-btn { 
    font-size: 1.05rem; 
    padding: .75rem;
    background-color: #1e2761;
    border-color: #1e2761;
    color: #fff;
    font-weight: 600;
}

.auth-form-light .auth-form-btn:hover {
    background-color: #151d4a;
    border-color: #151d4a;
}

/* Error messages */
.auth-form-light .text-danger { 
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.identity-error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 0.25rem;
    padding: 0.75rem 1rem;
    color: #721c24;
}

.identity-error-message ul {
    margin: 0;
    padding-left: 1.5rem;
}

/* Links */
.form-links { 
    margin-top: 1rem; 
}

.form-links a { 
    color: #6c757d; 
    text-decoration: none; 
}

.form-links a:hover { 
    text-decoration: underline; 
    color: #495057;
}

.auth-form-light .link-back {
    color: #6c757d;
}

/* Date input specific styling */
input[type="date"].form-control {
    position: relative;
}

input[type="date"].form-control::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

input[type="date"].form-control::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Data Mismatch View Styles */
.data-mismatch-container {
    text-align: center;
}

.alert-icon {
    margin: 1rem 0 1.5rem;
    display: flex;
    justify-content: center;
}

.data-mismatch-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #dc3545;
    margin-bottom: 1.5rem;
}

.data-mismatch-message {
    text-align: left;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    border-left: 4px solid #dc3545;
}

.data-mismatch-message .main-message {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.mismatch-list {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.mismatch-list li {
    font-size: 0.95rem;
    color: #dc3545;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-message {
    font-size: 0.95rem;
    color: #495057;
    margin-top: 1rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.btn-outline-secondary {
    color: #6c757d;
    border: 2px solid #6c757d;
    background-color: transparent;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.contact-info {
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

/* OTP Input Styles */
.otp-input {
    font-size: 2rem !important;
    font-weight: 600;
    letter-spacing: 0.5rem;
    text-align: center !important;
    font-family: 'Courier New', Courier, monospace;
}

.otp-input:focus {
    border-color: #1e2761;
    box-shadow: 0 0 0 0.2rem rgba(30, 39, 97, 0.25);
}

.otp-input::placeholder {
    letter-spacing: 0.3rem;
    font-weight: 400;
    color: #adb5bd;
}

/* Resend Link Styles */
.link-resend {
    color: #1e2761;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.link-resend:hover {
    text-decoration: underline;
    color: #151d4a;
}

.link-resend.disabled {
    color: #999;
    cursor: not-allowed;
    text-decoration: none;
}

/* Rejection View Styles */
.rejection-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rejection-icon i {
    font-size: 40px;
    color: white;
}

.rejection-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    color: #721c24;
}

.rejection-message h5 {
    color: #721c24;
    font-weight: 600;
    margin-bottom: 10px;
}

.rejection-message p {
    margin-bottom: 0;
    line-height: 1.6;
}

.app-id-info {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

/* Alert Messages for OTP Resend */
.alert {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-dismissible {
    padding-right: 3rem;
}

.alert-dismissible .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 1.25rem 1rem;
}

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.5;
    cursor: pointer;
}

.btn-close:hover {
    color: #000;
    text-decoration: none;
    opacity: 0.75;
}

.fade {
    transition: opacity 0.15s linear;
}

.fade:not(.show) {
    opacity: 0;
}

.show {
    display: block;
}



.contact-info p {
    margin-bottom: 0.25rem;
}

.contact-info .text-muted {
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .auth-form-light {
        padding: 2rem 1.5rem !important;
    }
    
    .auth-form-light .identity-title {
        font-size: 1.15rem;
    }
    
    .auth-form-light h6 {
        font-size: 0.95rem;
    }

    .data-mismatch-title {
        font-size: 1.25rem;
    }

    .alert-icon svg {
        width: 48px;
        height: 48px;
    }
}

