
:root {
    --main-bg-color: #f0f0f0;
    --main-text-color: #333;
    --hover-bg-color: #d0d0d0;
    --team-separator-bg-color: #aaa;
    font: 'Roboto', sans-serif;
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
}
.top-setting-div {
    display: flex;
    justify-content: flex-end;
    padding: 4px;
}
table {
    width: 95vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-collapse: collapse;
    border: 1px solid var(--main-text-color);
    margin-left: auto;
    margin-right: auto;
}
td {
    text-align: center;
    font-size: 2rem;
}
table, td {
    border: 1px solid var(--main-text-color);
}
.team-separator {
    background-color: var(--team-separator-bg-color);
}

.modal {
    /* min-width: 400px;
    width: 40vw; */
    width: clamp(300px, 80vw, 800px);
}
.modal::backdrop {
    background: rgb(0 0 0 / 0.4);
}
.modal-title-div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 16px;
}
#all-team-input-div {
    gap: 10px;
}
.close-button {
    margin-right: 10px;
}
.setting-row {
    padding-top: 4px;
    padding-bottom: 4px;
}
.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
select {
    padding: 4px;
    font-size: 1rem;
}
#team-list {
    margin: 10px;
    border: 1px solid var(--main-text-color);
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(2, 50%);
    /* margin: 10px;
    overflow-y: auto;
    border: 1px solid var(--main-text-color);
    border-radius: 8px; */
}
.team-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #ccc;
    transition: 0.2s ease-in-out;
}
.team-list-item:nth-child(odd) {
    border-right: 1px solid var(--main-text-color);
}
.team-list-item:hover {
    background-color: var(--hover-bg-color);
}
button {
    padding: 4px 10px;
    border: black 1px solid;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}
button:hover {
    background-color: #007bff;
    color: white;
}
.version-info {
    color: #888;
}
@media (prefers-color-scheme: dark) {
    :root {
        --main-bg-color: #444;
        --main-text-color: #f0f0f0;
        --hover-bg-color: #555;
        --team-separator-bg-color: #548fd3;
    }
}