/* utility */
.flex {
    display: flex;
}

.flex_col {
    flex-direction: column;
}

.flex_rev_col {
    flex-direction: column-reverse;
}

.flex_row {
    flex-direction: row !important;
}

.flex_rev_row {
    flex-direction: row-reverse;
}

.flex_wrap {
    flex-wrap: wrap;
}

.justify_center {
    justify-content: center;
}

.justify_between {
    justify-content: space-between;
}

.justify_right {
    justify-content: right;
}

.justify_start {
    justify-content: flex-start !important;
}

.items_center {
    align-items: center;
}

.gap_1 {
    gap: var(--pad-1);
}

.gap_2 {
    gap: var(--pad-2);
}

.gap_4 {
    gap: var(--pad-4);
}

.gap_8 {
    gap: 1.25rem;
}

.mobile {
    display: none !important;
}

@media screen and (max-width: 650px) {
    .desktop {
        display: none !important;
    }

    .mobile {
        display: flex !important;
    }
}

@media screen and (max-width: 900px) {
    .flex_collapse {
        flex-direction: column !important;
    }

    .sm\:static {
        position: static !important;
    }

    .mobile.flex {
        display: flex !important;
    }

    .sm\:w_full {
        width: 100% !important;
        min-width: 100% !important;
    }

    .sm\:w_content {
        width: max-content !important;
        min-width: max-content !important;
    }

    .sm\:mt-2 {
        margin-top: 2rem !important;
    }

    .sm\:items_start {
        align-items: flex-start !important;
    }

    .sm\:contents {
        display: contents !important;
    }
}

.shadow {
    box-shadow: 0 0 8px var(--color-shadow);
}

.shadow-md {
    box-shadow: 0 8px 16px var(--color-shadow);
}

.round_sm {
    border-radius: calc(var(--radius) / 2) !important;
}

.round {
    border-radius: var(--radius) !important;
}

.round_md {
    border-radius: calc(var(--radius) * 2) !important;
}

.round_lg {
    border-radius: calc(var(--radius) * 4) !important;
}

.w_full {
    width: 100% !important;
}

.w_content {
    width: max-content !important;
}

.bold {
    font-weight: 600;
}

[disabled="fully"] {
    opacity: 75%;
    pointer-events: visible;
    cursor: not-allowed;
    user-select: none;
}

.fade,
.CodeMirror-placeholder {
    opacity: 75%;
    transition: opacity 0.15s;
}

.ff-inherit {
    font-family: inherit;
}

.fs-md {
    font-size: 12px;
}

[align="center"],
.text_center {
    text-align: center;
}

[align="right"],
.text_right {
    text-align: right;
}

.red {
    color: var(--color-red) !important;
}

.green {
    color: var(--color-green) !important;
}

.yellow {
    color: var(--color-yellow) !important;
}

.purple {
    color: var(--color-purple) !important;
}

.hidden {
    display: none !important;
}

align {
    width: 100%;
    display: block;
}

align.center {
    text-align: center;
}

align.right {
    text-align: right;
}

/* lhs, rhs */
.rhs {
    width: calc(100% - 23rem) !important;
}

@media screen and (max-width: 900px) {
    .rhs {
        width: 100% !important;
    }
}

/* turbo */
.turbo-progress-bar {
    background: var(--color-primary);
}
