li {
    list-style-type: none;
    padding: 0px;
}

.font {
    color: rgba(93, 93, 93, 0.8);
}

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

ul {
    padding: 0px;
    margin: 0px;
}

.overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
}

.transparent_overlay {
    background-color: black;
    opacity: 0.4;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.container {
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -40%);
    z-index: 20;
    background-color: white;

    border-radius: 8px;
    border: 1px solid gainsboro;

    display: flex;
    flex-direction: column;
    justify-content: start;
}

.container-sm {
    height: 350px;
    width: 500px;
    padding: 16px;
}

.container-md {
    height: 420px;
    width: 560px;
    padding: 24px;
}

.container-lg {
    height: 480px;
    width: 650px;
    padding: 32px;
}

input {
    appearance: none;
    padding-block: 4px;
    padding-left: 4px;
    border: 0px;
    border-bottom: 1px solid gainsboro;
    padding-right: 64px;
    height: 32px;
    font-size: 24px;
}

input:focus {
    outline: none;
}

button {
    appearance: none;
}

.stack {
    display: flex;
    flex-direction: column;
}

.sm-gap {
    gap: 4px;
}

.row {
    display: flex;
    flex-direction: row;
}

.tab_button {
    min-width: 64px;
    padding-block: 4px;

    border: 1px solid gainsboro;
    border-radius: 4px;
    background-color: white;
}

.tab_active {
    background-color: gainsboro;
    border: 1px solid gray;
}

.item {
    border: 1px solid gainsboro;
    border-radius: 4px;

    padding: 4px;
}

.sm-gap {
    gap: 8px;
}

.md-gap {
    gap: 16px;
}

.lg-gap {
    gap: 24px;
}

.mb-sm {
    margin-bottom: 8px;
}

.mb-md {
    margin-bottom: 16px;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}


.w-max {
    width: max-content;
}

kbd {
    border-radius: 4px;
    padding-block: 2px;
    padding-inline: 4px;
    border: 0.5px solid rgba(128, 128, 128, 0.4);
    background-color: rgba(0, 0, 0, 0.07);
    font-size: 12pt;
}

.search {
    display: flex;
    flex-direction: row;
    gap: 4px;
    justify-content: center;
    position: relative;
}

.search-kbd {
    width: max-content;
    display: flex;
    position: absolute;
    right: 0px;
    flex-direction: row;
    height: min-content;
    gap: 4px;
}

.item-group {
    height: 100%;
    overflow-y: scroll;

    scroll-snap-type: y mandatory;
    scroll-snap-stop: always;
}

.item-group > li {
    scroll-snap-align: start;
}

.spinner-container {
    position: relative;
}

.spinner {
    position: absolute;
    top: 40%;
    left: 50%;
    animation: spin 0.8s ease-out infinite;
    border-bottom: 6px solid rgba(0, 0, 0, 0.6);
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    width: 48px;
    height: 48px;
    z-index: 2;
}

.spinner-base {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -40%);
    border: 6px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    z-index: 1;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -40%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -40%) rotate(360deg);
    }
}