/* Admin-Only Test Theme: JellyKit-inspired tactile paper & charcoal aesthetic */
html.theme-jelly body {
    background-color: #f4f0e8 !important;
    color: #181815 !important;
}
html.theme-jelly.dark body {
    background-color: #121210 !important;
    color: #f3ede0 !important;
}

/* Header & Footer */
html.theme-jelly header,
html.theme-jelly footer {
    background-color: #fbf9f4 !important;
    border-color: #181815 !important;
    border-width: 1.5px !important;
}
html.theme-jelly.dark header,
html.theme-jelly.dark footer {
    background-color: #181815 !important;
    border-color: #363630 !important;
}

/* Cards & Surfaces */
html.theme-jelly .bg-white,
html.theme-jelly section.bg-white,
html.theme-jelly .tool-card {
    background-color: #fbf9f4 !important;
    border: 1.5px solid #181815 !important;
    border-radius: 14px !important;
}
html.theme-jelly.dark .bg-white,
html.theme-jelly.dark section.bg-white,
html.theme-jelly.dark .tool-card {
    background-color: #1b1b18 !important;
    border: 1.5px solid #35352f !important;
    color: #f3ede0 !important;
}
html.theme-jelly .tool-card {
    box-shadow: 3px 3px 0 #181815 !important;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease !important;
}
html.theme-jelly.dark .tool-card {
    box-shadow: 3px 3px 0 #000000 !important;
}
html.theme-jelly .tool-card:hover {
    transform: translate(-2px, -2px) !important;
    box-shadow: 5px 5px 0 #e5cf69 !important;
    border-color: #181815 !important;
}
html.theme-jelly.dark .tool-card:hover {
    border-color: #e5cf69 !important;
    box-shadow: 4px 4px 0 #e5cf69 !important;
}

/* Secondary / Muted Surfaces */
html.theme-jelly .bg-slate-50,
html.theme-jelly .bg-slate-50\/90,
html.theme-jelly .bg-slate-100 {
    background-color: #ece6d9 !important;
    border-color: #cfc7b4 !important;
}
html.theme-jelly.dark .bg-slate-50,
html.theme-jelly.dark .bg-slate-50\/90,
html.theme-jelly.dark .bg-slate-100 {
    background-color: #23231f !important;
    border-color: #383831 !important;
}

/* Tactile Jellykit Buttons (Simple, Crisp, Offset Shadow) */
html.theme-jelly .bg-rose-600,
html.theme-jelly #process-btn,
html.theme-jelly #select-btn,
html.theme-jelly #r2-select-btn,
html.theme-jelly #conv-go-btn,
html.theme-jelly #qr-generate-btn {
    background-color: #e5cf69 !important;
    color: #181815 !important;
    border: 1.5px solid #181815 !important;
    border-radius: 10px !important;
    box-shadow: 3px 3px 0 #181815 !important;
    font-weight: 800 !important;
    transition: transform .1s ease, box-shadow .1s ease, background-color .1s ease !important;
}
html.theme-jelly.dark .bg-rose-600,
html.theme-jelly.dark #process-btn,
html.theme-jelly.dark #select-btn,
html.theme-jelly.dark #r2-select-btn,
html.theme-jelly.dark #conv-go-btn,
html.theme-jelly.dark #qr-generate-btn {
    background-color: #e5cf69 !important;
    color: #121210 !important;
    border: 1.5px solid #000000 !important;
    box-shadow: 3px 3px 0 #000000 !important;
}
html.theme-jelly .bg-rose-600:hover,
html.theme-jelly #process-btn:hover,
html.theme-jelly #select-btn:hover,
html.theme-jelly #r2-select-btn:hover {
    background-color: #eedb7e !important;
    transform: translate(-1px, -1px) !important;
    box-shadow: 4px 4px 0 #181815 !important;
}
html.theme-jelly .bg-rose-600:active,
html.theme-jelly #process-btn:active,
html.theme-jelly #select-btn:active {
    transform: translate(2px, 2px) !important;
    box-shadow: 1px 1px 0 #181815 !important;
}

/* Category Filter Pills & Secondary Buttons */
html.theme-jelly .cat-btn {
    border: 1.5px solid #181815 !important;
    border-radius: 10px !important;
    box-shadow: 2px 2px 0 #181815 !important;
    font-weight: 700 !important;
}
html.theme-jelly.dark .cat-btn {
    border-color: #3a3a33 !important;
    box-shadow: 2px 2px 0 #000000 !important;
}
html.theme-jelly .cat-btn.bg-slate-900 {
    background-color: #9ad7a8 !important;
    color: #121210 !important;
    border-color: #181815 !important;
}

/* Accent Text & Highlights */
html.theme-jelly.dark .text-rose-600,
html.theme-jelly.dark .text-rose-500 {
    color: #e5cf69 !important;
}
html.theme-jelly .bg-rose-50 {
    background-color: rgba(229, 207, 105, .22) !important;
    border-color: #e5cf69 !important;
}
html.theme-jelly.dark .bg-rose-50 {
    background-color: rgba(229, 207, 105, .14) !important;
    border-color: rgba(229, 207, 105, .45) !important;
}

/* Dropzone (Tactile Striped Card Feel) */
html.theme-jelly #dropzone,
html.theme-jelly #r2-dropzone {
    background-color: #f8f2d8 !important;
    border: 2px dashed #181815 !important;
    border-radius: 16px !important;
    box-shadow: 4px 4px 0 #181815 !important;
}
html.theme-jelly.dark #dropzone,
html.theme-jelly.dark #r2-dropzone {
    background-color: #1f1e18 !important;
    border: 2px dashed #e5cf69 !important;
    box-shadow: 4px 4px 0 #000000 !important;
}

/* Inputs & Search */
html.theme-jelly input:not([type="color"]):not([type="range"]):not([type="checkbox"]),
html.theme-jelly select,
html.theme-jelly textarea {
    border: 1.5px solid #181815 !important;
    border-radius: 10px !important;
}
html.theme-jelly.dark input:not([type="color"]):not([type="range"]):not([type="checkbox"]),
html.theme-jelly.dark select,
html.theme-jelly.dark textarea {
    background-color: #141412 !important;
    border-color: #3a3a33 !important;
    color: #f3ede0 !important;
}
