.horizontal-scroll {
    display: flex;
    position: relative;
    z-index: 1;
}

.horizontal-scroll-flex {
    flex-grow: 1;
    display: flex;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    align-items: center;
    /* background-color: var(--color-main); */
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    position: relative;
    overflow-y: hidden;
    /* scroll-behavior: smooth; */
    overscroll-behavior: contain;
}
.horizontal-scroll-flex::-webkit-scrollbar {
    display: none;
}

.horizontal-scroll.horizontal-scroll-fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}
.horizontal-scroll-next {
    position: absolute;
    right: 0;
    top: 50%;
    height: 100%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    display: flex;
    z-index: 2;
    pointer-events: none;
}
.horizontal-scroll-prev::after {
    content: ''; /* Simple right arrow indicator */
    background: linear-gradient(to right,var(--color-main) 20%,rgba(33,33,33,0) 80%);
    height: 100%;
    width: 38px;
    margin-left: -1px;
    pointer-events: none;
    display: block;
}
.horizontal-scroll-next::before {
    content: ''; /* Simple right arrow indicator */
    background: linear-gradient(to left,var(--color-main) 20%,rgba(33,33,33,0) 80%);
    height: 100%;
    width: 38px;
    margin-right: -1px;
    pointer-events: none;
    display: block;
}
.horizontal-scroll-next-button.icon-btn.icon-btn-link:active,
.horizontal-scroll-next-button.icon-btn.icon-btn-link:hover,
.horizontal-scroll-next-button.icon-btn.icon-btn-link {
    opacity: 1;
    background-color: var(--color-main)!important;
    border-radius: 0!important;
}
.horizontal-scroll .horizontal-scroll-prev {
    position: absolute;
    left: 0;
    top: 50%;
    height: 100%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    display: flex;
    z-index: 3;
    pointer-events: none;
}

.horizontal-scroll .horizontal-scroll:first-of-type {
    margin-left: 24px;
}

.horizontal-scroll .horizontal-scroll:last-of-type {
    margin-right: 24px;
}

@media (max-width: 800px) {
    .horizontal-scroll .horizontal-scroll-prev,
    .horizontal-scroll .horizontal-scroll-next,
    .horizontal-scroll .horizontal-scroll-next::before,
    .horizontal-scroll .horizontal-scroll-prev::before {
        /* display: none; */
    }
    .horizontal-scroll-flex {
        overscroll-behavior: auto;
    }
}
.vertical-scroll-wrapper {
  position: relative;
  overflow: hidden;
}

.vertical-scroll-content {
  height: 200px;
  overflow-y: scroll;
}

.vertical-scroll-shadow {
  position: absolute;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 10px;
}

.vertical-scroll-shadow-top {
  top: 0;
  background: linear-gradient(180deg, var(--color-scroll-overlay), transparent);
  opacity: 0;
}

.vertical-scroll-shadow-bottom {
  bottom: 0;
  background: linear-gradient(0deg, var(--color-scroll-overlay), transparent);
}
.input-container {
    position: relative;
    display: flex;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    margin: 1px;
    /* box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02); */
}
.input-container:has(label.filled),
.input-container:focus-within,
.input-container:hover {
    border-color: rgb(var(--color-general-secondary-border));
}
.input-container:focus-within {
    margin: 0;
}


.input-container label.filled,
.input-container:focus-within label {
    transform: translate(-8px, -20px) scale(0.75);
    color: var(--text-secondary);
    fill: var(--text-secondary);
    opacity: 1;
}
.input-container:focus-within label {
    color: rgb(var(--color-general-secondary-text));
}

.input-container label {
    position: absolute;
    pointer-events: none;
    transform-origin: top left;
    /* Effect transition duration only for translate */
    transition: transform var(--transition-duration) cubic-bezier(0, 0, 0.2, 1) 0ms;
    transform: translate(-8px, 0) scale(1);
    background-color: var(--color-main);
    color: var(--text-secondary);
    fill: var(--text-secondary);
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.5px;
    height: 20px;
    left: 24px;
    top:  calc(50% - 10px);
    padding: 0 8px;
    display: flex;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    align-items: center;
}

.input-container label svg {
    font-size: 16px;
    width: 1em;
    height: 1em;
}

.input-container .input-icon {
    padding-left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.input-container .input-icon-right {
    padding-right: 12px;
    padding-left: 0;
}
.input-container .input-icon svg {
    width: 1em;
    fill: var(--text-secondary);
    height: 1em;
}

.input-container:hover input,
.input-container:focus-within input {
    filter: unset;
    opacity: 1;
}
.input-container:focus-within svg {
    fill: rgb(var(--color-general-secondary-text));
}

.input-container:focus-within textarea::placeholder,
.input-display-placeholder input::placeholder,
.input-container:focus-within input::placeholder {
    color: var(--text-secondary)!important;
}
.input-container textarea::placeholder,
.input-container input::placeholder {
    color: transparent;
}
.input-wrapper {
    position: relative;
    flex-grow: 1;
    min-height: 44px
}
.input-container input {
    outline: none;
    height: 20px;
    border: none;
    font-family: var(--font-family)!important;
    width: calc(100% - 40px);
    padding: 12px 20px;
    font-size: 16px;
    line-height: 1;
    background-color: transparent;
    color: var(--text-dark);
    transition: 150ms cubic-bezier(0, 0, 0.2, 1) 0ms;
}

.input-container:focus-within label {
    color: rgb(var(--color-general-secondary-text))!important;
}
.input-container:focus-within {
    border-color: rgb(var(--color-general-secondary-text))!important;
    border: 2px solid rgb(var(--color-general-secondary-text))!important;
    margin: 0;
}

.input-container.input-success {
    border-color: rgb(var(--color-general-success-text))!important;
}

.input-container.input-danger {
    border-color: rgb(var(--color-general-danger-text))!important;
}
.input-container.input-danger svg {
    fill: rgb(var(--color-general-danger-text))!important;
}
.input-container.input-danger label.filled {
    color: rgb(var(--color-general-danger-text))!important;
}

.input-container.input-success svg {
    fill: rgb(var(--color-general-success-text))!important;
}
.input-container.input-success label.filled {
    color: rgb(var(--color-general-success-text))!important;
}
.input-container.input-success label {
    color: var(--text-secondary);
    fill: var(--text-secondary);
}

.input-container.input-warning svg {
    fill: rgb(var(--color-general-warning-text))!important;
}
.input-container.input-warning label.filled {
    color: rgb(var(--color-general-warning-text))!important;
}
.input-container.input-warning label {
    color: var(--text-dark);
    fill: var(--text-dark);
}
.input-container.input-warning {
    border-color: rgb(var(--color-general-warning-text))!important;
}


input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--text-secondary) !important;
}

.input-container:focus-within {
    border-color: rgb(var(--color-general-secondary-text));
}
.input-container:focus-within svg {
    fill: rgb(var(--color-general-secondary-text));
}

input[type="time"]::-webkit-calendar-picker-indicator {
    display: none;
}

.input-container.input-textarea textarea {
    padding: 12px;
    resize: none;
    height: calc(100% - 24px);
    width: calc(100% - 24px);
    font-size: 16px;
    line-height: 1;
    background-color: transparent;
    color: var(--text-dark);
    transition: 150ms cubic-bezier(0, 0, 0.2, 1) 0ms;
    border: none;
}
.input-container.input-textarea textarea:focus-within {
    outline: none;
}
.input-container.input-textarea label {
    top: 12px;
}

.input-container select {
    outline: none;
    border: none;
    width: 100%;
    position: absolute;
    padding: 14px 12px;
    font-size: 16px;
    line-height: 1;
    background-color: transparent;
    color: var(--text-dark);
    transition: 150ms cubic-bezier(0, 0, 0.2, 1) 0ms;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='rgb(var(--color-general-secondary-border))' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}
.input-container select {
    opacity: 0;
}
.input-container:has(.filled) select,
.input-container select:focus {
    opacity: 1;
}
.input-container select option {
    color: var(--text-dark);
    background-color: var(--color-main);
}

