﻿.library_shadow {
    -webkit-box-shadow: 0px -12px 14px rgba(255, 255, 255, 0.12);
    -moz-box-shadow: 0px -12px 14px rgba(255, 255, 255, 0.12);
    box-shadow: 0px -12px 14px rgba(255, 255, 255, 0.12);
}

/* Guide frame */
/* Guide frame blur background */
.blur-overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.blurry-screen {
    filter: blur(5px);
    transition: filter 0.3s;
}

/* Guide frame button */
.disabled-button {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

#file-upload[type="file"] {
    display: none;
}


.page_slider {
    position: absolute;
    cursor: pointer;
    height: 26px;
    width: 26px;
    background: #1fc2de;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}


@keyframes fadeInScaleIn {
    0% {
        opacity: 0;
        transform: scale(0.2);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes fadeOutScaleOut {
    0% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }

    100% {
        opacity: 0;
        transform: scale(0.2);
        filter: blur(5px);
    }
}

@keyframes bounce-1 {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5%);
    }

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

.inf-bounce-1 {
    animation: bounce-1 1s infinite ease-in-out;
}

.scale-in {
    animation: fadeInScaleIn 0.2s ease forwards;
}

.scale-out {
    animation: fadeOutScaleOut 0.2s ease backwards;
}

.scale-up {
    transition: transform 0.1s ease;
}

.scale-up:hover {
    transform: scale(1.1);
}

.no__highlights {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -html-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
}

/* Invisible scroll */
.scrollbar-hidden {
    scrollbar-color: transparent;
    scrollbar-width: none;
}

.scrollbar-hidden::-webkit-scrollbar {
    width: 0;
    scrollbar-width: none;
}

.scrollbar-hidden::-webkit-scrollbar-thumb {
    background-color: transparent;
    scrollbar-width: none;
}

@-webkit-keyframes slideInRight {
    0% {
        -webkit-transform: translate3d(100%,0,0);
        transform: translate3d(100%,0,0);
        visibility: visible
    }

    to {
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }
}

@keyframes slideInRight {
    0% {
        -webkit-transform: translate3d(100%,0,0);
        transform: translate3d(100%,0,0);
        visibility: visible
    }

    to {
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }
}

.slideInRight {
    -webkit-animation-name: slideInRight;
    animation-name: slideInRight
}


.nudge-button {
    display: grid;
    width: 42px;
    height: 42px;
    background-color: white;
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    justify-items: center;
    transition: background-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -html-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    user-drag: none;
}

    .nudge-button img {
        -webkit-user-drag: none;
        user-drag: none;
    }

    .nudge-button:active {
        transform: scale(0.95);
    }

    .nudge-button:disabled {
        pointer-events: none;
    }


.panel-basic-button {
    display: grid;
    height: 48px;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    background-color: white;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    border-radius: 8px;
    font-size: 14px;
    align-items: center;
    text-align: start;
}

    .panel-basic-button:hover {
        background-color: #1FC2DE;
    }

    .panel-basic-button:active {
        transform: scale(0.95);
    }

    .panel-basic-button img {
        width: 40px;
        height: 40px;
    }


.round-label-button {
    width: 100%;
    height: 48px;
    border-radius: 1rem;
    background-color: #1fc2de;
    color: white;
    font-weight: 600;
    text-align: center;
    transition: transform 0.2s;
}
    .round-label-button:active {
        transform: scale(0.95);
    }

.round-image-label-button {
    display: grid;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 45px;
    color: black;
    align-items: center;
    cursor: pointer;
    background-color: white;
    outline: 2px solid #1fc2de;
    border-radius: 1rem;
    /*transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;*/
}

    .round-image-label-button:hover {
        background-color: #1fc2de;
        color: white;
    }

    .round-image-label-button:active {
        transform: scale(0.95);
    }

.hover-image-container {
    position: relative;
}

.image-container {
    position: relative;
    width: 24px;
    height: 24px;
}

    .image-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        -webkit-user-drag: none;
        user-drag: none;
    }

.default-image {
    display: block;
}

.hover-image {
    display: none;
}

.hover-image-container:hover .default-image {
    display: none;
}

.hover-image-container:hover .hover-image {
    display: block;
}


.toggle-button {
    width: 100%;
    padding: 0.5rem;
    border-radius: 1rem;
    border-width: 2px;
    border-style: solid;
    border-color: #1fc2de;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}

    .toggle-button:active {
        transform: scale(0.95);
    }

    .toggle-button.bg-main {
        background-color: #1fc2de;
        color: white;
    }

    .toggle-button.bg-white {
        background-color: white;
        color: black;
    }


.carousel_grid_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, max-content));
}

.freehand-pointer-style {
    cursor: url("/images/design/freehand_raw.svg") 0 20, auto;
}

.line-pointer-style {
    cursor: url("/images/design/cursor_crosshair.svg") 9 9, auto;
}
.knife-pointer-style {
    cursor: url("/images/design/knife_icon.svg") 1 23, auto;
}
.invisible-cursor {
    cursor: none;
}

.slide-fade-in {
    -webkit-animation: fadeinlogo 0.5s;
    -moz-animation: fadeinlogo 0.5s;
    -o-animation: fadeinlogo 0.5s;
    animation: fadeinlogo 0.5s;
}

.guide-fade-in {
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(0);
    pointer-events: all;
}

.guide-fade-out {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.fade-in-logo {
    -webkit-animation: fadeinlogo 0.5s;
    -moz-animation: fadeinlogo 0.5s;
    -o-animation: fadeinlogo 0.5s;
    animation: fadeinlogo 0.5s;
}

@keyframes fadeinlogo {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Firefox < 16 */
@-moz-keyframes fadeinlogo {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadeinlogo {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Internet Explorer */
@-ms-keyframes fadeinlogo {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Opera < 12.1 */
@-o-keyframes fadeinlogo {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.tab_container {
    height: 150px;
    width: 20px;
    position: absolute;
    top: calc(50% - 75px);
    left: 0;
}

.tab_shape {
    display: inline-block;
    width: 30px;
    height: 250px;
    filter: url(#round);
}

.trapezoid_shape::before {
    content: "";
    display: block;
    padding-top: 600%;
    background: #1b1e1f;
    clip-path: polygon(0 0, 100% 13%, 100% 87%, 0% 100%);
}

.custom_qat_button {
    min-width: 42px;
    height: 42px;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    cursor: pointer;
    border-radius: 5px;
    background-color: white;
}

.custom_qat_button img {
    max-width: 100%;
    max-height: 100%;
}

.custom_qat_button_panel {
    min-width: 42px;
    height: 42px;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    cursor: pointer;
    border-radius: 5px;
    background-color: white;
}

.scrollable-content::-webkit-scrollbar {
    width: 8px;
}

.scrollable-content::-webkit-scrollbar-track {
    background: transparent;
}

.scrollable-content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    border: 0.5px solid transparent;
    background-clip: padding-box;
}

.scrollable-content {
    padding-right: 0.1rem;
}

.checkbox_alpha:before {
    content: '';
    position: absolute;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    top: 0;
    left: 0;
    transform: scale(1.1);
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.2);
    background-color: white;
    transition: .2s ease-in-out;
}

label .checkbox_alpha:checked {
    background-color: #1fc2de;
}

.checkbox_alpha:checked:before {
    left: 1.25rem;
}

.glass_container {
    background: rgba(255, 255, 255, 0);
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6.9px);
    -webkit-backdrop-filter: blur(6.9px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
} 