h1 {
    font-size: 22px;
    margin-bottom: 16px;
}

h2 {
    font-size: 18px;
    margin-bottom: 16px;
}

p ~ p {
    margin-top: 12px;
}

.ui_button {
    height: 46px;
    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    font-family: 'Bungee', serif;
    line-height: 1.1;
    font-size: 22px;
    text-decoration: none;

    background-color: #006666;
    color: white;
    cursor: pointer;

    border: 0;
}

.ui_button.disabled {
    cursor: not-allowed;
    background-color: #999999;
}

.ui_button:hover:not(.disabled) {
    background-color: #008888;
    text-shadow: 2px 2px #003333;
}

.errors {
    margin: 16px 0 16px 0;
    padding: 16px;
    background-color: red;
    color: white;
    border-radius: 8px;
}

.errors li {
    margin-top: 16px;
}

form {
    margin-top: 16px;
}

form label {
    display: block;
}

form input {
    margin: 4px 0 16px 0;
    border: 1px solid #aaaaaa;
    padding: 8px;
    font-size: 16px;
    width: 492px;
}

form button {
    border: none;
}

form .ui_button {
    padding: 0 16px 0 16px;
}

.lobby_content, .admin_content {
    display: flex;
    gap: 16px;
    margin: 16px;
    width: 1400px;
}

.lobby_coaches, .admin_coaches {
    flex: 1 1 0px;
}

.lobby_games, .admin_games {
    width: 780px;
}

.lobby_content table, .admin_content table {
    margin-top: 16px;
    width: 100%;
    border-collapse: collapse;
}

.lobby_content table tr, .admin_content table tr {
    background-color: #fff;
}

.lobby_content table tr:nth-child(even), .admin_content table tr:nth-child(even) {
    background-color: #ccc;
}

.lobby_content table th, .admin_content table th {
    padding: 12px 8px 12px 8px;
    vertical-align: middle;
    text-align: left;
    background-color: #666;
    border: 1px solid #333;
    color: white;
}

.lobby_content table td, .admin_content table td {
    height: 36px;
    padding: 8px;
    border: 1px solid #666;
    vertical-align: middle;
    word-break: break-word;
}

.lobby_content table .ui_button {
    height: 36px;
    padding: 0 12px 0 12px;
    display: inline;
    margin-right: 8px;
}

.lobby_coaches table th {
    width: 50%;
}

.lobby_games table,
.admin_coaches table {
    table-layout: auto;
}

td .caption {
    font-size: 12px;
    color: #666;
}

.admin_content form {
    margin-top: 0;
}

#game_download tr th {
    vertical-align: top;
    background-color: #666;
}

#game_download tr:nth-child(even) th {
    background-color: #555;
}

.show_all_container {
    margin-top: 12px;
    margin-bottom: 12px;
}

.show_all_container button {
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* This is last so that it overrides any other instructions */
.hidden {
    display: none;
}