.input-search {
    margin-top: 8px;
    will-change: top, left;
    z-index: 600;
    width: 100%;
    max-height: 40vh;
    min-height: 35px;
    margin: 0;
    border: 1px solid var(--color-border);
    background-color: var(--color-main);
    overflow: auto;
    box-shadow: none;
    min-width: 0;
    opacity: 0;
    /* visibility: hidden; */
    border-radius: var(--border-radius);
    animation: drop var(--transition-duration) forwards;
    /* border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius); */
    box-shadow: var(--box-shadow-sm);
}
.input-select-item {
    padding: 12px 16px;
    font-size: 14px;
    word-wrap: break-word;
    line-height: 1.5;
    cursor: pointer;
    transition-duration: var(--transition-duration);
}
.input-select-item:hover {
    background-color: var(--color-secondary);
    color: rgb(var(--color-general-secondary-text));
}
.icon-btn {
    padding: 4px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: transparent;
    fill: var(--text-dark);
    color: var(--text-dark);
    transition: var(--transition-duration);
    border: none;
    position: relative;
    fill: var(--text-dark);
    height: 34px;
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    position: relative;
    z-index: 2;
}
.icon-btn.icon-btn-outline.icon-btn-brand:hover .spinner-animation svg,
.icon-btn:hover .spinner-animation svg,
.icon-btn .spinner-animation svg {
    fill: transparent!important;
}
.icon-btn .icon-svg {
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-btn-no-action {
    cursor: default;
    pointer-events: none;
}
.icon-btn-no-action:hover {
    transform: none;
}

.icon-btn.icon-btn-disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.icon-btn:active {
    opacity: 0.75;
}

.icon-btn svg {
    font-size: 14px;
    width: 14px;
    height: 14px;
    fill: rgb(var(--color-general-secondary-text));
    color: rgb(var(--color-general-secondary-text));
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    pointer-events: none;
}

/* Size */
.icon-btn.icon-btn-xs {
    height: 22px;
    width: 22px;
    min-width: 22px;
    min-height: 22px;
}
.icon-btn.icon-btn-xs svg {
    height: 10px!important;
    width: 10px!important;
    min-width: 10px!important;
    min-height: 10px!important;
}
.icon-btn.icon-btn-sm {
    height: 24px;
    width: 24px;
    min-width: 24px;
    min-height: 24px;
}
.icon-btn.icon-btn-sm svg {
    font-size: 12px;
    width: 12px;
    height: 12px;
}
.icon-btn.icon-btn-md {
    height: 38px;
    width: 38px;
    min-width: 38px;
    min-height: 38px;
}
.icon-btn.icon-btn-md svg {
    font-size: 20px;
    width: 20px;
    height: 20px;
}
.icon-btn.icon-btn-lg {
    height: 48px;
    width: 48px;
    min-width: 48px;
    min-height: 48px;
}
.icon-btn.icon-btn-lg svg {
    font-size: 24px;
    width: 24px;
    height: 24px;
}
a.icon-btn.icon-btn-lg {
    min-width: 40px!important;
    min-height: 40px!important;
    width: 40px!important;
    height: 40px!important;
}

/* Default */
.icon-btn.icon-btn-primary {
    background-color: rgb(var(--color-general-primary-bg));
    border-color: rgb(var(--color-general-primary-bg));
}
.icon-btn.icon-btn-secondary {
    background-color: rgb(var(--color-general-secondary-bg));
    border-color: rgb(var(--color-general-secondary-bg));
}
.icon-btn.icon-btn-danger {
    background-color: rgb(var(--color-general-danger-bg));
    border-color: rgb(var(--color-general-danger-bg));
}
.icon-btn.icon-btn-brand {
    background-color: var(--color-brand-bg);
    border-color: var(--color-brand-bg);
}
.icon-btn.icon-btn-warning {
    background-color: rgb(var(--color-general-warning-bg));
    border-color: rgb(var(--color-general-warning-bg));
}
.icon-btn.icon-btn-success {
    background-color: rgb(var(--color-general-success-bg));
    border-color: rgb(var(--color-general-success-bg));
}
/* Icon */
.icon-btn.icon-btn-primary,
.icon-btn.icon-btn-primary svg {
    fill: rgb(var(--color-general-primary-text));
    color: rgb(var(--color-general-primary-text));
}
.icon-btn.icon-btn-secondary,
.icon-btn.icon-btn-secondary svg {
    fill: rgb(var(--color-general-secondary-text));
    color: rgb(var(--color-general-secondary-text));
}
.icon-btn.icon-btn-danger,
.icon-btn.icon-btn-danger svg {
    fill: rgb(var(--color-general-danger-text));
    color: rgb(var(--color-general-danger-text));
}
.icon-btn.icon-btn-brand,
.icon-btn.icon-btn-brand svg {
    fill: var(--color-brand-text);
    color: var(--color-brand-text);
}
.icon-btn.icon-btn-warning,
    .icon-btn.icon-btn-warning svg {
    fill: rgb(var(--color-general-warning-text));
    color: rgb(var(--color-general-warning-text));
}
.icon-btn.icon-btn-success,
.icon-btn.icon-btn-success svg {
    fill: rgb(var(--color-general-success-text));
    color: rgb(var(--color-general-success-text));
}

.icon-btn.icon-btn-text,
.icon-btn.icon-btn-outline {
    background-color: transparent!important;
}
.icon-btn.icon-btn-outline {
    border: var(--border);
    border-color: var(--color-border);
}

/* Outline */
.icon-btn.icon-btn-outline {
    border-color: var(--color-border);
}
.icon-btn.icon-btn-outline svg {
    color: var(--text-dark);
    fill: var(--text-dark);
}
.icon-btn.icon-btn-secondary.icon-btn-outline {
    border-color: rgb(var(--color-general-secondary-bg));
}
.icon-btn.icon-btn-primary.icon-btn-outline {
    border-color: rgb(var(--color-general-primary-bg));
}
.icon-btn.icon-btn-outline:hover.icon-btn-primary {
    background-color: var(--color-general-primary-bg-hover, rgba(26,26,26,0.1));
}
.icon-btn.icon-btn-outline:hover.icon-btn-success {
    background-color: var(--color-general-success-bg-hover, rgba(26,26,26,0.1));
}
.icon-btn.icon-btn-outline:hover.icon-btn-danger {
    background-color: var(--color-general-danger-bg-hover, rgba(26,26,26,0.1));
}
.icon-btn.icon-btn-outline:hover.icon-btn-brand {
    background-color: var(--color-general-brand-bg-hover, rgba(26,26,26,0.1));
}
.icon-btn.icon-btn-outline:hover.icon-btn-warning {
    background-color: var(--color-general-warning-bg-hover, rgba(26,26,26,0.1));
}

.icon-btn.icon-btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-border);
    font-size: 12px;
    color: var(--text-dark);
}
.icon-btn.icon-btn-outline svg {
    fill: var(--text-dark);
}
.icon-btn.icon-btn-outline:hover {
    border-color: var(--text-dark);
}
.icon-btn.icon-btn-outline.icon-btn-secondary:hover svg {
    fill: var(--text-dark);
}
.icon-btn.icon-btn-outline.icon-btn-secondary:hover {
    color: var(--text-dark);
    background-color: rgb(var(--color-general-secondary-bg))!important;
}
.icon-btn.icon-btn-outline.icon-btn-primary svg {
    fill: var(--text-dark);
}
.icon-btn.icon-btn-outline.icon-btn-primary:hover svg {
    fill: rgb(var(--color-general-primary-text))!important;
}
.icon-btn.icon-btn-outline.icon-btn-primary:hover {
    background-color: rgb(var(--color-general-primary-bg))!important;
    border-color: rgb(var(--color-general-primary-border));
    color: rgb(var(--color-general-primary-text))!important;
}
.icon-btn.icon-btn-outline.icon-btn-success:hover svg {
    fill: rgb(var(--color-general-success-text))!important;
}
.icon-btn.icon-btn-outline.icon-btn-success:hover {
    background-color: rgb(var(--color-general-success-bg))!important;
    border-color: rgb(var(--color-general-success-border));
    color: rgb(var(--color-general-success-text))!important;
}
.icon-btn.icon-btn-outline.icon-btn-danger:hover svg {
    fill: rgb(var(--color-general-danger-text))!important;
}
.icon-btn.icon-btn-outline.icon-btn-danger:hover {
    background-color: rgb(var(--color-general-danger-bg))!important;
    border-color: rgb(var(--color-general-danger-border));
    color: rgb(var(--color-general-danger-text))!important;
}
.icon-btn.icon-btn-outline.icon-btn-warning:hover svg {
    fill: rgb(var(--color-general-warning-text))!important;
}
.icon-btn.icon-btn-outline.icon-btn-warning:hover {
    background-color: rgb(var(--color-general-warning-bg))!important;
    border-color: rgb(var(--color-general-warning-border));
    color: rgb(var(--color-general-warning-text))!important;
}
.icon-btn.icon-btn-outline {
    background-color: transparent!important;
}
.icon-btn.icon-btn-outline.icon-btn-brand:hover svg {
    color: var(--color-brand-text)!important;
    fill: var(--color-brand-text)!important;
}
.icon-btn.icon-btn-outline.icon-btn-brand:hover {
    background-color: var(--color-brand-bg)!important;
    border-color: var(--color-brand-border);
    color: var(--color-brand-text)!important;
}

/* Outline hover */
.btn.btn-outline:hover.btn-secondary {
    border-color: rgb(var(--color-general-secondary-border));
}
.btn.btn-outline:hover.btn-primary {
    border-color: rgb(var(--color-general-primary-border));
}
.btn.btn-outline:hover.btn-success {
    border-color: rgb(var(--color-general-success-border));
}
.btn.btn-outline:hover.btn-danger {
    border-color: rgb(var(--color-general-danger-border));
}
.btn.btn-outline:hover.btn-brand {
    border-color: var(--color-brand-border);
}
.btn.btn-outline:hover.btn-warning {
    border-color: rgb(var(--color-general-warning-border));
}
.btn.btn-outline:hover,
.btn.btn-outline {
    background-color: transparent!important;
}

/* Button filled */
.icon-btn.icon-btn-filled.icon-btn-primary {
    background-color: rgb(var(--color-general-primary-text));
}
.icon-btn.icon-btn-filled.icon-btn-primary svg {
    fill: rgb(var(--color-general-primary-bg));
    color: var(--text-light);
}
.icon-btn.icon-btn-filled.icon-btn-secondary {
    background-color: var(--text-dark);
}
.icon-btn.icon-btn-filled.icon-btn-secondary svg {
    fill: var(--text-light);
    color: var(--text-light);
}
.icon-btn.icon-btn-filled.icon-btn-danger {
    background-color: rgb(var(--color-general-danger-text));
}
.icon-btn.icon-btn-filled.icon-btn-danger svg {
    fill: var(--text-light);
    color: var(--text-light);
}
.icon-btn.icon-btn-filled.icon-btn-brand {
    background-color: var(--color-brand-text);
}
.icon-btn.icon-btn-filled.icon-btn-brand svg {
    fill: var(--text-light);
    color: var(--text-light);
}
.icon-btn.icon-btn-filled.icon-btn-warning {
    background-color: rgb(var(--color-general-warning-text));
}
.icon-btn.icon-btn-filled.icon-btn-warning svg {
    fill: var(--text-light);
    color: var(--text-light);
}
.icon-btn.icon-btn-filled.icon-btn-success {
    background-color: rgb(var(--color-general-success-text));
}
.icon-btn.icon-btn-filled.icon-btn-success svg {
    fill: var(--text-light);
    color: var(--text-light);
}

.icon-btn.icon-btn-text {
    border-color: transparent!important;
}
.icon-btn.icon-btn-link,
.icon-btn.icon-btn-link:active,
.icon-btn.icon-btn-link:hover {
    border-color: transparent!important;
    background-color: transparent!important;
}

.icon-btn-notify {
    position: relative;
}
.icon-btn-notify .icon-svg {
    position: relative;
}
.icon-btn-notify .icon-svg::after {
    /* content: attr(data-notify-count); */
    content: '';
    font-size: 12px;
    position: absolute;
    width: 6px;
    height: 6px;
    top: -2px;
    left: 12px;
    overflow: hidden;
    display: inline-flex;
    border-radius: var(--border-radius);
    background-color: rgb(var(--color-general-danger-text));
    border: 1px solid rgb(var(--color-general-danger-border));
    color: #fff;
    line-height: 16px;
    box-shadow: 0 0 0 2px var(--color-main);
    z-index: 1;
}

.icon-btn-muted .icon-svg svg,
.icon-btn-muted svg {
    fill: var(--text-secondary)!important;
    color: var(--text-secondary)!important;
}
.icon-btn-muted:hover svg {
    fill: var(--text-dark)!important;
    color: var(--text-dark)!important;
}
.input-table-container {
    height: 45px;
    cursor: pointer;
}

