/* Custom animations and scroll styling */
:root {
    --purple-primary: #8b5cf6;
    --blue-primary: #3b82f6;
}

body {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

body::-webkit-scrollbar {
    width: 6px;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.menu-item-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item-card:active {
    transform: scale(0.98);
}

.qty-pill {
    transition: all 0.2s ease;
}

.qty-pill:active {
    background-color: var(--purple-primary);
    color: white;
}

/* Glassmorphism utility */
.glass {
    background: rgba(22, 22, 24, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Smooth input focus */
input:focus {
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

/* Tab transitions */
.hidden {
    display: none !important;
}

#app>div {
    transition: opacity 0.5s ease;
}