.login-section {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.login-image-section {
    display: none;
}

.login-content-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

@media (min-width: 1024px) {
    .login-image-section {
        display: block;
        width: 50%;
        background-image: url('../images/construction-site.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        overflow: hidden;
    }

    .login-image-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.2)
        );
        backdrop-filter: blur(0px);
    }

    .login-image-section .image-content {
        position: absolute;
        bottom: 3rem;
        left: 3rem;
        color: white;
        z-index: 2;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .login-image-section h1 {
        font-size: 2.8rem;
        font-weight: 700;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .login-image-section p {
        font-size: 1.2rem;
        opacity: 0.9;
    }

    .login-content-section {
        width: 50%;
    }

    .login-container {
        margin-left: -100px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
    }
}

.login-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #4299e1, #667eea);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    filter: blur(70px);
    opacity: 0.3;
    z-index: 0;
}

.login-section::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, #68d391, #4299e1);
    border-radius: 50%;
    bottom: -80px;
    right: -80px;
    filter: blur(70px);
    opacity: 0.3;
    z-index: 0;
}

.login-container {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 480px;
    padding: 2.5rem;
    animation: container-appear 0.6s ease-out;
}

@keyframes container-appear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header h2 {
    background: linear-gradient(45deg, #2d3748, #4299e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #718096;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-weight: 500;
}

.input-group {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.input-group:focus-within {
    border-color: #4299e1;
    box-shadow: 
        0 0 0 3px rgba(66, 153, 225, 0.15),
        0 4px 6px rgba(66, 153, 225, 0.1);
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
}

.input-group input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: none;
    border-radius: 8px;
    outline: none;
    font-size: 1rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
}

.forgot-password {
    color: #4299e1;
    text-decoration: none;
    font-weight: 500;
}

.login-btn {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(45deg, #4299e1, #667eea);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.2);
}

.login-btn:hover {
    background: linear-gradient(45deg, #3182ce, #5a67d8);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(66, 153, 225, 0.3);
}

.social-login {
    margin-top: 2rem;
    text-align: center;
}

.social-login p {
    color: #718096;
    margin-bottom: 1rem;
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #e2e8f0;
}

.social-login p::before {
    left: 0;
}

.social-login p::after {
    right: 0;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-buttons button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 10px;
    background: white;
    color: #4a5568;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.social-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-buttons .google-btn:hover {
    background: #f8fafc;
    border-color: #de5246;
    color: #de5246;
}

.social-buttons .facebook-btn:hover {
    background: #f8fafc;
    border-color: #3b5998;
    color: #3b5998;
}

.signup-link {
    text-align: center;
    color: #718096;
}

.signup-link a {
    color: #4299e1;
    text-decoration: none;
    font-weight: 500;
}

.signup-link a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .login-container {
        padding: 2rem;
        margin: 1rem;
    }
}