.input-table-container input {
    height: 100%;
    border: none;
    text-align: center;
    font-family: monospace;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    color: var(--text-dark);
    background-color: transparent;
    transition-duration: var(--transition-duration);
    outline: 2px solid transparent;
    position: relative;
}
.input-table-container input:focus-within,
.input-table-container input:focus-visible,
.input-table-container input:focus {
    outline: 4px solid var(--color-border);
    background-color: var(--color-secondary);
    z-index: 4;
}
.collapse {
    transition-duration: var(--transition-duration);
}
.collapse-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 0.75rem;
    flex: 1 1;
}
.collapse-body {
    transition-duration: var(--transition-duration);
}
.collapse-closed .collapse-body {
    height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
}
.collapse-open .collapse-body {
    opacity: 1;
    visibility: visible;
}
.collapse-label-ellipsis .collapse-label-content {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dropdown {
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}

.dropdown-label-container {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
}

.dropdown-menu {
    width: max-content;
    min-width: 169px;
    padding: 4px;
    /* width: 177px;
    max-width: 177px; */
    position: absolute;
    /* inset: 18px auto auto 0px; */
    right: 0px;
    margin: 0px;
    transform: translate(0px, 30px);
    border: 1px solid var(--color-border-secondary);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
    cursor: default;
    background-color: var(--color-main);
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    z-index: 555;
}
.dropdown-menu:hover::-webkit-scrollbar {
    display: block;
}
.dropdown-menu::-webkit-scrollbar {
    width: 4px;
    /* display: none; */
}
.dropdown-menu::-webkit-scrollbar-track {
    background-color: transparent;
}
.dropdown-menu .btn {
    /* width: 100%;
    justify-content: flex-start; */
}
.dropdown-menu .btn:has(.btn-icon-right) {
    justify-content: space-between;
}
.dropdown-menu .hover::before,
.dropdown-menu .btn::before {
    border-radius: var(--border-radius)!important;
}
.dropdown li {
    z-index: 1;
    padding: 12px 16px;
    font-size: 1rem;
    /* width: 137px;
    min-width: 137px;
    max-width: 137px; */
    text-decoration: none;
    list-style: none;
    border-radius: var(--border-radius);
    transition-duration: var(--transition-duration);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: auto;
}
.dropdown li:hover {
    background-color: var(--color-secondary);
}

.dropdown .dropdown-label {
    position: relative;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 500;
}

.dropdown .dropdown-label-container {
    transition-duration: var(--transition-duration);
    /* width: 148px;
    min-width: 148px;
    max-width: 148px; */
    background-color: var(--color-main);
    padding: 6px 12px;
}
.dropdown .dropdown-label-container.dropdown-lg {
    height: 30px;
}
.dropdown-menu .checkbox-wrapper {
    padding: 0.7rem 0.5rem;
}
.dropdown-open .dropdown-label-container,
.dropdown-label-container:hover {
    border-color: rgb(var(--color-general-secondary-border));
}

.dropdown-menu-open {
    animation: drop var(--transition-duration) forwards;
}
.dropdown-menu-closed {
    animation: dropBack var(--transition-duration) forwards;
}

.dropdown-w-unset .dropdown-label-container {
    width: unset;
    min-width: unset;
    max-width: unset;
}
.dropdown-w-unset,
.dropdown-w-unset {
    min-width: unset;
    max-width: unset;
}
.dropdown-w-unset {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.dropdown-mobile-menu-label {
    display: none!important;
}

@media (max-width: 800px) {
    .dropdown-closed .dropdown-mobile-content {
        animation: dropBackMob var(--transition-duration) forwards!important;
    }
    
    .dropdown-mobile-content.dropdown-menu {
        position: fixed;
        left: 0;
        right: 0;
        /* 5px is the transition */
        bottom: calc(5px + env(safe-area-inset-bottom));
        z-index: 99;
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        /* min-height: 100px;
        max-height: 70vh; */
        border: none;
        /* 1 rem is the height of the safe area inset */
        padding: 0; 
        border-radius: 0;
        background-color: var(--color-overlay);
        -webkit-backdrop-filter: blur(5px);
                backdrop-filter: blur(5px);
        animation-duration: var(--transition-duration);
        transition-duration: var(--transition-duration);
    }
    .dropdown-mobile-menu {
        border-top-left-radius: var(--border-radius);
        border-top-right-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        display: flex;
        position: fixed;
        width: 100%;
        flex-direction: column;
        max-height: 90vh;
        bottom: 0;
        background-color: var(--color-main);
    }
    .dropdown-mobile-menu {
        background-color: var(--color-main);
        border-top-left-radius: var(--border-radius);
        border-top-right-radius: var(--border-radius);
    }
    .dropdown-mobile-menu {
        position: absolute;
        bottom: 0;
        width: 100%;
    }
    .dropdown-mobile-menu-label {
        display: block!important;
    }
    .dropdown-mobile-container {
        overflow-y: auto;
        padding-left: 8px;
        padding-right: 8px;
        padding-top: 12px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom)); /* 5px is the transition */
        overscroll-behavior: contain;
    }
    .dropdown-open .dropdown-mobile-content {
        /* height: 100%; */
        animation-duration: var(--transition-duration);
        animation: slideIn var(--transition-duration) forwards!important;
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes drop {
    0% {
        transform: translate(0px, 0);
        opacity: 0;
    }
    100% {
        transform: translate(0px, 5px);
        opacity: 1;
    }
}

@keyframes dropBack {
    0% {
        transform: translate(0px, 5px);
        opacity: 1;
    }
    100% {
        transform: translate(0px, 0);
        opacity: 0;
    }
}

@keyframes dropBackMob {
    0% {
        transform: translate(0px, 5px);
        opacity: 1;
    }
    100% {
        transform: translate(0px, 50px);
        opacity: 0;
    }
}
.input-search-container {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    border-width: 1px!important;
    border-radius: var(--border-radius-lg);
    transition-duration: var(--transition-duration);
    height: 32px;
    background-color: var(--color-main);
    border: 1px solid var(--color-border);
    opacity: 0.85;
}

.input-search-container input {
    flex: 1 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-overflow: ellipsis;
    min-width: 0;
    width: 0;
    height: 100%;
    background-color: transparent!important;
}
.input-search-container-filled {
    background-color: rgb(var(--color-general-secondary-bg));
    border-color: var(--color-secondary);
}

.input-search-container input::placeholder {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    font-family: var(--font-family);
}
.input-search-container .input-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding: 0 12px;
    height: 100%;
}
.input-search-container .input-search-icon svg {
    fill: var(--text-dark);
    width: 16px;
    height: 16px;
    transition-duration: var(--transition-duration);
}

.input-search-container:hover {
    border-color: var(--color-border);
    opacity: 1;
}
.input-search-container:focus-within {
    border-color: rgb(var(--color-general-secondary-border))!important;
    opacity: 1;
}

.input-search-focused,
.input-search-focused {
    border-color: var(--color-border);
    opacity: 1;
}
.input-search-submit {
    cursor: pointer;
}
.input-search-submit:hover {
    color: var(--color-primary);
}
.input-search-submit svg {
    opacity: 1!important;
    transition-duration: var(--transition-duration);
}
.clear-input {
    height: 100%;
    padding: 0 6px;
    display: flex;
    align-items: center;
}
.input-search-has-sign input {
    padding: 8px 8px 8px 4px;
}
.input-search-sign {
    font-size: 14px;
    padding: 5px 12px;
    background-color: var(--color-secondary);
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
    margin: 3px;
    font-weight: 600;
}
.tabs {
    position: relative;
    min-width: 0;
    overflow-x: scroll;
    background-color: var(--color-main);
    /* border: var(--border); */
    border-radius: var(--border-radius);
    /* height: 38px;/ */
    height: 32px;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tabs-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
    height: 100%;
}

.tabs-indicator {
    background-color: var(--color-secondary);
    /* height: 1px; */
    position: absolute;
    transition-duration: var(--transition-duration);
    height: 28px;
    height: calc(100%);
    border-radius: var(--border-radius);
    bottom: 0px;
    top: 0px;
    /* margin: 2px 0; */
}

.tab:not(:last-child) {
    /* margin-right: 4px; */
}

.tab {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 12px;
    opacity: 0.75;
    transition-duration: var(--transition-duration);
    fill: var(--text-dark);
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    font-size: 14px;
    flex-grow: 1;
    text-align: center;
    font-weight: 500;
    flex-wrap: nowrap;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    gap: 10px;
}
.tabs.tabs-sm {
    height: 25px;
}
.tabs.tabs-sm .tab {
    font-size: 12px;
}
.tabs.tabs-md .tab {
    font-size: 14px;
}

.tab.active {
    opacity: 1;
}
.tab.active path {
    fill: var(--color-brand)!important;
}

.tab:hover {
    opacity: 1;
    /* background-color: var(--color-main); */
    border-radius: var(--border-radius);
}

.tab-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.75;
    /* margin-right: 10px; */
}

.tab.active .tab-icon {
    opacity: 1;
}

.tab-icon.no-label {
    margin-right: 0;
}

.tab-icon svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 800px) {
    .tabs {
        /* border-right: 0;
        border-left: 0;
        border-radius: 0; */
    }
}
.image {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    min-height: inherit;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    line-height: 1;
    font-weight: 400;
    /* overflow: hidden; */
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    color: var(--text-light);
    background-color: var(--color-tertiary);
    transition: var(--transition-duration);
}
.image-big-display {
    width: 100%;
    height: 100vh;
    z-index: 999;
    cursor: pointer;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
    transition-duration: var(--transition-duration);
    animation: fadeIn var(--transition-duration) ease-in-out forwards;
    position: fixed;
}

.image-big-display:active img {
    /* opacity: 0.5; */
}

.image-big-display-container {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
    border-radius: var(--border-radius);
}

.image-big-display-container img {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    cursor: default;
    object-position: center;
    pointer-events: none;
    background-color: #fff;
}

.image.image-full {
    width: 100%;
    height: 100%;
    font-size: 1.2rem;
}
.image.image-dynamic {
    width: 100%;
    height: 100%;
}

.image .image-contain {
    object-fit: contain;
}

.image img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    text-align: center;
    color: transparent;
    object-fit: cover;
    object-position: center;
    background-color: var(--color-tertiary);
}

.image .image-loading {
    opacity: 0;
}


.img-big-display {
    width: 100%;
    height: 100%;
    z-index: 999;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.85);
    transition-duration: var(--transition-duration);
    animation: fadeIn var(--transition-duration) ease-in-out forwards;
    position: fixed;
}

.img-big-display-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
}

.img-big-display-container img {
    max-width: 75%;
    height: auto;
    object-fit: contain;
    cursor: default;
    object-position: center;
}

.img-big-display-container-inner {
    pointer-events: initial;
    width: 100%;
    display: flex;
    justify-content: center;
    align-self: center;
    text-align: center;
}

.img-big-display-container-inner-img {
    pointer-events: inherit;
}


.image.image-loading {
    /* position: relative; */
    overflow: hidden;
    background-color: var(--color-main);
}

.image.image-loading img {
    opacity: 0;
}

.image.img-error img {
    background-color: transparent;
}

.img-big-display-controllers-top {
    position: absolute;
    top: 0;
    left: 0;
    padding: 8px 0;
    width: 100%;
    background-color: var(--color-main);
    /* z-index: 1; */
}

.img-big-display-controllers-bottom {
    position: absolute;
    bottom: calc(0px + env(safe-area-inset-bottom));
    padding: 16px 12px;
}

.image-loading::before {
    animation: 1.6s linear 0.5s infinite normal none running image-animation-wave;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
    content: "";
    position: absolute;
    transform: translateX(-100%);
    inset: 0px;
    z-index: 0;
    min-width: calc(100% * 2);
}

