html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.login-container {
    display: flex;
    height: 100vh;
    background-color: #f8f9fa;
    align-items: stretch;
    overflow: hidden;
}

.login-form {
    flex: 1;
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    width: 35%;
    min-width: 400px;
    max-width: 480px;
    overflow-y: auto;
}

.logo {
    text-align: center;
    margin-bottom: 2rem;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

h2 {
    margin-bottom: 2rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-control {
    height: 50px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 0 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    outline: none;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: #6c757d;
}

.remember-me input[type="checkbox"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

.btn-login {
    height: 50px;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #ddd;
}

.divider::before { left: 0; }
.divider::after { right: 0; }

.divider span {
    background: white;
    padding: 0 10px;
    color: #666;
}

.btn-google {
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-google img {
    height: 24px;
}

.signup-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #6c757d;
}

.signup-link a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup-link a:hover {
    color: #45a049;
}

.slider-container {
    flex: 1;
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.slide-content {
    position: absolute;
    bottom: 120px;
    left: 50px;
    right: 50px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    text-align: center;
}

.slide-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.slide-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.dot.active {
    background: white;
}

.prev,
.next {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.alert {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

.alert-danger {
    background-color: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
}

.text-danger {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

@media (max-width: 1400px) {
    .login-form {
        width: 40%;
        min-width: 380px;
        padding: 2rem 3rem;
    }
    
    .slider-container {
        width: 60%;
    }
}

@media (max-width: 992px) {
    html, body {
        overflow: auto;
    }

    .login-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .login-form {
        width: 100%;
        min-width: auto;
        max-width: none;
        padding: 2rem;
        margin: 0 auto;
        box-shadow: none;
    }
    
    .slider-container {
        width: 100%;
        height: 400px;
    }
}

@media (max-width: 576px) {
    .login-form {
        padding: 1.5rem;
    }
    
    .slider-container {
        height: 300px;
    }
    
    .slide-content h3 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
} 