:root {
    --accent-color: rgb(10, 89, 235);
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background-color: rgb(14, 14, 14);
    color: rgb(200, 200, 200);
    font-family: "Helvetica";
    display: flex;
    flex-direction: column;
    justify-content: center;
}

ul#menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin-left: 1rem;
    padding: 0rem;
}

#menu li {
    display: flex;
    padding: .8rem;
    padding-left: 1.2rem;
    border-left: 1px solid var(--accent-color);
    transition: 240ms color;
    cursor: pointer;
    transition: all 120ms;
}

footer {
    display: flex;
    justify-content: center;
    color: rgb(40, 40, 40);
}

#menu li:hover {
    filter: brightness(110%);
}

#menu li:active {
    filter: brightness(80%);
}

#menu li.current {
    text-decoration: underline;
    color: rgb(10, 170, 255);
}

div#content-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
    margin: 1rem;
}

div#content {
    display: flex;
    background-color: rgb(26, 26, 26);
    border-radius: 8px;
    min-width: 60%;
    max-width: 60%;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 0.2rem;

    #banner {
        display: flex;
        background-color: rgb(26, 26, 26);
        font-weight: bold;
        font-size: 26px;
        padding: 1rem;
    }

    #inner-content {
        padding: 1rem;
        padding-bottom: 0.2rem;
    }
}

li.htmx-swapping {
    opacity: 0;
    transition: opacity 125ms ease-out;
}

ul#status-messages {
    list-style: none;
    padding: 0;
    border-radius: 5px;
    overflow: hidden;

    li {
        display: flex;
        justify-content:space-between;
        align-items: center;
        padding: 0.4rem;
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    } 

    li:nth-child(even) {
        background-color: rgb(50, 50, 50);
    }
    
    li:nth-child(odd) {
        background-color: rgb(40, 40, 40);
    }
}

button {
    background-color: var(--accent-color);
    border: none;
    border-radius: 5px;
    color: rgb(240, 240, 240);
    padding: 0.4rem;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}

button:hover {
    filter: brightness(110%);
}

button:active {
    filter: brightness(80%);
}

form {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding-right: 0.6rem;

    button {
        margin-right: 0.8rem;
    }
}

input[type="text"] {
    background-color: rgb(60, 60, 60);
    border: 1px solid rgb(80, 80, 80);
    border-radius: 8px;
    padding: 0.6rem;
    color: white;
    outline: none;
    flex-grow: 1;
    display: flex;
    margin-right: 1rem;
}

input[type="text"]:focus {
    border: 1px solid var(--accent-color);
}