@keyframes image-animation-wave {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@media (max-width: 800px) {
    .img-big-display-container-inner-img,
    .img-big-display-container img {
        max-width: 100%;
    }
}
:root {
  --toastify-color-light: #fff;
  --toastify-color-dark: #121212;
  --toastify-color-info: #3498db;
  --toastify-color-success: #07bc0c;
  --toastify-color-warning: #f1c40f;
  --toastify-color-error: #e74c3c;
  --toastify-color-transparent: rgba(255, 255, 255, 0.7);
  --toastify-icon-color-info: var(--toastify-color-info);
  --toastify-icon-color-success: var(--toastify-color-success);
  --toastify-icon-color-warning: var(--toastify-color-warning);
  --toastify-icon-color-error: var(--toastify-color-error);
  --toastify-toast-width: 320px;
  --toastify-toast-offset: 16px;
  --toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));
  --toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));
  --toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));
  --toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));
  --toastify-toast-background: #fff;
  --toastify-toast-min-height: 64px;
  --toastify-toast-max-height: 800px;
  --toastify-toast-bd-radius: 6px;
  --toastify-font-family: sans-serif;
  --toastify-z-index: 9999;
  --toastify-text-color-light: #757575;
  --toastify-text-color-dark: #fff;
  --toastify-text-color-info: #fff;
  --toastify-text-color-success: #fff;
  --toastify-text-color-warning: #fff;
  --toastify-text-color-error: #fff;
  --toastify-spinner-color: #616161;
  --toastify-spinner-color-empty-area: #e0e0e0;
  --toastify-color-progress-light: linear-gradient(
    to right,
    #4cd964,
    #5ac8fa,
    #007aff,
    #34aadc,
    #5856d6,
    #ff2d55
  );
  --toastify-color-progress-dark: #bb86fc;
  --toastify-color-progress-info: var(--toastify-color-info);
  --toastify-color-progress-success: var(--toastify-color-success);
  --toastify-color-progress-warning: var(--toastify-color-warning);
  --toastify-color-progress-error: var(--toastify-color-error);
  --toastify-color-progress-bgo: 0.2;
}

.Toastify__toast-container {
  z-index: var(--toastify-z-index);
  -webkit-transform: translate3d(0, 0, var(--toastify-z-index));
  position: fixed;
  padding: 4px;
  width: var(--toastify-toast-width);
  box-sizing: border-box;
  color: #fff;
}
.Toastify__toast-container--top-left {
  top: var(--toastify-toast-top);
  left: var(--toastify-toast-left);
}
.Toastify__toast-container--top-center {
  top: var(--toastify-toast-top);
  left: 50%;
  transform: translateX(-50%);
}
.Toastify__toast-container--top-right {
  top: var(--toastify-toast-top);
  right: var(--toastify-toast-right);
}
.Toastify__toast-container--bottom-left {
  bottom: var(--toastify-toast-bottom);
  left: var(--toastify-toast-left);
}
.Toastify__toast-container--bottom-center {
  bottom: var(--toastify-toast-bottom);
  left: 50%;
  transform: translateX(-50%);
}
.Toastify__toast-container--bottom-right {
  bottom: var(--toastify-toast-bottom);
  right: var(--toastify-toast-right);
}

@media only screen and (max-width : 480px) {
  .Toastify__toast-container {
    width: 100vw;
    padding: 0;
    left: env(safe-area-inset-left);
    margin: 0;
  }
  .Toastify__toast-container--top-left, .Toastify__toast-container--top-center, .Toastify__toast-container--top-right {
    top: env(safe-area-inset-top);
    transform: translateX(0);
  }
  .Toastify__toast-container--bottom-left, .Toastify__toast-container--bottom-center, .Toastify__toast-container--bottom-right {
    bottom: env(safe-area-inset-bottom);
    transform: translateX(0);
  }
  .Toastify__toast-container--rtl {
    right: env(safe-area-inset-right);
    left: initial;
  }
}
.Toastify__toast {
  --y: 0;
  position: relative;
  touch-action: none;
  min-height: var(--toastify-toast-min-height);
  box-sizing: border-box;
  margin-bottom: 1rem;
  padding: 8px;
  border-radius: var(--toastify-toast-bd-radius);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  max-height: var(--toastify-toast-max-height);
  font-family: var(--toastify-font-family);
  cursor: default;
  direction: ltr;
  /* webkit only issue #791 */
  z-index: 0;
  overflow: hidden;
}
.Toastify__toast--stacked {
  position: absolute;
  width: 100%;
  transform: translate3d(0, var(--y), 0) scale(var(--s));
  transition: transform 0.3s;
}
.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body, .Toastify__toast--stacked[data-collapsed] .Toastify__close-button {
  transition: opacity 0.1s;
}
.Toastify__toast--stacked[data-collapsed=false] {
  overflow: visible;
}
.Toastify__toast--stacked[data-collapsed=true]:not(:last-child) > * {
  opacity: 0;
}
.Toastify__toast--stacked:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: calc(var(--g) * 1px);
  bottom: 100%;
}
.Toastify__toast--stacked[data-pos=top] {
  top: 0;
}
.Toastify__toast--stacked[data-pos=bot] {
  bottom: 0;
}
.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before {
  transform-origin: top;
}
.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before {
  transform-origin: bottom;
}
.Toastify__toast--stacked:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  transform: scaleY(3);
  z-index: -1;
}
.Toastify__toast--rtl {
  direction: rtl;
}
.Toastify__toast--close-on-click {
  cursor: pointer;
}
.Toastify__toast-body {
  margin: auto 0;
  flex: 1 1 auto;
  padding: 6px;
  display: flex;
  align-items: center;
}
.Toastify__toast-body > div:last-child {
  word-break: break-word;
  flex: 1 1;
}
.Toastify__toast-icon {
  -webkit-margin-end: 10px;
          margin-inline-end: 10px;
  width: 20px;
  flex-shrink: 0;
  display: flex;
}

.Toastify--animate {
  animation-fill-mode: both;
  animation-duration: 0.5s;
}

.Toastify--animate-icon {
  animation-fill-mode: both;
  animation-duration: 0.3s;
}

@media only screen and (max-width : 480px) {
  .Toastify__toast {
    margin-bottom: 0;
    border-radius: 0;
  }
}
.Toastify__toast-theme--dark {
  background: var(--toastify-color-dark);
  color: var(--toastify-text-color-dark);
}
.Toastify__toast-theme--light {
  background: var(--toastify-color-light);
  color: var(--toastify-text-color-light);
}
.Toastify__toast-theme--colored.Toastify__toast--default {
  background: var(--toastify-color-light);
  color: var(--toastify-text-color-light);
}
.Toastify__toast-theme--colored.Toastify__toast--info {
  color: var(--toastify-text-color-info);
  background: var(--toastify-color-info);
}
.Toastify__toast-theme--colored.Toastify__toast--success {
  color: var(--toastify-text-color-success);
  background: var(--toastify-color-success);
}
.Toastify__toast-theme--colored.Toastify__toast--warning {
  color: var(--toastify-text-color-warning);
  background: var(--toastify-color-warning);
}
.Toastify__toast-theme--colored.Toastify__toast--error {
  color: var(--toastify-text-color-error);
  background: var(--toastify-color-error);
}

.Toastify__progress-bar-theme--light {
  background: var(--toastify-color-progress-light);
}
.Toastify__progress-bar-theme--dark {
  background: var(--toastify-color-progress-dark);
}
.Toastify__progress-bar--info {
  background: var(--toastify-color-progress-info);
}
.Toastify__progress-bar--success {
  background: var(--toastify-color-progress-success);
}
.Toastify__progress-bar--warning {
  background: var(--toastify-color-progress-warning);
}
.Toastify__progress-bar--error {
  background: var(--toastify-color-progress-error);
}
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--success, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
  background: var(--toastify-color-transparent);
}

.Toastify__close-button {
  color: #fff;
  background: transparent;
  outline: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s ease;
  align-self: flex-start;
  z-index: 1;
}
.Toastify__close-button--light {
  color: #000;
  opacity: 0.3;
}
.Toastify__close-button > svg {
  fill: currentColor;
  height: 16px;
  width: 14px;
}
.Toastify__close-button:hover, .Toastify__close-button:focus {
  opacity: 1;
}

@keyframes Toastify__trackProgress {
  0% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}
.Toastify__progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--toastify-z-index);
  opacity: 0.7;
  transform-origin: left;
  border-bottom-left-radius: var(--toastify-toast-bd-radius);
}
.Toastify__progress-bar--animated {
  animation: Toastify__trackProgress linear 1 forwards;
}
.Toastify__progress-bar--controlled {
  transition: transform 0.2s;
}
.Toastify__progress-bar--rtl {
  right: 0;
  left: initial;
  transform-origin: right;
  border-bottom-left-radius: initial;
  border-bottom-right-radius: var(--toastify-toast-bd-radius);
}
.Toastify__progress-bar--wrp {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border-bottom-left-radius: var(--toastify-toast-bd-radius);
}
.Toastify__progress-bar--wrp[data-hidden=true] {
  opacity: 0;
}
.Toastify__progress-bar--bg {
  opacity: var(--toastify-color-progress-bgo);
  width: 100%;
  height: 100%;
}

.Toastify__spinner {
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 2px solid;
  border-radius: 100%;
  border-color: var(--toastify-spinner-color-empty-area);
  border-right-color: var(--toastify-spinner-color);
  animation: Toastify__spin 0.65s linear infinite;
}

