:root {
    --primary-color: hsl(262 83% 58%);
    --bg-dark: #121212;
    --text-dark: #ffffff;
    --card-dark: #1e1e1e;
    --bg-light: #f5f5f5;
    --text-light: #212529;
    --card-light: #ffffff;
}

.bg-primary {
    background-color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color)
}

.snapshot-wrapper {
    width: 100%;
    max-width: 800px;
    height: 400px;
    border: 2px solid #ccc;
    /*
    background-color: #fff;
    */
    overflow: auto;
    margin: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.zoom-controls {
    margin-bottom: 15px;
    justify-content: center;
    position: relative;
    display: flex;
}

.zoom-controls button {
    padding: 6px 12px;
    margin: 0 5px;
    font-size: 16px;

}

.layer {
    position: absolute;
    overflow: hidden;
    cursor: pointer;
}

.text-layer {
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    z-index: 1;
    line-height: 1;
}

.image-layer img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    pointer-events: none;
    user-select: none;
}

/*login modal
*/
.auth-modal {
    backdrop-filter: blur(5px);
}

.form-container {
    perspective: 1000px;
}

.auth-form {
    transform-style: preserve-3d;
}

.flip-enter-active,
.flip-leave-active {
    transition: all 0.7s;
    transform-style: preserve-3d;
}

.flip-enter-from {
    transform: rotateY(180deg);
    opacity: 0;
}

.flip-leave-to {
    transform: rotateY(-180deg);
    opacity: 0;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.form-content {
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(192, 132, 252, 0.5) transparent;
}

.form-content::-webkit-scrollbar {
    width: 6px;
}

.form-content::-webkit-scrollbar-track {
    background: transparent;
}

.form-content::-webkit-scrollbar-thumb {
    background-color: rgba(192, 132, 252, 0.5);
    border-radius: 3px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/*
modal
*/
.custom-modal {
    backdrop-filter: blur(5px);
}

.modal-container {
    perspective: 1000px;
}

.modal-content {
    transform-style: preserve-3d;
}

.modal-inner {

    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(192, 132, 252, 0.5) transparent;
}