:root {
    --theme-primary: #ff8c4f;        /* navbar background */
    --theme-on-primary: #ffffff;      /* text on primary backgrounds */
    --theme-accent: #ff3636;         /* logo accent */
    --theme-surface: #ffffff;        /* card background */
    --theme-border: rgba(0, 0, 0, 0.15);
    --theme-text: #333333;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* Keep the login box a manageable height and allow scrolling if needed */
    min-height: 50vh;
    max-height: 80vh;
    overflow-y: auto;

    background-color: var(--theme-surface);

    /* Use responsive sizing so the container scales on smaller screens */
    width: 90%;
    max-width: 420px;

    /* Center on the page */
    margin: 20px auto;

    /* Add internal padding so form fields don’t touch the edges */
    padding: 2rem 1.5rem;

    border-radius: 10px;
    border: 1px solid var(--theme-border);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.login-container h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--theme-primary);
}

.login-container form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;

}

.login-container input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-size: 16px;
}

.login-container input:focus {
    outline: 2px solid var(--theme-primary);
    outline-offset: 2px;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .login-container {
        padding: 1.5rem 1rem;
        border-radius: 0;
    }

    .login-container h2 {
        font-size: 28px;
    }
}