@keyframes Toastify__bounceInRight {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(-25px, 0, 0);
  }
  75% {
    transform: translate3d(10px, 0, 0);
  }
  90% {
    transform: translate3d(-5px, 0, 0);
  }
  to {
    transform: none;
  }
}
@keyframes Toastify__bounceOutRight {
  20% {
    opacity: 1;
    transform: translate3d(-20px, var(--y), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(2000px, var(--y), 0);
  }
}
@keyframes Toastify__bounceInLeft {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(-3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(25px, 0, 0);
  }
  75% {
    transform: translate3d(-10px, 0, 0);
  }
  90% {
    transform: translate3d(5px, 0, 0);
  }
  to {
    transform: none;
  }
}
@keyframes Toastify__bounceOutLeft {
  20% {
    opacity: 1;
    transform: translate3d(20px, var(--y), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(-2000px, var(--y), 0);
  }
}
@keyframes Toastify__bounceInUp {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(0, 3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, -20px, 0);
  }
  75% {
    transform: translate3d(0, 10px, 0);
  }
  90% {
    transform: translate3d(0, -5px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes Toastify__bounceOutUp {
  20% {
    transform: translate3d(0, calc(var(--y) - 10px), 0);
  }
  40%, 45% {
    opacity: 1;
    transform: translate3d(0, calc(var(--y) + 20px), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, -2000px, 0);
  }
}
@keyframes Toastify__bounceInDown {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(0, -3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, 25px, 0);
  }
  75% {
    transform: translate3d(0, -10px, 0);
  }
  90% {
    transform: translate3d(0, 5px, 0);
  }
  to {
    transform: none;
  }
}
@keyframes Toastify__bounceOutDown {
  20% {
    transform: translate3d(0, calc(var(--y) - 10px), 0);
  }
  40%, 45% {
    opacity: 1;
    transform: translate3d(0, calc(var(--y) + 20px), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, 2000px, 0);
  }
}
.Toastify__bounce-enter--top-left, .Toastify__bounce-enter--bottom-left {
  animation-name: Toastify__bounceInLeft;
}
.Toastify__bounce-enter--top-right, .Toastify__bounce-enter--bottom-right {
  animation-name: Toastify__bounceInRight;
}
.Toastify__bounce-enter--top-center {
  animation-name: Toastify__bounceInDown;
}
.Toastify__bounce-enter--bottom-center {
  animation-name: Toastify__bounceInUp;
}

.Toastify__bounce-exit--top-left, .Toastify__bounce-exit--bottom-left {
  animation-name: Toastify__bounceOutLeft;
}
.Toastify__bounce-exit--top-right, .Toastify__bounce-exit--bottom-right {
  animation-name: Toastify__bounceOutRight;
}
.Toastify__bounce-exit--top-center {
  animation-name: Toastify__bounceOutUp;
}
.Toastify__bounce-exit--bottom-center {
  animation-name: Toastify__bounceOutDown;
}

@keyframes Toastify__zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}
@keyframes Toastify__zoomOut {
  from {
    opacity: 1;
  }
  50% {
    opacity: 0;
    transform: translate3d(0, var(--y), 0) scale3d(0.3, 0.3, 0.3);
  }
  to {
    opacity: 0;
  }
}
.Toastify__zoom-enter {
  animation-name: Toastify__zoomIn;
}

.Toastify__zoom-exit {
  animation-name: Toastify__zoomOut;
}

@keyframes Toastify__flipIn {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  to {
    transform: perspective(400px);
  }
}
@keyframes Toastify__flipOut {
  from {
    transform: translate3d(0, var(--y), 0) perspective(400px);
  }
  30% {
    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1;
  }
  to {
    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0;
  }
}
.Toastify__flip-enter {
  animation-name: Toastify__flipIn;
}

.Toastify__flip-exit {
  animation-name: Toastify__flipOut;
}

@keyframes Toastify__slideInRight {
  from {
    transform: translate3d(110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}
@keyframes Toastify__slideInLeft {
  from {
    transform: translate3d(-110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}
@keyframes Toastify__slideInUp {
  from {
    transform: translate3d(0, 110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}
@keyframes Toastify__slideInDown {
  from {
    transform: translate3d(0, -110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}
@keyframes Toastify__slideOutRight {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(110%, var(--y), 0);
  }
}
@keyframes Toastify__slideOutLeft {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(-110%, var(--y), 0);
  }
}
@keyframes Toastify__slideOutDown {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, 500px, 0);
  }
}
@keyframes Toastify__slideOutUp {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, -500px, 0);
  }
}
.Toastify__slide-enter--top-left, .Toastify__slide-enter--bottom-left {
  animation-name: Toastify__slideInLeft;
}
.Toastify__slide-enter--top-right, .Toastify__slide-enter--bottom-right {
  animation-name: Toastify__slideInRight;
}
.Toastify__slide-enter--top-center {
  animation-name: Toastify__slideInDown;
}
.Toastify__slide-enter--bottom-center {
  animation-name: Toastify__slideInUp;
}

.Toastify__slide-exit--top-left, .Toastify__slide-exit--bottom-left {
  animation-name: Toastify__slideOutLeft;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}
.Toastify__slide-exit--top-right, .Toastify__slide-exit--bottom-right {
  animation-name: Toastify__slideOutRight;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}
.Toastify__slide-exit--top-center {
  animation-name: Toastify__slideOutUp;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}
.Toastify__slide-exit--bottom-center {
  animation-name: Toastify__slideOutDown;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

@keyframes Toastify__spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.Toastify__toast {
    border-radius: var(--border-radius)!important;
    color: var(--text-dark)!important;
    background-color: var(--text-dark)!important;
    color: var(--text-light)!important;
    align-items: center;
    font-size: 14px;
    padding: 10px;
    font-weight: 500;
}
.Toastify__toast--stacked {
    width: auto;
}
.Toastify__toast-body {
    padding: 0;
}
.Toastify__toast-icon {
    margin-right: 8px;
}
.Toastify__toast-icon {
    /* display: none; */
}
.Toastify__toast .btn svg {
    fill: var(--text-light)!important;
}
.Toastify__toast-container {
    transform: translate3d(0, 0, 0)!important;
    width: auto!important;
    max-width: 600px!important;
}

.Toastify__toast--error {
    background-color: var(--color-danger-text)!important;
    color: white!important;
}
.Toastify__toast--error svg {
    fill: white!important;
}
.Toastify__toast--error {
    color: var(--text-dark);
}
.Toastify__toast--success svg {
    fill: var(--text-light)!important;
}
.Toastify__toast--success {
    color: var(--text-dark);
}

.Toastify__toast {
    animation-duration: var(--transition-duration)!important;
}

.Toastify__slide-enter--bottom-right, .Toastify__slide-enter--bottom-right {
    animation-name: toast-custom-animation-enter!important;
}
.Toastify__slide-exit--bottom-right, .Toastify__slide-exit--bottom-right {
    animation-name: toast-custom-animation-exit!important;
}

:root {
    --toastify-toast-min-height: 30px;
}


.Toastify__toast-container--bottom-center {
    opacity: 0;
    animation-name: slide-up;
    animation-duration: 0.3s;
    animation-delay: calc(var(--fade-in-delay, 0) * 0.05);
    -webkit-animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards; 
}

.Toastify__slide-exit--bottom-center {
    opacity: 0;
    animation-name: slide-down;
    animation-duration: 0.3s;
    animation-delay: calc(var(--fade-in-delay, 0) * 0.05);
    -webkit-animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards; 
}

.Toastify__toast-container--bottom-center {
    left: calc(50% - 75px)!important;
}


@keyframes toast-custom-animation-exit {
    0% {
        visibility: visible;
        opacity: 1;
    }
    100% {
        visibility: hidden;
        opacity: 0;
    }
}

@keyframes toast-custom-animation-enter {
    0% {
        visibility: hidden;
        opacity: 0;
    }
    100% {
        visibility: visible;
        opacity: 1;
    }
}

@media (max-width: 800px) {
    .Toastify__toast {
        width: -moz-fit-content!important;
        width: fit-content!important;
        margin: 12px auto!important;
    }
    .toast-container {
        bottom: env(safe-area-inset-bottom, 0px) !important;
        font-size: 14px;
        width: calc(100%);
        left: 12px;
        width: calc(100% - 24px)!important;
        max-width: calc(100% - 24px)!important;
        left: 0;
    }
    .Toastify__toast-container--bottom-center {
        left: 12px!important;
    }
    .Toastify__toast {
        margin-bottom: 12px;
        /* text-align: center; */
    }
    .Toastify__toast-container {
        /* width: 100%!important;
        max-width: calc(100% - 24px)!important; */
    }
}
@media (max-width: 800px) {
    .card-container {
        border-right: none;
        border-left: none;
        border-top: none;
        border-radius: 0;
    }
}
.tabs-content {
    position: relative;
    min-width: 0;
    height: 40px;
    overflow-y: hidden;
    /* overscroll-behavior: contain; */
    scroll-behavior: smooth;
}
.tabs-content-container {
    display: flex;
    align-items: center;
    width: -moz-fit-content;
    width: fit-content;
    height: 100%;
}

.tabs-content::-webkit-scrollbar,
.tabs-content-container::-webkit-scrollbar {
    display: none!important;
}

.tabs-content-indicator {
    background-color: var(--color-brand);
    border-radius: 24px;
    height: 2px;
    position: absolute;
    transition-duration: var(--transition-duration);
    transition: width var(--transition-duration) cubic-bezier(0.4,0,1,1),left var(--transition-duration) cubic-bezier(0.4,0,1,1);
    bottom: 0px;
}

.tab-content {
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-left: 8px; */
    margin-right: 18px;
    transition-duration: var(--transition-duration);
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    font-size: 14px;
    font-weight: 500;
    height: 100%;
    line-height: 18px;
    min-width: 48px;
    white-space: nowrap;
}

.tab-content.active:hover,
.tab-content.active {
    color: var(--color-brand);
    fill: var(--color-brand);
}

.tab-content:hover {
    opacity: 1;
    color: var(--text-dark);
}
/* .tab-content:active {
    transform: scale(0.95);
} */

.tab-content-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
}

.tab-content-icon svg {
    width: 20px;
    height: 20px;
}

.tabs-content .tabs-content-next,
.tabs-content .tabs-content-prev {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    background-color: var(--color-main);
    height: -webkit-fill-available;
    z-index: 2020;
}
.tabs-content .tabs-content-prev {
    transform: rotate(180deg);
    left: 0;
}
.tabs-content .tabs-content-next {
    right: 0;
}
.tabs-content .tabs-content-next::before,
.tabs-content .tabs-content-prev::before {
    height: 100%;
    width: 50px;
    content: "";
    pointer-events: none;
    background: linear-gradient(to left,var(--color-main) 20%,rgba(33,33,33,0) 80%);
    position: absolute;
    right: 24px;
}

@media (max-width: 800px) {
    .tab-content {
        margin-left: 8px;
    }
}
.chip {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    min-width: 28px;
    border-radius: 12px;
    color: var(--text-color);
    cursor: pointer;
    background-color: rgb(var(--color-general-secondary-bg));
    z-index: 1;
    font-weight: 500;
    text-transform: capitalize;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}
.chip::before {
    content: "";
    pointer-events: none;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 12px;
    background-color: rgb(var(--color-general-secondary-bg-hover));
    opacity: 0;
    transition: opacity 100ms cubic-bezier(0.4, 0, 0.2, 1),transform 100ms cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0);
    z-index: -1;
    transition-duration: var(--transition-duration);
}
.chip:hover::before {
    opacity: 1;
    transform: scale(1);
}
.chip-icon {
    width: 12px;
    height: 12px;
    padding: 4px;
    margin: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition-duration: var(--transition-duration);
    border-radius: 50%;
    border: 1px solid;
    outline: 2px solid transparent;
}
.chip-label {
    font-size: 13px;
    margin: 0 8px;
}
.chip-label svg {
    display: block;
    width: 100%;
    height: 100%;
}
.chip-icon:active {
    opacity: 1;
}
.chip.active,
.chip.chip-primary {
    color: rgb(var(--color-general-primary-text));
    background-color: rgb(var(--color-general-primary-bg));
}
.chip.chip-secondary {
    color: var(--text-dark);
    background-color: rgb(var(--color-general-secondary-bg));
}
.chip.chip-danger {
    color: rgb(var(--color-general-danger-text));
    background-color: rgb(var(--color-general-danger-bg));
}
.chip.chip-warning {
    color: rgb(var(--color-general-warning-text));
    background-color: rgb(var(--color-general-warning-bg));
}
.chip.chip-success {
    color: rgb(var(--color-general-success-text));
    background-color: rgb(var(--color-general-success-bg));
}

.chip.active,
.chip.chip-primary svg {
    fill: rgb(var(--color-general-primary-text));
}
.chip.chip-secondary svg {
    fill: var(--text-dark);
}
.chip.chip-danger svg {
    fill: rgb(var(--color-general-danger-text));
}
.chip.chip-warning svg {
    fill: rgb(var(--color-general-warning-text));
}
.chip.chip-success svg {
    fill: rgb(var(--color-general-success-text));
}

.chip.chip-primary .chip-icon:hover {
    outline-color: rgb(var(--color-general-primary-text));
}
.chip.chip-secondary .chip-icon:hover {
    outline-color: var(--text-dark);
}
.chip.chip-danger .chip-icon:hover {
    outline-color: rgb(var(--color-general-danger-text));
}
.chip.chip-warning .chip-icon:hover {
    outline-color: rgb(var(--color-general-warning-text));
}
.chip.chip-success .chip-icon:hover {
    outline-color: rgb(var(--color-general-success-text));
}
.chip .chip-icon:active {
    transform: scale(0.9);
}

.chip.chip-primary::before {
    background-color: var(--color-general-primary-bg-hover, rgba(26,26,26,0.1));
}
.chip.chip-secondary::before {
    background-color: var(--color-general-secondary-hover, rgba(26,26,26,0.1));
}
.chip.chip-danger::before {
    background-color: var(--color-general-danger-bg-hover, rgba(26,26,26,0.1));
}
.chip.chip-warning::before {
    background-color: var(--color-general-warning-bg-hover, rgba(26,26,26,0.1));
}
.chip.chip-success::before {
    background-color: var(--color-general-success-bg-hover, rgba(26,26,26,0.1));
}

.chip-disabled {
    opacity: 0.5;
}
.button-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
}

.button-group .btn {
    margin: 0px;
    border-color: rgb(var(--color-general-secondary-border));
}

.button-group .btn:hover {
    /* border-color: rgb(var(--color-general-secondary-border))!important; */
}

.button-group.border-transparent .btn {
    border-color: transparent!important;
}

.button-group > :first-child.btn::before,
.button-group > :first-child:has(.btn) .btn::before,
.button-group > :first-child.btn,
.button-group > :first-child:has(.btn) .btn {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
    border-right-color: transparent;
}

.button-group > :last-child.btn::before,
.button-group > :last-child:has(.btn) .btn::before,
.button-group > :last-child.btn,
.button-group > :last-child:has(.btn) .btn {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.button-group > :not(:first-child):not(:last-child).btn::before,
.button-group > :not(:first-child):not(:last-child):has(.btn) .btn::before,
.button-group > :not(:first-child):not(:last-child).btn,
.button-group > :not(:first-child):not(:last-child):has(.btn) .btn {
    border-radius: 0px;
    border-right-color: transparent;
}

.button-group > .btn:only-child::before,
.button-group > :only-child:has(.btn) .btn::before,
.button-group > .btn:only-child,
.button-group > :only-child:has(.btn) .btn {
    border-radius: var(--border-radius);
    border-color: rgb(var(--color-general-secondary-border))
}

.button-group > .btn:last-child::before,
.button-group > .btn:last-child:not(:first-child) {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: var(--border-radius); /* replace with the actual pixel value of --border-radius-lg */
    border-bottom-right-radius: var(--border-radius); /* replace with the actual pixel value of --border-radius-lg */
}
.button-group > .btn:first-child::before,
.button-group > .btn:first-child:not(:last-child) {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: var(--border-radius); /* replace with the actual pixel value of --border-radius-lg */
    border-bottom-left-radius: var(--border-radius); /* replace with the actual pixel value of --border-radius-lg */
    border-right-color: transparent;
}
.button-group > .btn:not(:first-child):not(:last-child)::before,
.button-group > .btn:not(:first-child):not(:last-child) {
    border-radius: 0px;
    border-right-color: transparent;
}
.button-group > div:not(:first-child):not(:last-child) .btn {
    border-radius: 0px;
    border-right-color: transparent;
}
.button-group > div:first-child .btn {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: var(--border-radius); /* replace with the actual pixel value of --border-radius-lg */
    border-bottom-left-radius: var(--border-radius); /* replace with the actual pixel value of --border-radius-lg */
    border-right-color: transparent;
}
.button-group > div:last-child .btn {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: var(--border-radius); /* replace with the actual pixel value of --border-radius-lg */
    border-bottom-right-radius: var(--border-radius); /* replace with the actual pixel value of --border-radius-lg */
}
.switch-checkbox {
    height: 0;
    width: 0;
    visibility: hidden;
}

.switch-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: 40px;
    height: 24px;
    background: var(--color-border);
    border-radius: 100px;
    position: relative;
    transition: background-color .2s;
}

.switch-label .switch-button {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 20px;
    border-radius: 45px;
    transition: 0.2s;
    background: var(--text-light);
}

.switch-checkbox:checked + .switch-label .switch-button {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

.switch-label:active .switch-button {
    width: 26px;
}

.switch-label-on {
    background-color: var(--color-brand);
}
.switch-label-disabled {
    background-color: var(--color-border);
    cursor: not-allowed;
}
.banner {
    padding: 0.75rem;
    background-color: var(--color-main);
    color: var(--text-dark);
    display: flex;
    border-radius: var(--border-radius);
    transition-duration: var(--transition-duration);
    overflow: hidden;
}
.banner-icon {
    /* width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px; */
}
.banner-icon {
    margin: 6px 12px 6px 0;
}
.banner-icon svg {
    width: 100%;
    height: 100%;
}
.banner-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
}
.banner-content {
    font-size: 12px;
    font-weight: 400;
}
.banner-danger {
    background-color: rgb(var(--color-general-danger-bg));
    border-color: rgb(var(--color-general-danger-border));
    color: var(--text-dark);
    fill: rgb(var(--color-general-danger-text));
}
.banner-success {
    background-color: rgb(var(--color-general-success-bg));
    border-color: rgb(var(--color-general-success-border));
    color: var(--text-dark);
    fill: rgb(var(--color-general-success-text));
}
.banner-primary {
    background-color: rgb(var(--color-general-primary-bg));
    border-color: rgb(var(--color-general-primary-border));
    color: var(--text-dark);
    fill: rgb(var(--color-general-primary-text));
}
.banner-primary svg {
    fill: var(--color-primary);
}
.banner-warning {
    background-color: rgb(var(--color-general-warning-bg));
    border-color: rgb(var(--color-general-warning-border));
    color: var(--text-dark);
    fill: rgb(var(--color-general-warning-text));
}
.banner-secondary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary-hover);
    color: var(--text-dark);
}

