/* qr-generator specific overrides */

#qrRenderArea canvas {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom styling for inputs */
input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}
input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Base style for custom active tabs */
.tab-btn {
    transition: all 0.2s ease;
    border-radius: 9999px;
    font-weight: 600;
}
.tab-btn-inactive {
    background-color: transparent;
}
.tab-btn-active {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

body.dark .tab-btn-active {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

/* Ensure preset container doesn't cut off and scrolls smoothly */
#presetContainer {
    -webkit-overflow-scrolling: touch;
    width: 100%;
    scroll-behavior: smooth;
    scroll-padding: 0 40px;
}
#presetContainer::-webkit-scrollbar {
    display: none;
}

/* Navigation Arrow Specifics */
#prevPreset, #nextPreset {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 20;
}

@media (max-width: 768px) {
    #prevPreset, #nextPreset {
        opacity: 1 !important;
        width: 32px;
        height: 32px;
    }
}
