/* ==================================================================================================== */
/* STATES
/* ==================================================================================================== */
.disabled {
    cursor: not-allowed;
}

.hidden {
    display: none;
}

.clickable {
    cursor: pointer;
    pointer-events: auto;
}

.not-clickable {
    cursor: default;
    pointer-events: none;
}

/* ==================================================================================================== */
/* FLEX
/* ==================================================================================================== */
.flex {
    display: flex;
}

.flex.vertical {
    flex-direction: column;
}

.flex.center {
    justify-content: center;
    align-items: center;
}

.flex.sb {
    justify-content: space-between;
}

.flex.se {
    justify-content: space-evenly;
}

.flex.sa {
    justify-content: space-around;
}

.flex.wrap {
    flex-wrap: wrap;
}

/* ==================================================================================================== */
/* DECORATORS
/* ==================================================================================================== */
.uppercase {
    text-transform: uppercase;
}

.small {
    font-size: 0.7em;
    line-height: 0.7;
}

.border-regular {
    background-color: var(--color-bg);
    border: solid 2px currentColor;
    border-radius: 0.5em;
    color: var(--color-main);
}

.border-round {
    background-color: var(--color-bg);
    border: solid 2px currentColor;
    border-radius: 1.5em;
    color: var(--color-main);
}

.solid {
    background-color: var(--color-main);
    border: none;
    color: var(--color-bg);
}

.bold {
    font-weight: bold;
    border-width: 4px;
}

/* ==================================================================================================== */
/* BUTTONS
/* ==================================================================================================== */
button {
    border-radius: 0.5em;
    padding: 0.5em 1.5em;
    cursor: pointer;
}

button:hover {
    filter: contrast(0.5);
}

button:active {
    filter: contrast(0.8);
}

/* ==================================================================================================== */
/* INPUT
/* ==================================================================================================== */
input {
    background: none;
    color: var(--color-main);
    border: solid 2px currentColor;
    border-radius: 0.5em;
    outline: none;
    padding: 0.25em 0.75em;
    line-height: inherit;
    width: 300px;
}

.search {
    display: inline-block;
    color: var(--color-main);
    border: solid 2px currentColor;
    border-radius: 0.5em;
    padding: 0.25em 0.5em;
    text-wrap: nowrap;
}

.search>input {
    border: none;
    padding: 0;
}

.search::before {
    content: "\f002";
    font-family: "FontAwesome";
    line-height: inherit;
}

.search:has(>input:focus) {
    border-color: var(--color-accent);
}

/* ==================================================================================================== */
/* TRANSITION
/* ==================================================================================================== */
.ease.color {
    transition: color 0.2s ease-in-out;
}