body {
    background-color: #000080; /* Naval blue. RECART theme color. */
    color: #D0D0D0; /* Don't set texts to extremes #000000 and #FFFFFF to avoid over-contrast, which is painful to human eyes. */
    font-family: Helvetica, Arial, sans-serif;
    margin: 0;
}

.button {
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    width: 100%;
    margin: 5px 2px;
    background-color: #D0D0D0;
    color: #0000A0;
    transition-duration: 0.2s;
    box-shadow: 0 5px #666688;
}

.button:hover {
    background-color: #EEEEEE;
    color: #0000B0;
    cursor: pointer;
}

.button:active {
    background-color: #C0C0C0;
    color: #0000A0;
    transform: translateY(2px);
    box-shadow: 0 3px #555566;
}

.button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.table {
    width: 150px;
}

#header {
    display: flex;
    padding-top: 15px;
    padding-bottom: 10px;
    border-bottom: #D0D0D0 solid 1px;
    position: fixed;
    width: 100%;
    z-index: 1;
    background-color: #000060;
    max-height: 75px;
}

main {
    padding-top: 120px;
    padding-bottom: 30px;
}

#footer {
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: #D0D0D0 solid 1px;
    line-height: 2.0;
}

main, #header, #footer {
    padding-left: 10%;
    padding-right: 10%;
}

#img-coa, #img-logo {
    vertical-align: middle;
    margin-right: 10px;
    height: 64px;
}

#title {
    display: flex;
    align-items: center;
}

.link {
    color: #C0C0FF;
}

.link:hover {
    color: #e8e8ff;
}

#theme-toggle {
    display: flex;
    align-items: center;
}

#theme-toggle-button {
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    width: 160px;
    margin: 5px 2px;
    background-color: #D0D0D0;
    color: #0000A0;
    transition-duration: 0.2s;
    box-shadow: 0 5px #888888;
}

#theme-toggle-button:hover {
    background-color: #EEEEEE;
    color: #0000B0;
    cursor: pointer;
}

#theme-toggle-button:active {
    background-color: #C0C0C0;
    color: #0000A0;
    transform: translateY(2px);
    box-shadow: 0 3px #666666;
}

.light-theme {
    background-color: #E0E0E0;
    color: #121267;

    .button {
        box-shadow: 0 5px #888888;
    }

    .button:active {
        box-shadow: 0 3px #666666;
    }
    #header {
        background-color: #F0F0F0;
    }

    .link {
        color: #0000C0;
    }

    .link:hover {
        color: #0000FF;
    }
}