/* Extracted from resources/views/layouts/cookie_consent.blade.php */
#bgCookieConsentBanner {
    z-index: 999990 !important;
}
#bgCookiePreferencesModal {
    z-index: 99999999 !important;
    position: fixed !important;
    inset: 0 !important;
}
#bgCookiePrefCard {
    z-index: 100000000 !important;
    position: relative !important;
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
}

/* Light Theme Pure CSS Switch */
.bg-pref-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
}
.bg-pref-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
    margin: 0;
}
.bg-pref-switch .bg-pref-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 9999px;
    border: 1px solid #94a3b8;
}
.bg-pref-switch .bg-pref-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: #ffffff;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.1);
}
.bg-pref-switch input:checked + .bg-pref-slider {
    background-color: #2563eb;
    border-color: #1d4ed8;
}
.bg-pref-switch input:checked + .bg-pref-slider:before {
    transform: translateX(20px);
}
.bg-pref-switch:hover .bg-pref-slider {
    border-color: #64748b;
}
.bg-pref-switch input:checked:hover + .bg-pref-slider {
    background-color: #1d4ed8;
}

/* Light Category Item Styling */
.bg-pref-category-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.2s ease;
}
.bg-pref-category-item:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}