.banner-dismissed {
    visibility: hidden;
    opacity: 0;
}
.input-row {
    display: flex;
    transition-duration: var(--transition-duration);
    position: relative;
}
/* .input-row-input-inner[type="time"]:before {
    content: "--:-- --";
    position: absolute;
    color: var(--text-secondary);
}
.input-row-input-inner[type="time"]:focus:before, .input-row-input-inner[type="time"]:valid:before {
    content: "";
} */

.input-row:has(.ql-editor:focus-visible) .border {
    box-shadow: 0px 0px 0 1px var(--text-dark)!important;
    border-color: var(--text-dark)!important;
    background-color: var(--color-main)!important;
}
.ql-editor.ql-blank::before {
    color: var(--text-secondary)!important;
}
.input-row input[type="time"] {
    -webkit-appearance: none;
}
.input-row-error,
.input-row-warning,
.input-row-success,
.input-row-focused {
    position: relative;
}
.input-row.input-col {
    flex-direction: column;
}
.input-row.input-col .input-row-label {
    min-width: 0;
    width: unset;
}
.input-row .input-row-input:hover {
    /* background-color: rgb(var(--color-general-secondary-bg)); */
}
.input-row-search-opened .input-row-input,
.input-row-focused .input-row-input {
    background-color: var(--color-main)!important;
    border-color: var(--text-dark)!important;
    box-shadow: 0px 0px 0 1px var(--text-dark)!important;
}
.input-row-label {
    display: flex;
    position: relative;
    font-weight: 500;
    justify-content: space-between;
    width: 225px;
    min-width: 225px;
    font-size: 14px;
    padding: 8px 30px 8px 0;
    transition-duration: var(--transition-duration);
}
.input-row-readonly .input-row-label {
    /* background-color: var(--color-main); */
}
.input-row-readonly .input-row-switch,
.input-row-readonly .input-row-input-inner,
.input-row-readonly {
    cursor: not-allowed!important;
}
.input-row-input {
    position: relative;
    /* width: calc(100% - 225px); */
    display: flex;
    height: -moz-fit-content;
    height: fit-content;
    flex-grow: 1;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
}
.input-row-input input {
    position: relative;
    background-color: transparent;
    color: var(--text-dark);
    border: none;
    padding: 8px 12px;
    flex-grow: 1;
    max-height: 37px;
    height: 21px;
    font-size: 14px;
    font-family: var(--font-family);
    transition-duration: var(--transition-duration);
}
.input-row-input input::-webkit-calendar-picker-indicator {
    display: none;
}
/* .input-row .input-row-input {
    content: '';
    position: absolute;
    width: 100%;
    pointer-events: none;
    height: 100%;
    outline: var(--border);
    border-color: transparent;
} */
.input-row-error .input-row-input:hover,
.input-row-error .input-row-input {
    border-color: rgb(var(--color-general-danger-text));
    box-shadow: 0px 0px 0 1px rgb(var(--color-general-danger-text));
    background-color: rgb(var(--color-general-danger-bg));
}
.input-row-warning .input-row-input:hover,
.input-row-warning .input-row-input {
    border-color: rgb(var(--color-general-warning-text));
    box-shadow: 0px 0px 0 1px rgb(var(--color-general-warning-text));
    background-color: rgb(var(--color-general-warning-bg));
}
.input-row-success .input-row-input:hover,
.input-row-success .input-row-input {
    border-color: rgb(var(--color-general-success-text));
    box-shadow: 0px 0px 0 1px rgb(var(--color-general-success-text));
    background-color: rgb(var(--color-general-success-bg));
}
.input-row-input input:focus {
    outline: none;
}
.input-row-disabled .input-row-switch,
.input-row-disabled .input-row-input-inner {
    /* opacity: 0.8; */
    cursor: not-allowed;
    background-size: 6px 6px;
    background-image: repeating-linear-gradient(45deg, transparent 0, transparent 2px, var(--color-main) 0, var(--color-main) 50%);
    border-radius: var(--border-radius);
}
.input-row-arrow {
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 100%;
    padding: 0 16px;
    transition-duration: var(--transition-duration);
    cursor: pointer;
}
.input-row-arrow svg {
    width: 100%;
    height: 100%;
    fill: var(--text-secondary);
    transition-duration: var(--transition-duration);
}
.input-row-searchable.input-row-search-opened .input-row-arrow svg {
    transform: rotate(180deg);
}
.input-row-dropdown .input-row-arrow svg {
    transform: none!important;
}
.input-row-search {
    margin-top: 8px;
    will-change: top, left;
    z-index: 600;
    width: 100%;
    max-height: 40vh;
    min-height: 35px;
    margin: 0;
    border: 1px solid var(--color-border);
    background-color: var(--color-main);
    overflow: auto;
    box-shadow: none;
    min-width: 0;
    opacity: 0;
    visibility: hidden;
    border-radius: var(--border-radius);
    animation: drop var(--transition-duration) forwards;
    /* border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius); */
}
.input-row-search-up {
    /* border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius); */
}
@keyframes drop {
    0% {
        transform: translate(0px, 0);
        opacity: 0;
    }
    100% {
        transform: translate(0px, 5px);
        opacity: 1;
    }
}

