
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html {
    font-family: "Courier New", Courier, monospace;
}

th {
    text-align: left;
    padding-right: 24px;
}

td {
    padding-right: 24px;
}

td.user-active {
    font-size: 0.7em;
    text-align: center;
}

h1 {
    margin-bottom: 24px;
}

header {
    margin-bottom: 16px;
}

main {
    margin-inline: 24px;
}

nav {
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background-color: white;
    border-bottom: 1px solid black;
    padding: 12px;
    align-items: center;
}

label:not(:first-of-type) {
    margin-left: 12px;
}

input:not([type="checkbox"], [type="button"], [type="radio"]) {
    width: 100%;
}

input[type="checkbox"] {
    margin-right: 4px;
}

button, input[type="button"] {
    border: 1px solid black;
    padding: 8px;
    background-color: white;
    cursor: pointer;
}

input[value="Delete user"] {
    background-color: red;
    color: white;
    margin-top: 12px;
}

input[value="Deactivate user"] {
    background-color: darkorange;
    color: white;
    margin-top: 12px;
    margin-right: 8px;
}

input[value="Reactivate user"] {
    background-color: green;
    color: white;
    margin-top: 12px;
    margin-right: 8px;
}

section {
    margin-bottom: 12px;
}

select[multiple] {
    width: 200px;
}

form[name="login"] {
    display: flex;
    flex-direction: column;
    width: 350px;
    gap: 16px;
    margin: auto;
    margin-top: 12px;

    p {
        color: red;
        text-align: center;
    }
}

.exclude-ctt-checkbox {
    border-left: 2px solid black;
    padding-left: 12px;
}