:root {
    --scrollbar-track-sc: rgba(0, 0, 0, .3);
    --scrollbar-thumb-sc: rgba(0, 0, 0, .3);
    --scrollbar-thumb-bg: #989898;
    --scrollbar-thumb-hover-bg: #787878;
    --loader-content-tc: #4b5563;
}

:root.appearance-dark {
    .shadow-lg {
        box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.575) !important;
    }

    #toast-container > div {
        -moz-box-shadow: 0 0 12px #040404;
        -webkit-box-shadow: 0 0 12px #040404;
        box-shadow: 0 0 12px #040404;
    }
}

* {
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: transparent !important;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px var(--scrollbar-track-sc);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px var(--scrollbar-thumb-sc);
    border-radius: 10px;
    background-color: var(--scrollbar-thumb-bg);
    -webkit-transition: background-color 2s ease-in-out;
    transition: background-color 2s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-thumb-hover-bg);
}

body, html {
    font-size: 15px;
}

.cursor-help {
    cursor: help;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-row-resize {
    cursor: row-resize;
}

.list-style-none {
    list-style-type: none;
}

.rotate-45 {
    transform: rotate(45deg);
}

.rotate-180 {
    transform: rotate(180deg);
}

.-rotate-45 {
    transform: rotate(-45deg);
}

.translate-y-1-5 {
    transform: translateY(0.375rem); /* 6px */
}

.-translate-y-1-5 {
    transform: translateY(-0.375rem); /* 6px */
}

.scale-x-0 {
    transform: scaleX(0);
}

@media (min-width: 768px) {
    .w-md-50 {
        width: 50% !important;
    }
}

@media (min-width: 640px) {
    .sm-text-small {
        font-size: 0.875rem; /* 14px */
    }
}

.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-all {
    transition-property: all;
}

.duration-300 {
    transition-duration: .3s;
}

.max-h-0 {
    max-height: 0;
}

.min-h-100 {
    min-height: 100%;
}

.flex-shrink-0 {
    flex-shrink: 0 !important;
}

.text-6xl {
    font-size: 3.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-top-lg {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.border-none {
    border: none;
}

.bg-trans {
    background-color: transparent;
}

.outline-none,
.btn:hover,
.btn:active,
.btn:focus {
    outline: none;
}

.w-inherit {
    width: inherit;
}

.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.whitespace-pre-wrap {
    white-space: pre-wrap;
}

.break-words {
    overflow-wrap: break-word;
}

.underline-dashed-4 {
    text-decoration-style: dashed !important;
    text-underline-offset: 4px;
}

.font-sans {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.font-semibold {
    font-weight: 600;
}

.font-mono {
    font-family: monospace;
}

.loader-content {
    color: var(--loader-content-tc);
}

.animate-pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.auto-hide {
    -moz-animation: autoHide 0s ease-in 5s forwards;
    -webkit-animation: autoHide 0s ease-in 5s forwards;
    -o-animation: autoHide 0s ease-in 5s forwards;
    animation: autoHide 0s ease-in 5s forwards;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@keyframes autoHide {
    to {
        display: none;
    }
}

@-webkit-keyframes autoHide {
    to {
        display: none;
    }
}
