* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-text);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: var(--text-color);
    padding: 20px;
}

.login-container {
    display: flex;
    width: 100%;
    max-width: 900px;
    height: auto;
    min-height: 550px;
    box-shadow: var(--shadow);
    border-radius: 16px;
    background-color: var(--white);
    overflow: hidden;
    transition: var(--transition);
}

.login-container:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.left-side {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.left-side::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    animation: wave 15s linear infinite;
    opacity: 0.3;
}

@keyframes wave {
    0% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(-25%) translateY(-15%);
    }

    100% {
        transform: translateX(0) translateY(0);
    }
}

.left-content {
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.left-side h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--white);

}

.left-side p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    color: var(--white);

}

.right-side {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card {
    border: none;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-box);
    background-color: var(--white);
}

.card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-align: center;
}

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

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

.input-group {
    position: relative;
}

.input-group .form-control {
    padding-left: 45px;
    border-radius: 8px;
    height: 50px;
    border: 1px solid #d1d5db;
    transition: var(--transition);
}

.input-group .form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    z-index: 5;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    width: 100%;
    margin-top: 10px;
    transition: var(--transition);
    height: 50px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(124, 58, 237, 0.3);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 14px;
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.form-footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.terms {
    text-align: center;
    margin-top: 25px;
    font-size: 12px;
    color: #6b7280;
}

.terms a {
    color: var(--primary-color);
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        max-width: 100%;
    }

    .left-side {
        padding: 30px 20px;
        min-height: 200px;
    }

    .left-side h2 {
        font-size: 1.5rem;
    }

    .left-side p {
        font-size: 1rem;
    }

    .right-side {
        padding: 30px 20px;
    }

    .card {
        padding: 20px;
    }
}