:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.login-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    overflow: hidden;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-image {
    flex: 1;
    background: url('assets/images/a.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.login-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.7);
    z-index: -1;
}

.login-image img {
    width: 480px;
    margin-bottom: 20px;
}

.login-image h2 {
    color: white;
    font-weight: 600;
    margin-bottom: 10px;
}

.login-image p {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-size: 14px;
}

.login-form {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    margin-bottom: 40px;
    text-align: center;
}

.login-header h1 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.login-header p {
    color: #7f8c8d;
    font-size: 14px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    background-color: #f9f9f9;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
    background-color: white;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 38px;
    color: #7f8c8d;
    font-size: 16px;
}

.btn-login {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
}

.btn-login:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(41, 128, 185, 0.3);
}

.login-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
}

.login-footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.login-footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.floating-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
}

.bg-1 {
    top: -100px;
    left: -100px;
}

.bg-2 {
    bottom: -100px;
    right: -100px;
    background: rgba(231, 76, 60, 0.1);
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-image {
        padding: 30px;
    }
    
    .login-form {
        padding: 40px 30px;
    }
    
    .login-image img {
        width: 120px;
    }
}