* {
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
}

::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.os-scrollbar .os-scrollbar-track .os-scrollbar-handle {
    background-color: #858586;
}

.text-red {
    color: hsl(var(--destructive));
}

.bg-green {
    background-color: hsl(var(--success));
    border-color: hsl(var(--success)) !important;
}

.bg-orange {
    background-color: #F97316;
    border-color: #F97316 !important;
}

.bg-red {
    background-color: hsl(var(--destructive));
    border-color: hsl(var(--destructive)) !important;
}

.text-green {
    color: hsl(var(--success));
}

.text-orange {
    color: #F97316;
}

.sub-navigation li {
    white-space: nowrap !important;
}

.sub-navigation li:first-child a {
    padding-left: 0;
}

.sub-navigation .active > a,
.sub-navigation a:hover {
    color: hsl(var(--foreground) / .8);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: .7rem;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: hsl(var(--border));
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.grid-gap-15 {
    grid-gap: 15px;
}

.uk-logo {
    width: 110px;
}

.bordered {
    border: 1px solid;
}

.border-small-radius {
    border-radius: 4px;
}

.btn-with-space {
    border: 1px solid black;
    padding: 2px 3px;
    background-color: white;
    display: flex;
    align-content: center;
    align-items: center;
    text-align: center;
    border-radius: 15px;
}

.btn-with-space .btn-with-space__text {
    padding: 2px 12px;
    border-radius: 10px;
    position: relative;
    z-index: 1;
    font-size: 10px;
    font-weight: bold;
}

.btn-with-space .btn-with-space__text.black {
    background-color: black;
    color: white;
}

.btn-with-space .btn-with-space__text.white {
    background-color: lightgray;
    color: black;
}

.language-changer {
    width: 30px;
    height: 18px;
}

.language-changer img {
    width: 100%;
    height: 100%;
}

.theme-switcher label {
    font-size: 12px;
    font-weight: normal;
}

.account-create-sign {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    background-color: #E2E8F0;
}

.account-create-sign uk-icon {
    color: #FFFFFF;
}

.main-btn {
    background-color: #E2E8F0;
    color: #020617;
}

.position-none {
    position: unset !important;
}

.remove-border {
    border: unset !important;
}

.remove-focus:focus {
    outline: unset !important;
    box-shadow: unset !important;
}

#page-loader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 100vh;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.custom-cards-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.custom-cards-wrapper .custom-card-wrapper {
    box-shadow: 0 0 5px rgba(var(--shadow));
}

.custom-cards-wrapper .custom-card-wrapper .uk-card-title {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}

.custom-cards-wrapper .custom-card-wrapper .uk-card-title .close-order {
    font-size: 14px;
    background-color: hsl(var(--muted-foreground));
    padding: 2px 6px;
    height: unset;
}

.custom-cards-wrapper .custom-card-wrapper .uk-card-body .items {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 5px;
    border-bottom: 1px solid hsl(var(--input));
}

.custom-cards-wrapper .custom-card-wrapper .uk-card-body .items .item {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

.custom-cards-wrapper .custom-card-wrapper .uk-card-body .additional-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid hsl(var(--input));
    padding-top: 5px;
    padding-bottom: 5px;
}

.custom-cards-wrapper .custom-card-wrapper .uk-card-body .additional-items .item {
    font-size: 12px;
}

.custom-cards-wrapper .custom-card-wrapper .uk-card-body .spread-and-swaps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
}

.custom-cards-wrapper .custom-card-wrapper .uk-card-body .spread-and-swaps .item {
    font-size: 12px;
}

.custom-cards-wrapper .custom-card-wrapper .comment-item .item {
    font-size: 12px;
    line-height: 14px;
    padding-top: 5px;
}

.show-on-md {
    display: none;
}

.hide-on-md {
    display: block;
}

.up {
    color: hsl(var(--success));
}

.down {
    color: hsl(var(--destructive));
}

.uk-badge.green {
    background-color: hsl(var(--success));
    color: #FFFFFF !important;
}

.uk-badge.red {
    background-color: hsl(var(--destructive));
    color: #FFFFFF !important;
}

.uk-badge.orange {
    background-color: #F97316;
    color: #FFFFFF !important;
}

