/* EOS Worldwide Inspired Login 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;
}

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

.form-subtitle {
    color: var(--eos-text-light);
    margin-bottom: 30px;
    font-size: 1rem;
}

/* 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);
}

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

.toggle-password {
    position: absolute;
    right: 2px;
    border: none;
    background: transparent;
    color: var(--eos-text-light);
    z-index: 10;
    padding: 0 12px;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 8px 8px 0;
}

.toggle-password:hover {
    color: var(--eos-orange);
}

/* Checkbox */
.form-check-input {
    width: 1.2em;
    height: 1.2em;
    border: 2px solid var(--eos-border);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--eos-orange);
    border-color: var(--eos-orange);
}

.form-check-label {
    color: var(--eos-text-dark);
    font-size: 0.9rem;
    cursor: pointer;
}

/* Links */
.forgot-link {
    color: var(--eos-orange);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: var(--eos-dark-blue);
    text-decoration: underline;
}

/* Login 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);
}

.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);
}

/* Signup Text */
.signup-text {
    color: var(--eos-text-light);
    font-size: 0.9rem;
    margin: 0;
}

.signup-link {
    color: var(--eos-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup-link:hover {
    color: var(--eos-dark-blue);
    text-decoration: underline;
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--eos-border);
}

.divider span {
    position: relative;
    background-color: var(--eos-white);
    padding: 0 15px;
    color: var(--eos-text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Social Login Buttons */
.social-login {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-social {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--eos-border);
    border-radius: 10px;
    background-color: var(--eos-white);
    color: var(--eos-text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-social:hover {
    border-color: var(--eos-orange);
    background-color: var(--eos-light-gray);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-google i {
    color: #DB4437;
}

.btn-microsoft i {
    color: #00A4EF;
}

/* 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;
    }
    
    .social-login {
        flex-direction: column;
    }
    
    .btn-social {
        width: 100%;
    }
}

@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;
    }
    
    .btn-login {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Forgot Password Specific Styles */
.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);
}

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

.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;
}

.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 {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--eos-border);
}

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

.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.5;
}

/* Alert styles */
.alert {
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    border: none;
}

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

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

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

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

/* Input focus animation */
.form-control {
    position: relative;
}

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

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

