/* ============================================
   OV Cookies — consent bar + settings modal
   All declarations are !important so theme resets
   can't break the bar (colors, layout, visibility).
   ============================================ */
.ov-cookies { position: fixed !important; left: 30px !important; right: 30px !important; bottom: 30px !important; z-index: 99999 !important; font-family: inherit !important; border-radius: 20px !important; overflow: hidden !important; }
.ov-cookies--top { top: 0 !important; bottom: auto !important; }
.ov-cookies[hidden] { display: none !important; }
.ov-cookies__body-lock { overflow: hidden !important; }
/* ============================================
   Bar
   ============================================ */
.ov-cookies__bar { display: flex !important; flex-direction: column !important; gap: 60px !important; background: var(--ovc-bar-bg, #0a0a0a) !important; color: var(--ovc-bar-text, #fff) !important; padding: 30px !important; }
.ov-cookies__message { margin: 0 !important; font-size: 15px !important; line-height: 1.5 !important; }
.ov-cookies__message a { color: var(--ovc-bar-link, #fff) !important; text-decoration: underline !important; }
.ov-cookies__actions { display: flex !important; align-items: center !important; gap: 12px !important; }
@media (min-width: 768px) { .ov-cookies__bar { flex-direction: row !important; align-items: center !important; justify-content: space-between !important; gap: 30px !important; } }
/* ============================================
   Buttons
   ============================================ */
.ov-cookies__btn { font: inherit !important; font-size: 15px !important; line-height: 1.2 !important; padding: 10px 20px !important; border-radius: 4px !important; cursor: pointer !important; border: 1px solid transparent !important; transition: background .2s, color .2s !important; }
.ov-cookies__btn--settings { background: transparent !important; color: var(--ovc-btn-text, #fff) !important; border-color: var(--ovc-btn-border, #fff) !important; }
.ov-cookies__btn--reject { background: transparent !important; color: var(--ovc-btn-text, #fff) !important; border-color: var(--ovc-btn-border, #fff) !important; }
.ov-cookies__btn--settings:hover, .ov-cookies__btn--reject:hover { background: var(--ovc-btn-hover, rgba(255,255,255,.12)) !important; }
.ov-cookies__btn--accept { background: var(--ovc-accept-bg, #fff) !important; color: var(--ovc-accept-text, #0a0a0a) !important; border-color: var(--ovc-btn-border, #fff) !important; font-weight: 600 !important; }
.ov-cookies__btn--accept:hover { background: var(--ovc-accept-hover, #e5e7eb) !important; }
.ov-cookies__btn--save { background: var(--ovc-toggle-on, #0a0a0a) !important; color: var(--ovc-save-text, #fff) !important; border-color: var(--ovc-toggle-on, #0a0a0a) !important; font-weight: 600 !important; }
.ov-cookies__btn--save:hover { background: var(--ovc-save-hover, #262626) !important; }
.ov-cookies__close { background: none !important; border: none !important; color: inherit !important; font-size: 26px !important; line-height: 1 !important; padding: 2px 6px !important; cursor: pointer !important; opacity: .8 !important; }
.ov-cookies__close:hover { opacity: 1 !important; }
/* ============================================
   Modal
   ============================================ */
.ov-cookies__modal { position: fixed !important; inset: 0 !important; z-index: 100000 !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 24px !important; }
.ov-cookies__modal[hidden] { display: none !important; }
.ov-cookies__modal-overlay { position: absolute !important; inset: 0 !important; background: rgba(0,0,0,.6) !important; }
.ov-cookies__modal-dialog { position: relative !important; background: var(--ovc-modal-bg, #fff) !important; color: var(--ovc-modal-text, #111) !important; border-radius: 8px !important; max-width: 720px !important; width: 100% !important; max-height: 85vh !important; overflow-y: auto !important; padding: 32px !important; }
.ov-cookies__close--modal { position: absolute !important; top: 16px !important; right: 16px !important; color: var(--ovc-modal-text, #111) !important; font-size: 24px !important; }
.ov-cookies__modal-dialog h2 { margin: 0 0 8px !important; font-size: 26px !important; line-height: 1.3 !important; font-weight: 700 !important; color: var(--ovc-modal-text, #111) !important; padding-right: 32px !important; }
/* ============================================
   Category rows
   ============================================ */
.ov-cookies__category { display: flex !important; align-items: flex-start !important; justify-content: space-between !important; gap: 24px !important; padding: 24px 0 !important; border-bottom: 1px solid var(--ovc-modal-border, #e5e7eb) !important; }
.ov-cookies__category:first-child { padding-top: 16px !important; }
.ov-cookies__category:last-child { border-bottom: none !important; }
.ov-cookies__category-text h3 { margin: 0 0 8px !important; font-size: 18px !important; font-weight: 600 !important; color: var(--ovc-modal-text, #111) !important; }
.ov-cookies__category-text p { margin: 0 !important; font-size: 14px !important; line-height: 1.5 !important; color: inherit !important; opacity: .72 !important; max-width: 52ch !important; }
/* ============================================
   Toggle switch
   ============================================ */
.ov-cookies__toggle { position: relative !important; display: inline-block !important; width: 46px !important; height: 26px !important; flex-shrink: 0 !important; margin-top: 2px !important; }
.ov-cookies__toggle input { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; opacity: 0 !important; margin: 0 !important; cursor: pointer !important; z-index: 1 !important; }
.ov-cookies__toggle-track { position: absolute !important; inset: 0 !important; background: #d1d5db !important; border-radius: 999px !important; transition: background .2s !important; }
.ov-cookies__toggle-knob { position: absolute !important; top: 3px !important; left: 3px !important; width: 20px !important; height: 20px !important; background: #fff !important; border-radius: 50% !important; box-shadow: 0 1px 2px rgba(0,0,0,.25) !important; transition: transform .2s !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 12px !important; color: #0a0a0a !important; }
.ov-cookies__toggle input:checked + .ov-cookies__toggle-track { background: var(--ovc-toggle-on, #0a0a0a) !important; }
.ov-cookies__toggle input:checked + .ov-cookies__toggle-track .ov-cookies__toggle-knob { transform: translateX(20px) !important; }
.ov-cookies__toggle--locked input { cursor: not-allowed !important; }
.ov-cookies__toggle--locked .ov-cookies__toggle-track { background: #e5e7eb !important; }
.ov-cookies__toggle--locked .ov-cookies__toggle-knob { transform: translateX(20px) !important; }
.ov-cookies__toggle--locked .ov-cookies__toggle-knob::after { content: "✓" !important; }
/* ============================================
   Modal footer
   ============================================ */
.ov-cookies__modal-footer { display: flex !important; justify-content: flex-end !important; padding-top: 24px !important; }
/* ============================================
   Cookie list (modal details + privacy page table)
   ============================================ */
.ov-cookies__cookies { margin-top: 10px !important; font-size: 13px !important; color: inherit !important; opacity: .7 !important; }
.ov-cookies__cookies summary { cursor: pointer !important; user-select: none !important; font-weight: 500 !important; }
.ov-cookies__cookies summary:hover { opacity: 1 !important; }
.ov-cookies__cookies ul { margin: 8px 0 0 !important; padding-left: 18px !important; line-height: 1.6 !important; }
.ov-cookies-table { width: 100% !important; border-collapse: collapse !important; font-size: 14px !important; }
.ov-cookies-table th, .ov-cookies-table td { text-align: left !important; padding: 10px 12px !important; border-bottom: 1px solid #e5e7eb !important; vertical-align: top !important; }
.ov-cookies-table thead th { font-weight: 600 !important; }
.ov-cookies-table-empty { color: #6b7280 !important; font-size: 14px !important; }
