/* EOS Worldwide Inspired Forgot Password Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--eos-light-gray) 0%, var(--eos-medium-gray) 100%);
    color: var(--eos-text-dark);
    min-height: 100vh;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: var(--eos-white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(13, 40, 64, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(13, 40, 64, 0.2);
}

/* Left Brand Section */
.login-brand-section {
    background: linear-gradient(135deg, var(--eos-dark-blue) 0%, var(--eos-navy) 100%);
    color: var(--eos-white);
    padding: 50px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-brand-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-10px, 10px) scale(1.1); }
}

.brand-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.brand-logo {
    margin-bottom: 30px;
}

.brand-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.brand-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 0;
}

.brand-tagline {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
}

.brand-features {
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
    opacity: 0.9;
}

.feature-item i {
    color: var(--eos-orange);
    margin-right: 12px;
    font-size: 1.2rem;
}

/* Right Form Section */
.login-form-section {
    padding: 50px 40px;
}

.form-content {
    max-width: 400px;
    margin: 0 auto;
}

/* Forgot Password Icon */
.forgot-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--eos-orange) 0%, var(--eos-orange-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
    }
}

.forgot-icon i {
    font-size: 2rem;
    color: var(--eos-white);
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--eos-navy);
    margin-bottom: 10px;
    text-align: center;
}

.form-subtitle {
    color: var(--eos-text-light);
    margin-bottom: 30px;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.6;
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    border: none;
    display: flex;
    align-items: center;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--eos-success);
    border-left: 4px solid var(--eos-success);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--eos-danger);
    border-left: 4px solid var(--eos-danger);
}

.alert i {
    flex-shrink: 0;
}

/* Form Controls */
.form-label {
    font-weight: 600;
    color: var(--eos-text-dark);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: stretch;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--eos-text-light);
    z-index: 10;
    pointer-events: none;
}

.form-control {
    padding: 12px 15px 12px 45px;
    border: 2px solid var(--eos-border);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--eos-white);
    width: 100%;
}

.form-control:focus {
    border-color: var(--eos-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: #B0BEC5;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.form-control:focus::placeholder {
    opacity: 0.6;
}

/* Submit Button */
.btn-login {
    padding: 14px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--eos-orange) 0%, var(--eos-orange-light) 100%);
    color: var(--eos-white);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--eos-orange-light) 0%, var(--eos-orange) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
    color: var(--eos-white);
}

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

/* Back to Login Link */
.back-to-login {
    color: var(--eos-text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    gap: 8px;
}

.back-to-login:hover {
    color: var(--eos-orange);
}

.back-to-login i {
    transition: transform 0.3s ease;
}

.back-to-login:hover i {
    transform: translateX(-3px);
}

/* Help Section */
.help-section {
    margin-top: 35px;
    padding-top: 35px;
    border-top: 1px solid var(--eos-border);
}

.help-box {
    display: flex;
    gap: 15px;
    padding: 18px;
    background-color: var(--eos-light-gray);
    border-radius: 10px;
    border-left: 4px solid var(--eos-orange);
    transition: all 0.3s ease;
}

.help-box:hover {
    background-color: var(--eos-medium-gray);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.help-box > i {
    color: var(--eos-orange);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.help-box strong {
    display: block;
    color: var(--eos-navy);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.help-box p {
    margin: 0;
    color: var(--eos-text-light);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Footer */
.footer-text {
    color: var(--eos-text-light);
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-brand-section {
        display: none;
    }
    
    .login-form-section {
        padding: 40px 30px;
    }
    
    .form-title {
        font-size: 1.75rem;
    }
    
    .forgot-icon {
        width: 70px;
        height: 70px;
    }
    
    .forgot-icon i {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .login-wrapper {
        padding: 10px;
    }
    
    .login-card {
        border-radius: 15px;
    }
    
    .login-form-section {
        padding: 30px 20px;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .form-subtitle {
        font-size: 0.9rem;
    }
    
    .btn-login {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .forgot-icon {
        width: 60px;
        height: 60px;
    }
    
    .forgot-icon i {
        font-size: 1.5rem;
    }
}

/* Page Load Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus states with better accessibility */
.form-control:focus,
.btn-login:focus,
.back-to-login:focus {
    outline: 2px solid var(--eos-orange);
    outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
a, button, input, .alert {
    transition: all 0.3s ease;
}

