/* Forgot Password / Verify OTP / Reset Password Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-secondary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-image: url('/images/Backgrounds/Splash_Back_Drop.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
}

.modal-container {
    width: 100%;
    max-width: 460px;
}

.modal-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.header-icon {
    width: 64px;
    height: 64px;
    background: rgba(23, 32, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.header-icon svg {
    color: var(--accent-elite, #172044);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    line-height: 1.5;
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-elite);
    box-shadow: 0 0 0 3px rgba(23, 32, 68, 0.1);
}

/* OTP Input */
.otp-input {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 8px;
    padding: 16px;
}

.btn-submit {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--accent-elite);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.btn-submit:hover {
    background: rgb(33, 45, 95);
    transform: translateY(-1px);
}

.btn-submit:active {
    transform: translateY(0);
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--text-primary);
}

.info-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    margin-bottom: 24px;
}

.info-notice svg {
    flex-shrink: 0;
    color: #3b82f6;
    margin-top: 2px;
}

.info-notice-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.validation-summary-errors ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.field-validation-error {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 6px;
    display: block;
}

.input-validation-error {
    border-color: #dc3545 !important;
}

.password-hint {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 8px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.password-hint ul {
    margin: 8px 0 0 16px;
    padding: 0;
}

.password-hint li {
    margin-bottom: 4px;
}

@media (max-width: 480px) {
    .modal-card {
        padding: 24px;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .otp-input {
        font-size: 1.25rem;
        letter-spacing: 6px;
    }
}
