body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

/* Override theme toggle icons to match the background color #070349 */
.theme-toggle svg.theme-icon-when-auto,
.theme-toggle svg.theme-icon-when-dark,
.theme-toggle svg.theme-icon-when-light {
    fill: #ffffff;
    color: #ffffff;
}

/* Ensure header background color */
header {
    background-color: #070349;
    color: white;
    padding: 1em;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    /* Space between for logo and burger */
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hide the navigation for mobile initially */
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-right: 1em;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

/* Burger menu */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px;
}

/* Burger menu - for mobile */
@media screen and (max-width: 768px) {
    nav ul {
        display: none;
        /* Hide the menu by default */
        flex-direction: column;
        background-color: #070349;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
    }

    nav ul li {
        margin: 1em 0;
    }

    nav ul.show {
        display: flex;
    }

    .burger {
        display: flex;
        /* Show the burger icon */
    }
}

/* Footer styling */
footer {
    background-color: #070349;
    color: white;
    text-align: center;
    padding: 1em;
    font-size: 1em;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
}

.footer-blocks {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .footer-blocks {
        flex-direction: column;
        text-align: center;
        padding: 5px;
    }

    /* Email and version on the same line */
    .footer-email-version {
        display: flex;
        justify-content: center;
        gap: 1em;
        /* Adds space between email and version */
    }

    .footer-column {
        margin-bottom: 5px;
    }
}

.auth-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5em;
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.auth-links a {
    color: white;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.greeting {
    display: flex;
    align-items: center;
    gap: 0.5em;
    color: white;
}

main {
    padding: 1em;
    padding-bottom: 100px;
}

input:disabled {
    cursor: default;
    background-color: #efefef;
    color: #545454;
}

.dark-mode input:disabled {
    background-color: rgba(59, 59, 59, 0.3);
    color: rgb(170, 170, 170);
}

.button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: #45a049;
}