:root {
            --accent: #ffba42;
            --accent-dim: #c79133;
            --accent-glow: rgba(255, 186, 66, 0.15);
        }
        body { font-family: 'Inter', sans-serif; }

        .accent-bg  { background-color: var(--accent) !important; }
        .accent-text { color: var(--accent) !important; }
        .accent-border { border-color: var(--accent) !important; }

        .sidebar-link.active {
            background: var(--accent-glow) !important;
            color: var(--accent) !important;
        }

        .th-sort:hover {
    color: #e4e4e7 !important;
    background: rgba(255,255,255,0.04);
    user-select: none;
}

.btn-primary {
            background: var(--accent);
            color: white;
            padding: 8px 18px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            transition: all 0.15s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .btn-primary:hover { background-color: var(--accent-dim); transform: translateY(-1px); }

        .btn-secondary {
            background: rgba(113,113,122,0.15);
            color: inherit;
            padding: 8px 18px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            transition: all 0.15s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .btn-secondary:hover { background: rgba(113,113,122,0.28); }

        .btn-danger {
            background: #e11d48;
            color: white;
            padding: 8px 18px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            transition: all 0.15s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .btn-danger:hover { background-color: #be123c; transform: translateY(-1px); }

        .page { display: none; }
        .page.active { display: block; animation: fadeIn 0.18s ease; }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(5px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 50;
            background: rgba(0,0,0,0.6);
            backdrop-filter: blur(2px);
            align-items: center;
            justify-content: center;
        }
        .modal.open { display: flex; }

        /* Form inputs */
        .form-input {
            width: 100%;
            background: #f4f4f5;
            border: 1px solid #e4e4e7;
            border-radius: 8px;
            padding: 8px 12px;
            font-size: 13px;
            outline: none;
            transition: box-shadow 0.15s, border-color 0.15s;
            color: #18181b;
        }
        .dark .form-input {
            background: #27272a;
            border-color: #3f3f46;
            color: #f4f4f5;
        }
        .form-input:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px var(--accent-glow);
        }
        .form-label {
            display: block;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: #71717a;
            margin-bottom: 6px;
        }

        /* Color swatches */
        .color-swatch {
            width: 32px; height: 32px;
            border-radius: 50%;
            cursor: pointer;
            transition: transform 0.15s, border-color 0.15s;
            border: 3px solid transparent;
        }
        .color-swatch:hover { transform: scale(1.2); }
        .color-swatch.selected { border-color: white; box-shadow: 0 0 0 2px var(--accent); }
/* Sidebar: scroll discreto (solo aparece al hacer hover y muy fino) */
.sidebar-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(113,113,122,0.35) transparent;
}
.sidebar-scroll::-webkit-scrollbar       { width: 6px; }
.sidebar-scroll::-webkit-scrollbar-track { background: transparent; }
.sidebar-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(113,113,122,0.35);
    border-radius: 3px;
}
.sidebar-scroll::-webkit-scrollbar-thumb:hover { background-color: rgba(113,113,122,0.55); }
