body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', sans-serif;
}

.login-container {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    width: 1000px;
    height: 600px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    animation: container-appear 0.7s ease;
}

.image-section {
    flex: 1;
    position: relative;
    overflow: hidden;
}

    .image-section img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .image-section:hover img {
        transform: scale(1.05);
    }

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102,126,234,0.6), rgba(118,75,162,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    padding: 20px;
    text-align: center;
}

.form-section {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-title {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.form-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-control {
    border: none;
    border-bottom: 2px solid #ddd;
    padding: 15px 15px 15px 45px;
    width: 100%;
    font-size: 16px;
    transition: all 0.3s ease;
    background: transparent;
}

    .form-control:focus {
        border-color: #667eea;
        box-shadow: none;
        outline: none;
    }

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
}

.btn-login {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102,126,234,0.4);
    }

.forgot-password {
    text-align: right;
    margin-top: 15px;
}

    .forgot-password a {
        color: #667eea;
        text-decoration: none;
        font-size: 14px;
    }

.register-link {
    text-align: center;
    margin-top: 30px;
    color: #666;
}

    .register-link a {
        color: #667eea;
        text-decoration: none;
        font-weight: 600;
    }

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 2;
}

@keyframes container-appear {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        height: auto;
        width: 90%;
        margin: 20px;
    }

    .image-section {
        height: 200px;
    }
}
