* {
    /* font-family: 'Inter', sans-serif; */
    font-family: "Geologica", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "slnt" 0,
        "CRSV" 0,
        "SHRP" 0;
}

html {
    font-size: 14px;
}

html, body {
    margin: 0;
}
body {
    min-height: 100dvh;
    
    margin: 0;
    padding: 0;
}

.mono {
    /* font-family: "Chivo Mono", monospace; */
    font-family: "Lekton", monospace;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
}
.mono.semibold,
.mono.bold {
    /* font-family: "Chivo Mono", monospace; */
    font-family: "Lekton", monospace;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 700 !important;
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 200,
        'GRAD' 0,
        'opsz' 24
}
.material-symbols-outlined.filled {
    font-variation-settings:
        'FILL' 1,
        'wght' 200,
        'GRAD' 0,
        'opsz' 24
}

button, input, select {
    /* font-family: 'Inter', sans-serif; */
    font-family: "Geologica", sans-serif;
    font-size: 12px;
}
.btn.rounded {
    border-radius: 18px !important;
}

input[type=date] {
    -webkit-appearance: none;
    -moz-appearance: none;
}

.container-big {
    width: 90% !important;    
}

.mobile-container {
    position: relative;
    margin: 0 auto;
    max-width: 480px;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    background: white;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.nom { margin: 0; }
.nop { padding: 0; }
.nopl { padding-left: 0; }
.nopr { padding-right: 0; }
.row { width: 100%; }

.p-lr-8px {
    padding-left: 8px;
    padding-right: 8px;
}
.p-lr-10px {
    padding-left: 10px;
    padding-right: 10px;
}
.p-l-8px { padding-left: 8px; }
.p-r-8px { padding-right: 8px; }
.p-10px { padding: 10px; }
.p-20px { padding: 20px; }

hr { border: 1px solid #ededed; }

.h-auto-container {
    display: flex;
    flex-direction: column;
}
.h-auto-container .row { width: 100%; }
.h-auto { flex: 1 1 auto; }
.h-0 { height: 0; }
.h-1px { height: 1px; }
.h-32px { height: 32px; }
.h-60px { height: 60px; }
.h-85px { height: 85px; }
.h-100dvh { height: 100dvh; }
.h-100 { height: 100%; }
.w-100 { width: 100%; }
.w-80 { width: 80%; }
.w-24px { width: 24px; }
.w-40px { width: 40px; }
.w-60px { width: 60px; }
.w-80px { width: 80px; }
.w-100px { width: 100px; }
.w-150px { width: 150px; }
.w-200px { width: 200px; }
.w-300px { width: 300px; }
.w-fit { width: fit-content; }

.m-b-halfrow { margin-bottom: 10px; }
.m-b-4px { margin-bottom: 4px; }
.m-b-20px { margin-bottom: 20px; }
.m-auto { margin: auto; }

.square { aspect-ratio: 1/1; }
.square-300px {
    width: 300px;
    height: 300px;
}
.border-radius {
    border-radius: 8px;
}

.nowrap {
    white-space: nowrap;
}
.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.block { display: block; }
.inline { display: inline-block;; }
.hidden { display: none; }
.relative { position: relative; }

.f-larger { font-size: 1.1rem; }
.f-19px { font-size: 19px; }
.f-8px { font-size: 8px; }
.f-10px { font-size: 10px; }
.f-12px { font-size: 12px; }
.f-14px { font-size: 14px; }
.f-16px { font-size: 16px; }
.f-18px { font-size: 18px; }
.f-smaller { font-size: .8rem; }
.bold { font-weight: 900; }
.semibold { font-weight: 700; }
.weight-normal { font-weight: 400; }
.thin { font-weight: thin; }
.thin-1 { font-weight: 200; }
.lowercase { text-transform: lowercase; }
i.icon-large { font-size: 42px; }

.clickable { cursor: pointer; }

.card {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 10px;
    border-radius: 8px;
    background-color: white;
    margin: 0;
}

button, a.btn, a.btn-small, a.btn-flat {
    box-shadow: none !important;
    text-transform: none !important;
    border-radius: 4px !important;
}

button.h-btn-small, 
a.h-btn-small,
button.btn-small,
a.btn-small {
    height: 32px;
    line-height: 32px;
}

.v-scroll {
    overflow-y: auto;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
    background-color: var(--swal-confirm-color);
}

[type="radio"]:checked+span:after, [type="radio"].with-gap:checked+span:after {
    background-color: var(--swal-confirm-color) !important;
}
[type="radio"]:checked+span:after, [type="radio"].with-gap:checked+span:before, [type="radio"].with-gap:checked+span:after {
    border: 2px solid var(--swal-confirm-color) !important;
}
input.browser-default {
    height: 32px;
    line-height: 32px;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    padding: 4px 12px;
}
input[type=file].browser-default {
    height: auto !important;
    line-height: auto !important;
    border: none !important;
    border-radius: 4px;
    padding: 4px 0px;
}
input[type=file].browser-default::file-selector-button {    
    /* display: flex;
    align-items: center;
    justify-content: center; */
    height: 32px !important;
    line-height: 32px !important;
    font-size: 12px;
    margin-right: 12px;
    background-color: var(--swal-confirm-color);
    border: none !important;
    padding: 0 12px !important;
    border-radius: 4px;
    color: var(--btn-text-color);
}

.switch label input[type=checkbox]:checked+.lever:after {
    background-color: var(--switch-checked-after) !important;
}
.switch label input[type=checkbox]:checked+.lever {
    background-color: #6985D2 !important;
}
[type="checkbox"].filled-in:checked+span:not(.lever):after {
    background-color: var(--switch-checked-after);
    border: 2px solid var(--switch-checked-after);
}
[type="checkbox"].filled-in:not(:checked)+span:not(.lever):after {
    border: 1px solid #9F9F9F;
}
[type="checkbox"]+span:not(.lever) {
    color: black;
    /* line-height: normal;
    height: auto; */
}

input.browser-default:focus {
    outline: unset;
}
input.browser-default:not(.input-file):read-only {
    background: var(--input-readonly-bg);
    color: var(--input-readonly-color);
}
select.browser-default {
    height: 32px;
    line-height: 32px;
    border: 1px solid var(--input-browserdefault-border);
    border-radius: 4px;
    padding: 4px 12px;
}
textarea.browser-default {
    border: 1px solid var(--input-browserdefault-border);
    border-radius: 4px;
    padding: 4px 12px;
    width: 100%;
    /* height: 150px; */
    resize: none;
    line-height: normal;
}
textarea.browser-default:read-only {
    background: var(--input-readonly-bg);
    color: var(--input-readonly-color);
}
textarea.browser-default:focus {
    outline: none;
}
select.browser-default:focus {
    outline: none;
}

i.showpassword {
    top: 4px;
    right: 18px;
    position: absolute;
    cursor: pointer;
}
input[type="password"].showpassword {
    padding-right: 42px;
}
.input-with-icon {
    padding-left: 42px !important;
}

i.input-icon-left {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--input-icon-color);
    font-size: 18px;
}

i.search {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}
input[type="search"].search {
    padding-right: 42px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}

.uploadprogress .progress {
    background-color: var(--progress-bg) !important;
}

.uploadprogress .progress .determinate,
.uploadprogress .progress .indeterminate:before,
.uploadprogress .progress .indeterminate:after {
    background-color: var(--progress-bar-bg) !important;
}

.noselect {
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: -moz-none; /* Old versions of Firefox */
    -o-user-select: none; /* Opera */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera, and Firefox */
}
.noshadow {
    box-shadow: none !important;
}

table td, table th {
    border-radius: 0;
}

table.all-border-white th,
table.all-border-white td {
    border: 1px solid #ffffff;
}
table.all-border th,
table.all-border td {
    border: 1px solid #dedede;
}
table.no-border tr,
table.no-border th,
table.no-border td {
    border: 0;
}

table.compact th,
table.compact td {
    padding: 2px 4px;
}

.modal {
    border-radius: 4px;
}
.modal .modal-content {
    padding: 10px;
}
.modal .modal-footer {
    padding-bottom: calc(1.0933333333rem + 10px);
    height: auto;
}
.modal.modal-small {
    max-width: 400px;
}
.modal-header {
    background-color: var(--modal-header-bg);
    padding: 10px;
    font-size: 16px;
    color: var(--modal-header-color);
    font-weight: 600;
}
.container-lg {
    max-width: 1440px;
    width: 100% !important;
}

button img {
    height: 16px;
    width: 16px;
    vertical-align: middle;
    object-fit: contain;
    display: inline-block;
}

ul.browser-default {
    padding-inline-start: 16px
}

.ellipsis-1 {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis-2 {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis-3 {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis-4 {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.glass-60 {
    background: rgba(255, 255, 255, 0.6) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #2D2D2D !important;
}

div:where(.swal2-container) div:where(.swal2-loader) {
    border-color: #FFFFFF rgba(0, 0, 0, 0) #FFFFFF rgba(0, 0, 0, 0);
}