/* Forgot Password Page Styles */

.forgot-password-page {
    font-family: 'Outfit', sans-serif;
    background: #f5f6fa;
}

.forgot-password-container {
    min-height: 100vh;
}

/* Left Panel - Branding */
.left-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 50px;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.05) 2px, rgba(255,255,255,0.05) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.05) 2px, rgba(255,255,255,0.05) 4px);
    background-size: 60px 60px;
    pointer-events: none;
}

.panel-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.logo-section .logo {
    max-width: 200px;
    height: auto;
}

.welcome-text h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

.welcome-text p {
    font-size: 16px;
    line-height: 1.6;
}

.benefits-list {
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    color: white;
    margin-bottom: 25px;
    font-size: 16px;
}

.benefit-icon {
    font-size: 24px;
    margin-right: 15px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.panel-footer {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Right Panel - Form */
.right-panel {
    background: #f5f6fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 500px;
}

/* Lock Icon */
.lock-icon-wrapper {
    display: flex;
    justify-content: center;
}

.lock-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.lock-icon i {
    font-size: 40px;
    color: white;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(102, 126, 234, 0);
    }
}

/* Form Header */
.form-header h3 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
}

.form-header p {
    font-size: 14px;
    margin-bottom: 0;
}

/* Form Elements */
.form-label {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
}

.input-group-text {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group-text i {
    font-size: 18px;
    color: #6c757d;
}

.form-control {
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.input-group .form-control:focus + .input-group-text,
.input-group .form-control:focus ~ .input-group-text {
    border-color: #667eea;
}

.form-text {
    font-size: 12px;
    margin-top: 5px;
}

/* Submit Button */
#submitBtn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

#submitBtn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

#submitBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Back to Sign In Link */
.btn-link {
    color: #667eea;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: #764ba2;
}

.btn-link i {
    font-size: 16px;
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #dee2e6;
}

.divider span {
    position: relative;
    background: white;
    padding: 0 15px;
    color: #6c757d;
    font-size: 13px;
}

/* Help Section */
.help-section {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.help-tips {
    text-align: left;
    display: inline-block;
}

.help-tip {
    display: flex;
    align-items: center;
    color: #6c757d;
}

.help-tip i {
    font-size: 16px;
}

.help-tip small {
    font-size: 13px;
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
}

.alert i {
    font-size: 18px;
}

/* Invalid Feedback */
.invalid-feedback {
    font-size: 12px;
    margin-top: 5px;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

/* Mobile Styles */
@media (max-width: 991px) {
    .forgot-password-page {
        background: #ffffff !important;
    }

    .forgot-password-container {
        background: #ffffff !important;
    }

    .main-container {
        background: #ffffff !important;
    }

    .right-panel {
        background: #ffffff !important;
        padding: 20px 15px;
    }

    .form-wrapper {
        box-shadow: none;
        padding: 30px 25px;
        padding-top: 70px;
        position: relative;
    }

    /* Mobile Logo */
    .form-wrapper::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 25px;
        width: 150px;
        height: 50px;
        background-image: url('../images/logo/1.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: left center;
    }

    .form-header h3 {
        font-size: 24px;
    }

    .lock-icon {
        width: 70px;
        height: 70px;
    }

    .lock-icon i {
        font-size: 35px;
    }
}

@media (max-width: 576px) {
    .form-wrapper {
        padding: 25px 20px;
        padding-top: 70px;
    }

    .form-wrapper::before {
        left: 20px;
    }

    .form-header h3 {
        font-size: 22px;
    }

    .welcome-text h1 {
        font-size: 32px;
    }

    .left-panel {
        padding: 40px 30px;
    }

    .lock-icon {
        width: 60px;
        height: 60px;
    }

    .lock-icon i {
        font-size: 30px;
    }

    .help-section {
        padding: 15px;
    }

    .btn-outline-secondary {
        font-size: 13px;
        padding: 6px 12px;
    }
}