.input-row-search-opened .input-row-search {
    opacity: 1;
    visibility: visible;
    box-shadow: var(--box-shadow);
}
.input-row-search-item {
    padding: 8px 12px;
    font-size: 14px;
    word-wrap: break-word;
    line-height: 1.5;
    cursor: pointer;
    color: var(--text-secondary);
    transition-duration: var(--transition-duration);
}
.input-row-dropdown-item:hover,
.input-row-search-item:hover {
    color: var(--text-dark);
    background-color: var(--color-secondary);
}
.input-row-dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
    word-wrap: break-word;
    line-height: 1.5;
    cursor: pointer;
    transition-duration: var(--transition-duration);
    display: flex;
    align-items: center;
}
.input-row-dropdown-item:hover svg {
    fill: var(--text-dark);
}
.input-row-dropdown-item svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    fill: var(--text-dark);
    transition-duration: var(--transition-duration);
}
.input-row-dropdown-item-checked {
    color: var(--text-dark);
}
.input-row-dropdown-item-checked svg {
    fill: var(--text-dark);
}
.input-row-select {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
}
.input-row-switch,
.input-row-select-item {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition-duration: var(--transition-duration);
}
.input-row-switch:hover,
.input-row-select-item:hover {
    background-color: var(--color-secondary);
}
.input-row-select-item-checked {
    color: var(--text-dark);
}
.input-row-select-item svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    fill: var(--text-dark);
    transition-duration: var(--transition-duration);
}
.input-row-select-item-checked svg {
    fill: var(--text-dark);
    margin: 0;
    /* width: 14px!important;
    height: 14px!important; */
}
.input-row-dropdown input {
    cursor: pointer;
    color: var(--text-dark)!important;
}
.input-row-dropdown .input-row-input-inner {
    padding-right: 45px;
}
.input-row-dropdown.input-row-search-opened .input-row-arrow svg {
    transform: rotate(180deg);
}
.input-row input::-webkit-date-and-time-value{
    text-align:left;
}

textarea.input-row-input-inner {
    background-color: transparent;
    font-family: var(--font-family);
    color: var(--text-dark);
    padding: 8px 12px;
    height: 55px;
    min-height: 50px;
    max-height: 476px;
    border: none;
    outline: none;
    font-size: 14px;
    text-wrap: wrap;
    resize: none;
    color: var(--text-dark);
    /* background-color: var(--color-main); */
}
.input-row-input-inner-dropdown {
    color: var(--color-brand);
    padding: 8px 12px;
    width: 100%;
}
.input-row-search-opened .input-row-input-inner-dropdown {
    border-color: var(--color-primary-bg-hover);
}

.input-row-sign {
    /* background-color: var(--color-secondary); */
    color: var(--text-dark);
    padding: 2px 0 2px 10px;
    border-radius: 6px;
    margin: 4px 0px 4px 6px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    text-wrap: nowrap;
}
.input-row-switch.input-row-switch-active {
    color: var(--text-dark);
}
.input-row-switch {
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
}

@media (max-width: 800px) {
    .input-row {
        flex-direction: column;
    }
    .input-row-focused input {
        /* background-color: var(--color-primary-bg-hover)!important; */
    }
    .input-row-label {
        flex-grow: 1;
        width: unset;
        min-width: 0;
        background-color: transparent;
        padding-top: 8px;
        padding-bottom: 8px;
        border-right: none;
    }
    .input-row-input-inner {
        min-width: 0;
        text-wrap: ellipsis;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .input-row-error .input-row-label {
        background-color: var(--color-marin);
        color: rgb(var(--color-general-danger-text));
    }
    .input-row-success .input-row-label {
        background-color: var(--color-marin);
        color: rgb(var(--color-general-success-text));
    }
    .input-row-warning .input-row-label {
        background-color: var(--color-marin);
        color: rgb(var(--color-general-warning-text));
    }
    .input-row .checkbox-wrapper,
    .input-row-label label {
        /* flex-grow: 1!important; */
    }
    .input-row-focused .input-row-label {
        /* background-color: transparent; */
    }
    .input-row-sign {
        margin-left: 4px;
    }
}
.checkbox-wrapper {
    cursor: pointer;
    display: flex;
    gap: 12px;
    position: relative;
    font-size: 12px;
}
.checkbox-wrapper.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
.checkbox-wrapper.disabled:active .checkbox,
.checkbox-wrapper.disabled:hover .checkbox {
    border-color: var(--color-border)!important;
    box-shadow: none!important;
}
.checkbox-wrapper.checkbox-read-only:hover .checkbox {
    border-color: var(--color-border)!important;
    box-shadow: none!important;
}
.checkbox-wrapper.checkbox-read-only {
    cursor: default;
}
.checkbox-wrapper .checkbox {
    border: 1px solid var(--color-border);
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    border-radius: 6px;
    position: relative;
    /* outline: 1px solid transparent; */
    transition-duration: var(--transition-duration);
}
.checkbox-rounded .checkbox {
    border-radius: 50%;
}
.checkbox-wrapper:hover .checkbox {
    border-color: var(--text-dark);
    background-color: transparent;
}
.checkbox-wrapper:hover .checkbox {
    /* outline: 1px solid var(--color-primary-bg-hover); */
    background-color: transparent;
}
.checkbox-wrapper:active .checkbox {
    border-color: var(--color-border)!important;
    box-shadow: var(--text-dark) 0px 0px 0px 2px, var(--text-light) 0px 0px 0px 4px;
}
.checkbox-wrapper .checkbox-checked {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -2px;
    left: -2px;
}
.checkbox-wrapper .checkbox-checked svg {
    width: 70%;
    height: 70%;
    fill: var(--text-light);
}
.checkbox-label {
    line-height: 1.43;
    color: var(--text-dark);
    letter-spacing: 0.2px;
    transition-duration: var(--transition-duration);
}
.checkbox-wrapper-checked:hover .checkbox,
.checkbox-wrapper-checked .checkbox {
    border-color: var(--text-dark);
    background-color: var(--text-dark);
}
.checkbox-success.checkbox-wrapper-checked.checkbox-wrapper.checkbox-read-only:hover .checkbox,
.checkbox-success.checkbox-wrapper-checked:hover .checkbox,
.checkbox-success.checkbox-wrapper-checked .checkbox {
    border-color: var(--color-success)!important;
    background-color: var(--color-success);
}
.checkbox-success.checkbox-wrapper:active .checkbox {
    border-color: var(--color-success-bg-hover)!important;
    box-shadow: var(--color-border) 0px 0px 0px 2px, var(--color-success) 0px 0px 0px 4px;
}
.checkbox-success.checkbox-wrapper:hover .checkbox {
    border-color: var(--color-success);
}
.checkbox-brand.checkbox-wrapper-checked.checkbox-wrapper.checkbox-read-only:hover .checkbox,
.checkbox-brand.checkbox-wrapper-checked:hover .checkbox,
.checkbox-brand.checkbox-wrapper-checked .checkbox {
    border-color: var(--color-brand)!important;
    background-color: var(--color-brand);
}
.checkbox-brand.checkbox-wrapper:active .checkbox {
    border-color: var(--color-brand-bg-hover)!important;
    box-shadow: var(--color-border) 0px 0px 0px 2px, var(--color-brand) 0px 0px 0px 4px;
}
.checkbox-brand.checkbox-wrapper:hover .checkbox {
    border-color: var(--color-brand);
}
.checkbox-warning.checkbox-wrapper-checked:hover .checkbox,
.checkbox-warning.checkbox-wrapper-checked .checkbox {
    border-color: var(--color-warning);
    background-color: var(--color-warning);
}
.checkbox-warning.checkbox-wrapper:active .checkbox {
    border-color: rgb(var(--color-general-warning-bg-hover))!important;
    box-shadow: var(--color-border) 0px 0px 0px 2px, var(--color-warning) 0px 0px 0px 4px;
}
.checkbox-warning.checkbox-wrapper:hover .checkbox {
    border-color: var(--color-warning);
}
.checkbox-danger.checkbox-wrapper-checked:hover .checkbox,
.checkbox-danger.checkbox-wrapper-checked .checkbox {
    border-color: var(--color-danger);
    background-color: var(--color-danger);
}
.checkbox-danger.checkbox-wrapper:active .checkbox {
    border-color: rgb(var(--color-general-danger-bg-hover))!important;
    box-shadow: var(--color-border) 0px 0px 0px 2px, var(--color-danger) 0px 0px 0px 4px;
}
.checkbox-wrapper:hover .checkbox-label {
    /* color: var(--text-light); */
}
.checkbox-danger.checkbox-wrapper:hover .checkbox {
    border-color: var(--color-danger);
}
.checkbox-wrapper .spinner {
    width: 14px;
    height: 14px;
}
.checkbox-warning:hover .checkbox-label,
.checkbox-warning .checkbox-label {
    color: var(--color-warning);
}
.checkbox-success:hover .checkbox-label,
.checkbox-success .checkbox-label {
    color: var(--color-success);
}
.checkbox-danger:hover .checkbox-label,
.checkbox-danger .checkbox-label {
    color: var(--color-danger);
}
.checkbox-danger .checkbox {
    border-color: var(--color-danger);
}
.checkbox-warning .checkbox {
    border-color: var(--color-warning);
}
.checkbox-success .checkbox {
    border-color: var(--color-success);
}

.checkbox-wrapper.checkbox-sm .checkbox {
    width: 12px;
    height: 12px;
    min-height: 12px;
    min-width: 12px;
}
.checkbox-wrapper.checkbox-sm .checkbox-checked {
    width: 16px;
    height: 16px;
}
.checkbox-wrapper.checkbox-lg .checkbox {
    width: 24px;
    height: 24px;
    min-height: 24px;
    min-width: 24px;
}
.checkbox-wrapper.checkbox-lg .checkbox-checked {
    width: 28px;
    height: 28px;
}
.input-default-container {
    position: relative;
    display: flex;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-xs);
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02);
    outline: 3px solid transparent;
}

.input-default-container:focus-within,
.input-default-container:hover {
    background-color: var(--color-tertiary);
}

