/* THEME: Light Grey, Black, Gold */
:root {
    --bg-light: #f3f4f6;     /* Light Grey */
    --bg-panel: #ffffff;     /* White */
    --text-main: #111827;    /* Black/Dark Grey */
    --accent-gold: #d97706;  /* Rich Gold */
    --btn-black: #000000;    /* Solid Black */
}

body { 
    font-family: 'Segoe UI', sans-serif; 
    background-color: var(--bg-light); 
    color: var(--text-main); 
}

/* FLOATING DROPDOWN - FIXED Z-INDEX */
#floating-dropdown {
    position: fixed;
    z-index: 9999;
    background-color: var(--bg-panel);
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    min-width: 180px;
    padding: 0.5rem 0;
    display: none;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}
#floating-dropdown.open {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #374151;
    font-size: 0.9rem;
    text-align: left;
    width: 100%;
    transition: all 0.2s;
    cursor: pointer;
    border-left: 3px solid transparent;
}
.dropdown-item:hover { 
    background-color: #f9fafb; 
    color: var(--accent-gold); 
    border-left-color: var(--accent-gold); 
}

/* HAMBURGER SIDEBAR */
#mobile-menu-sidebar { 
    transition: transform 0.3s ease-in-out; 
    transform: translateX(-100%); 
    background-color: #ffffff; 
}
#mobile-menu-sidebar.open { 
    transform: translateX(0); 
}
#mobile-menu-overlay { 
    transition: opacity 0.3s ease-in-out; 
    opacity: 0; 
    pointer-events: none; 
}
#mobile-menu-overlay.open { 
    opacity: 1; 
    pointer-events: auto; 
}

.sidebar-link { 
    display: flex; 
    align-items: center; 
    padding: 1rem; 
    border-bottom: 1px solid #f3f4f6; 
    color: #111827; 
    font-weight: 500; 
    transition: background 0.2s; 
}
.sidebar-link:hover { 
    background-color: #f9fafb; 
    color: var(--accent-gold); 
}

/* Animations */
.animate-fade-in { 
    animation: fadeIn 0.5s ease-out; 
}
@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* CATEGORY FILTER BUTTONS */
.cat-btn {
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 6px;
}
.cat-btn:hover {
    border-color: #000;
    color: #000;
    transform: translateY(-1px);
}
.cat-btn.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

/* TOAST NOTIFICATION */
.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #111827;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 12px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 14px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
}
.toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f3f4f6; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }