/* Login Section */
.login-section {
    display: flex;
    min-height: calc(100vh - 80px);
    align-items: center;
    padding: 60px 0;
}

.login-container {
    display: flex;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--primary-background-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.login-image {
    flex: 1;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('https://images.unsplash.com/photo-1611068813580-b07ef920964b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    color: var(--primary-text-color);
}

.login-image h2 {
    font-family: var(--font-family, 'Roboto', sans-serif);
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-brand-color);
}

.login-image p {
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 400px;
}

.login-form {
    flex: 1;
    padding: 60px;
}

.login-form h2 {
    font-family: var(--font-family, 'Roboto', sans-serif);
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--primary-title-color);
}

.login-form p {
    color: var(--primary-title-color);
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-text-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-brand-color);
}

.password-field {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--primary-title-color);
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input {
    accent-color: var(--primary-brand-color);
}

.forgot-password {
    color: var(--primary-brand-color);
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    width: 100%;
    padding: 14px;
    background-color: var(--primary-button-background-color);
    color: var(--primary-button-text-color);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-button-hover-background-color);
    color: var(--primary-button-hover-text-color);
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: var(--primary-brand-color);
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--primary-brand-color);
}

.divider::before {
    margin-right: 15px;
}

.divider::after {
    margin-left: 15px;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.google-btn {
    background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
    position: relative;
    overflow: hidden;
}

.google-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.google-btn:hover {
    background: linear-gradient(135deg, #357AE8 0%, #2E8B47 100%);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
    transform: translateY(-2px);
}

.google-btn:hover::before {
    left: 100%;
}

.google-btn #googleSignIn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.google-btn #googleSignIn i {
    font-size: 18px;
    background: #fff;
    color: #4285F4;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    padding: 4px;
}

.google-btn #googleSignIn span {
    font-weight: 600;
    letter-spacing: 0.3px;
}

.facebook-btn {
    background-color: #3b5998;
    color: white;
    border: 1px solid #3b5998;
}

.facebook-btn:hover {
    background-color: #344e86;
}

.facebook-btn i{
    font-size: 22px;
}

.signup-link {
    text-align: center;
    margin-top: 20px;
    color: var(--primary-title-color);
}

.signup-link a {
    color: var(--primary-brand-color);
    text-decoration: none;
    font-weight: 500;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .login-image {
        display: none;
    }

    .login-form {
        padding: 40px 30px;
    }

    .social-login {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .login-form {
        padding: 30px 20px;
    }

    .login-form h2 {
        font-size: 28px;
    }
}