.input-default-container .input-default-icon {
    padding-left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}
.input-default-container .input-default-icon.input-default-icon-right {
    padding-left: 0;
    padding-right: 12px;
}
.input-default-container .input-default-icon svg {
    width: 1em;
    height: 1em;
}

.input-default-container:hover input,
.input-default-container:focus-within .input-default-icon,
.input-default-container:focus-within input {
    filter: unset;
    opacity: 1;
    border-color: var(--color-general-default-border);
}
.input-default-container:focus-within svg {
    fill: rgb(var(--color-general-primary-text));
}

.input-default-display-placeholder input::placeholder,
.input-default-container:focus-within input::placeholder {
    color: var(--text-secondary)!important;
}
.input-default-wrapper {
    position: relative;
    flex-grow: 1;
}
.input-default-container {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-xs);
    font-size: 14px;
    position: relative;
    line-height: 1;
    min-height: 44px;
    background-color: transparent;
    color: var(--text-dark);
    transition: 150ms cubic-bezier(0, 0, 0.2, 1) 0ms;
}
.input-default-container select {
    width: 100%;
    height: 100%;
    position: absolute;
    border: none;
    background-color: transparent;
    color: var(--text-dark);
    padding: 12px;
    font-size: 14px;
    line-height: 1;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: 150ms cubic-bezier(0, 0, 0.2, 1) 0ms;
}
.input-default-container select option {
    color: var(--text-dark);
    background-color: var(--color-tertiary);
}
.input-default-container input {
    outline: none;
    border: none;
    font-family: var(--font-family);
    width: calc(100% - 24px);
    padding: 12px;
    font-size: 14px;
    line-height: 1;
    background-color: transparent;
    color: var(--text-dark);
    transition: 150ms cubic-bezier(0, 0, 0.2, 1) 0ms;
}

.input-default-container input[type="date"]::-webkit-calendar-picker-indicator {
    color-scheme: var(--color-scheme);
}
.input-default-container:focus-within label {
    color: rgb(var(--color-general-primary-text))!important;
}
.input-default-container:focus-within {
    border-color: rgb(var(--color-general-primary-text));
    outline: 3px solid rgb(var(--color-general-primary-border));
}

.input-default-container.input-default-success {
    border-color: rgb(var(--color-general-success-text));
}

.input-default-container.input-default-danger {
    border-color: rgb(var(--color-general-danger-text));
}
.input-default-container.input-default-danger svg {
    fill: rgb(var(--color-general-danger-text));
}
.input-default-container.input-default-danger label.filled {
    color: rgb(var(--color-general-danger-text));
}

.input-default-container.input-default-success svg {
    fill: rgb(var(--color-general-success-text));
}
.input-default-container.input-default-success label.filled {
    color: rgb(var(--color-general-success-text));
}
.input-default-container.input-default-success label {
    color: var(--text-dark);
    fill: var(--text-dark);
}

.input-default-container.input-default-warning svg {
    fill: rgb(var(--color-general-warning-text));
}
.input-default-container.input-default-warning label.filled {
    color: rgb(var(--color-general-warning-text));
}
.input-default-container.input-default-warning label {
    color: var(--text-dark);
    fill: var(--text-dark);
}
.input-default-container.input-default-warning {
    border-color: rgb(var(--color-general-warning-text));
}


input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--text-dark) !important;
}

.input-default-container:focus-within {
    border-color: rgb(var(--color-general-primary-text));
    outline: 3px solid rgb(var(--color-general-primary-border));
}
.input-default-container:focus-within svg {
    fill: rgb(var(--color-general-primary-text));
}

input[type="time"]::-webkit-calendar-picker-indicator {
    display: none;
}
.input-row-group .input-row-group-wrapper .line-button {
    border-radius: 0;
}

.input-row-group .input-row-group-wrapper .input-row:last-of-type {
    border-bottom: none;
}

.input-row-group .input-row-group-wrapper .input-row:not(:first-of-type):not(:last-of-type)>.input-row-label,
.input-row-group .input-row-group-wrapper .input-row:not(:first-of-type):not(:last-of-type) {
    border-radius: 0!important;
}

.input-row-group .input-row:first-of-type>.input-row-label {
    border-top-left-radius: var(--border-radius);
}

.input-row-group .input-row:first-of-type .input-row-switch,
.input-row-group .input-row:first-of-type .input-row-select div:first-child .checkbox-wrapper,
.input-row-group .input-row:first-of-type .input-row-input-inner {
    border-top-right-radius: var(--border-radius);
}

.input-row-group .input-row:last-of-type>.input-row-label {
    border-bottom-left-radius: var(--border-radius);
}

.input-row-group .input-row:last-of-type .input-row-switch,
.input-row-group .input-row:last-of-type .line-button:last-child,
.input-row-group .input-row:last-of-type .input-row-select div:last-child .checkbox-wrapper,
.input-row-group .input-row:last-of-type .input-row-input-inner {
    border-bottom-right-radius: var(--border-radius);
}

.input-row-group-wrapper .input-row:only-child>.input-row-label {
    border-left: none;
}

@media (max-width: 800px) {
    .input-row-group .input-row:first-of-type>.input-row-label {
        border-top-right-radius: var(--border-radius);
    }
    .input-row-group .input-row:last-of-type>.input-row-label {
        border-bottom-left-radius: 0;
    }
    .input-row-group .input-row .input-row-switch,
    .input-row-group .checkbox-wrapper {
        border-top-right-radius: 0;
    }
    .input-row-group .input-row:last-of-type .input-row-input-inner,
    .input-row-group .input-row:last-of-type .input-row-switch,
    .input-row-group .input-row:last-of-type .input-row-select div:last-child .checkbox-wrapper {
        border-bottom-left-radius: var(--border-radius);
    }
}
.progress-bar {
    width: 100%;
    height: var(--progress-bar-height);
    border-radius: var(--border-radius);
    background: var(--color-border);
    position: relative;
}
.progress-bar.progress-bar-custom::after {
    background-color: var(--progress-bar-color)!important;
}
.progress-bar.progress-bar-brand::after {
    background-color: var(--color-brand);
}
.progress-bar.progress-bar-warning::after {
    background-color: var(--color-warning);
}
.progress-bar.progress-bar-success::after {
    background-color: var(--color-success);
}
.progress-bar.progress-bar-danger::after {
    background-color: var(--color-danger);
}
.progress-bar.progress-bar-primary::after {
    background-color: var(--color-primary);
}
.progress-bar::after {
    content: "";
    width: var(--progress-bar-width);
    border-radius: var(--border-radius);
    height: var(--progress-bar-height);
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--color-success);
    transition-duration: var(--transition-duration);
}
.select-basic {
    background-color: var(--color-main);
    border-radius: var(--border-radius-sm);
    color: var(--text-dark);
    padding: 4px 2px;
    cursor: pointer;
    border: 1px solid var(--color-border);
    outline: none;
    font-size: 14px;

}
.select-basic:active {
    border-color: var(--color-secondary);
}
.select-basic:focus {
    background-color: var(--color-secondary);
}
.select-basic option {
    background-color: var(--color-main);
    color: var(--text-dark);
}
.select-basic option:hover {
    background-color: var(--color-secondary);
    color: var(--text-dark);
}
.line-button-group .line-button-group-content {
    background-color: var(--color-main);
}
.line-button-group .line-button-group-content {
    border-radius: var(--border-radius);
}
.line-button-group .line-button .border-bottom {
}

.line-button-group .line-button:first-child::before {
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}
.line-button-group .line-button:last-child::before {
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}
.line-button-group .line-button:last-child .border-bottom {
    border-color: transparent!important;
}
.line-button-group .line-button::before {
    border-radius: 0px;
}

.line-button-group .line-button:first-child {
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.line-button-group .line-button:last-child {
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}
.avatar-input {
    position: relative;
    cursor: pointer;
    transition-duration: var(--transition-duration);
}
.avatar-input:hover .avatar-hover {
    border-color: var(--color-secondary);
}
.avatar-input:active {
    transform: scale(0.95);
}
.avatar-input .avatar-hover {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: var(--text-light);
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border-radius: 50%; */
    border: 2px solid transparent;
    transition-duration: var(--transition-duration);
}
.avatar-input .avatar-hover svg {
    fill: var(--text-dark);
}
.avatar-input:hover .avatar-hover {
    opacity: 1;
}
.preview-image {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    min-height: inherit;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    line-height: 1;
    font-weight: 400;
    /* overflow: hidden; */
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    color: var(--text-light);
    background-color: var(--color-tertiary);
    transition: var(--transition-duration);
}

.preview-image.preview-image-full {
    width: 100%;
    height: 100%;
    font-size: 1.2rem;
}
.preview-image.preview-image-dynamic {
    width: 100%;
    height: 100%;
}

.preview-image .preview-image-contain {
    object-fit: contain;
}

.preview-image img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    text-align: center;
    color: transparent;
    object-fit: cover;
    object-position: center;
    background-color: #fff;
}

.preview-image .preview-image-loading {
    opacity: 0;
}


.preview-img-big-display {
    width: 100%;
    height: 100%;
    z-index: 999;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
    transition-duration: var(--transition-duration);
    animation: fadeIn var(--transition-duration) ease-in-out forwards;
    position: fixed;
}

.preview-img-big-display-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
}

.preview-img-big-display-container img {
    max-width: 75%;
    height: auto;
    object-fit: contain;
    cursor: default;
    object-position: center;
}

.preview-img-big-display-container-inner {
    pointer-events: initial;
    width: 100%;
    display: flex;
    justify-content: center;
    align-self: center;
    text-align: center;
}

.preview-img-big-display-container-inner-img {
    pointer-events: inherit;
}


.preview-image.preview-image-loading {
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

.preview-image.preview-image-loading img {
    opacity: 0;
}

.preview-image.img-error img {
    background-color: transparent;
}

.preview-img-big-display-controllers-top {
    position: absolute;
    top: 0;
    left: 0;
    padding: 12px 0;
    width: 100%;
    z-index: 1;
    color: #fff;
}
.preview-img-big-display-controllers-top .btn {
    color: #fff !important;
}
.preview-img-big-display-controllers-top:hover .btn:hover {
    background-color: rgba(0, 0, 0, 0.5) !important;
}
.preview-img-big-display-controllers-top svg {
    color: #fff!important;
    fill: #fff!important;
    cursor: pointer;
    stroke: #fff!important;
}

.preview-img-big-display-controllers-bottom .btn {
    color: #fff !important;
}
.preview-img-big-display-controllers-bottom:hover .btn:hover {
    background-color: rgba(0, 0, 0, 0.5) !important;
}
.preview-img-big-display-controllers-bottom svg {
    color: #fff!important;
    fill: #fff!important;
    cursor: pointer;
    stroke: #fff!important;
}

@media (max-width: 800px) {
    .preview-img-big-display-container-inner-img,
    .preview-img-big-display-container img {
        max-width: 100%;
    }
}
