:root {
    --primary: #4880FF;
    --primary-light: #568AFF;
    --text-light: #FFFFFF;
    --text-dark: #2D3748;
    --bg-light: #F7FAFC;
    --bg-dark: #1A202C;
    --shadow-light: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-dark: 0 10px 15px -3px rgba(0, 0, 0, 0.25), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.light-mode {
    background-color: var(--primary);
    color: var(--text-light);
}

body.dark-mode {
    background-color: #2D3748;
    color: var(--text-light);
}

.oval {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.oval-1 {
    width: 60vw;
    height: 60vw;
    background-color: var(--primary-light);
    top: -15vw;
    right: -15vw;
    opacity: 0.8;
}

.oval-2 {
    width: 40vw;
    height: 40vw;
    background-color: var(--primary-light);
    bottom: -10vw;
    left: -10vw;
    opacity: 0.6;
}

.login-container {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 420px;
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.light-mode .login-container {
    background-color: var(--bg-light);
    box-shadow: var(--shadow-light);
    color: var(--text-dark);
}

.dark-mode .login-container {
    background-color: var(--bg-dark);
    box-shadow: var(--shadow-dark);
    color: var(--text-light);
}

/* .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.logo img {
    height: 40px;
} */



h1 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.light-mode input {
    background-color: #EDF2F7;
    color: var(--text-dark);
    border: 1px solid #E2E8F0;
}

.dark-mode input {
    background-color: #2D3748;
    color: var(--text-light);
    border: 1px solid #4A5568;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(72, 128, 255, 0.2);
}

.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #718096;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me input {
    width: auto;
    margin-right: 0.5rem;
}

.login-button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

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

.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: white;
}

@media (max-width: 480px) {
    .login-container {
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .oval-1 {
        width: 45vw;
        height: 45vw;
    }

    .oval-2 {
        width: 30vw;
        height: 30vw;
    }
}