:root {
    --color-1: #667eea;
    --color-2: #764ba2;
    --color-3: #f093fb;
    --color-4: #4facfe;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.login-container {
    height: 100vh;
    overflow: hidden;
}

.form-section {
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    height: 100vh;
}

.gradient-section {
    background: var(--color-1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.gradient-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, var(--color-2) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, var(--color-3) 0%, transparent 35%),
        radial-gradient(circle at 40% 70%, var(--color-4) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, var(--color-2) 0%, transparent 30%),
        radial-gradient(circle at 10% 90%, var(--color-3) 0%, transparent 35%);
    filter: blur(60px);
    opacity: 0.8;
}

.logo {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.gradient-text {
    text-align: center;
    max-width: 400px;
    position: relative;
    z-index: 1;
}

.gradient-text h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.gradient-text p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.login-form {
    width: 100%;
    max-width: 400px;
}

.login-form h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.login-form .subtitle {
    color: #6c757d;
    margin-bottom: 2rem;
}

.form-control {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
}

.form-control:focus {
    border-color: var(--color-1);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-1) 0%, var(--color-2) 100%);
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, var(--color-1) 0%, var(--color-2) 100%);
}

.forgot-password {
    color: var(--color-1);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .login-container {
        height: auto;
        overflow: visible;
    }

    .form-section,
    .gradient-section {
        height: auto;
        min-height: auto;
    }

    .gradient-section {
        min-height: 300px;
    }

    .logo {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .gradient-text h2 {
        font-size: 1.5rem;
    }

    .gradient-text p {
        font-size: 1rem;
    }
}
