body {
    background-color: var(--background-color);
    color: var(--text-color);
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body > div {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin: 0 auto;
}

h1 {
    font-size: var(--font-size-h1);
    /* margin-bottom: 20px; */
}

body > div > label {
    display: block;
    margin-bottom: 10px;
    font-size: var(--font-size-big);
}

body > div input {
    padding: 10px;
    font-size: var(--font-size);
    border: 1px solid #ccc;
    border-radius: 4px;
    /* margin-bottom: 10px; */
    width: 100%;
    box-sizing: border-box;
}

#username {
    margin-bottom: 10px;
}

body > div > input[type="submit"] {
    background-color: #e90000; /* for a green background */
    color: white; /* white text */
    padding: 14px 20px;
    margin: 18px 0 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

body > div > input[type="submit"]:hover {
    background-color: #c00000; /* a darker green when hovered */
}

/* static/css/login.css */
.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container input {
    flex: 1;
}

.toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
}

.wrong-password {
    color: red;
    font-size: var(--font-size);
    margin-top: 3px;
}

:root {
    --background-color: #f5f5f5;
    --text-color: #222222;
}

[data-theme="dark"] {
    --background-color: #282828;
    --text-color: #e8eaed;
}

:root {
    --font-size: 16px;
    --font-size-big: 18px;
    --font-size-h1: 32px;
    --font-size-h2: 24px;
}

[data-theme-font="fontBig"] {
    --font-size: 20px;
    --font-size-big: 22px;
    --font-size-h1: 34px;
    --font-size-h2: 26px;
}

[data-theme-font="fontHuge"] {
    --font-size: 24px;
    --font-size-big: 26px;
    --font-size-h1: 36px;
    --font-size-h2: 28px;
}

/* @media (prefers-color-scheme: dark) {
    body {
        background-color: #282828 !important;
        color: #e8eaed !important;
    }
} */