.message-file-container {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.message-file-container .file-item .visual-wrapper {
    width: auto;
    height: auto;
}

.message-file-container .file-item .name {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.message-file-container .file-item .visual-wrapper img {
    width: 100%;
    height: 100%;
}

.uk-table td.no-data-row {
    padding-top: 35px;
}

@keyframes messenger-open {
    0% {
        transform: translateY(470px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes messenger-close {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(470px);
    }
}

@keyframes opener-hide {
    0% {
        opacity: 1;
    }
    10% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes opener-show {
    0% {
        opacity: 0;
    }

    60% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.messenger-opener-style {
    position: fixed;
    right: 45px;
    bottom: 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1039;
    background-color: hsl(var(--primary));
    border: 1px solid #FFFFFF;
    animation-duration: 300ms;
    animation-timing-function: cubic-bezier(0.39, 0.24, 0.21, 0.99);
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: both;
    animation-play-state: running;
}

.messenger-opener-style.opener-show {
    animation-name: opener-show;
}

.messenger-opener-style.opener-hide {
    animation-name: opener-hide;
}

.messenger-opener-style svg {
    stroke: #FFFFFF;
}

.messenger-opener-style .new-message-indicator {
    position: absolute;
    top: -8px;
    right: 1px;
    color: #FFFFFF;
    line-height: 0;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    background-color: hsl(var(--primary));
    border: 1px solid #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.dark .messenger-opener-style {
    border: 1px solid hsl(240 5.9% 10%);
}

.dark .messenger-opener-style svg {
    stroke: hsl(240 5.9% 10%);
}

.dark .messenger-opener-style .new-message-indicator {
    color: hsl(240 5.9% 10%);
    border: 1px solid hsl(240 5.9% 10%);
}

#messenger-gadget-wrapper {
    width: 300px;
    transform: translateY(470px);
    animation-duration: 300ms;
    animation-timing-function: cubic-bezier(0.39, 0.24, 0.21, 0.99);
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: both;
    animation-play-state: running;
    position: fixed;
    right: 40px;
    bottom: 0;
    z-index: 2000;
    box-shadow: 0 20px 40px 8px rgba(0, 0, 0, .25);
    border-top-left-radius: 8px;
    border-top-right-radius: 34px;
}

.dark #messenger-gadget-wrapper {
    box-shadow: none !important;
}

#messenger-gadget-wrapper #messenger-gadget {
    width: 100%;
}

#messenger-gadget-wrapper iframe body {
    margin: 0;
}

#messenger-gadget-wrapper.close {
    animation-name: messenger-close;
}

#messenger-gadget-wrapper.open {
    animation-name: messenger-open;
}

#messenger-gadget-wrapper .gadget-closer {
    cursor: pointer !important;
    overflow: hidden;
    transition: opacity .3s cubic-bezier(.39, .24, .21, .99) !important;
    z-index: 1960;
    background: #FFF;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -7px;
    top: -7px;
}

#messenger-gadget-wrapper .gadget-closer .icon {
    background-repeat: no-repeat;
    cursor: pointer;
    display: block;
    height: 25px;
    width: 25px;
}

#messenger-gadget-wrapper .gadget-closer .icon svg {
    stroke: hsl(240 5.9% 10%);
}

.navigation-wrapper {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

.navigation {
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 70px;
    background-color: hsl(var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.navigation ul {
    display: flex;
    width: 350px;
}

.navigation ul li {
    position: relative;
    list-style: none;
    /*width: 70px; 350 / 5 = 70*/
    width: 70px;
    height: 70px; /* navigation height */
    z-index: 1;
}

.navigation ul li a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 95%;
}

.navigation ul li a .icon {
    position: relative;
    display: block;
    font-size: 1.5rem;
    color: hsl(var(--foreground) / .6);
    line-height: 75px;
    opacity: 0.75;
    transition: 0.5s;
}

.navigation ul li a .navigation-title {
    font-size: 10px;
}

.navigation ul li.active a .navigation-title {
    display: none;
}

.navigation ul li:hover a .icon {
    opacity: 1;
}

.navigation ul li.active a .icon {
    opacity: 1;
    color: hsl(var(--foreground));
    transform: translateY(-8px);
}

.navigation ul li.active ~ .indicator {
    display: block;
}

.navigation ul li:nth-child(2).active ~ .indicator {
    transform: translateX(calc(70px * 1));
}

.navigation ul li:nth-child(3).active ~ .indicator {
    transform: translateX(calc(70px * 2));
}

.navigation ul li:nth-child(4).active ~ .indicator {
    transform: translateX(calc(70px * 3));
}

.navigation ul li:nth-child(5).active ~ .indicator {
    transform: translateX(calc(70px * 4));
}

.indicator {
    position: absolute;
    top: -10px;
    width: 70px;
    height: 70px;
    background-color: hsl(var(--background));
    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
    border: 6px solid hsl(var(--background));
    cursor: pointer;
    display: none;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 4px;
    left: -25.75px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-top-right-radius: 20px;
    box-shadow: 4px -6px 0 2px hsl(var(--background));
}

.indicator::after {
    content: '';
    position: absolute;
    top: 4px;
    right: -25.75px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-top-left-radius: 20px;
    box-shadow: -4px -6px 0 2px hsl(var(--background));
}

.indicator span {
    position: absolute;
    left: -1px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transform: scale(0.85);
    background-color: hsl(var(--secondary));;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#app .main-content {
    flex: 1;
}

footer {
    margin-top: 50px;
    margin-bottom: 20px;
    border-top: 1px solid hsl(var(--input));
    padding: 20px 20px 0;
}

footer {
    text-align: center;
    font-size: .875rem;
    font-weight: 400;
    color: hsl(var(--muted-foreground));
}

footer a {
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

.currency-icon {
    font-weight: bold;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border: 1px solid #6C6C6D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6C6C6D;
}

.dark .currency-icon {
    border-color: #9A9A9A;
    color: #9A9A9A;
}

/* Hide number input arrows */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.remove-input-arrows {
    -webkit-appearance: none;
    margin: 0;
}

@media (max-width: 768px) {
    .hide-on-md {
        display: none !important;
    }

    .show-on-md {
        display: block;
    }
}

@media (max-width: 992px) {
    .main-section.without-bottom-margin {
        margin-bottom: 0 !important;
    }

    .messenger-opener-style {
        right: 30px;
        bottom: 80px;
    }

    .navigation-wrapper {
        display: block !important;
    }

    footer {
        margin-top: 30px;
        margin-bottom: 85px;
    }
}
