/* ==========================================================================
   PrestaGDPR Pro - EU Cookie Banner, Preferences Modal & Privacy Center CSS
   Author: PrestaModules.fr
   ========================================================================== */

:root {
  --pm-gdpr-accent: #4f46e5;
  --pm-gdpr-bg: #0f172a;
  --pm-gdpr-text: #f8fafc;
}

/* Cookie Banner Container */
#pm-gdpr-banner-wrap {
  position: fixed;
  z-index: 2147483000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  line-height: 1.5;
  box-sizing: border-box;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#pm-gdpr-banner-wrap * {
  box-sizing: border-box;
}

/* Layouts */
.pm-gdpr-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pm-theme-light .pm-gdpr-top-bar {
  border-bottom-color: #e2e8f0;
}

.pm-gdpr-brand-logo {
  max-height: 28px;
  max-width: 140px;
  object-fit: contain;
}

.pm-gdpr-brand-logo-inline {
  max-height: 22px;
  max-width: 110px;
  object-fit: contain;
  margin-right: 6px;
  vertical-align: middle;
}

.pm-gdpr-link-reject {
  background: transparent;
  border: none;
  color: inherit;
  opacity: 0.75;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 6px;
  transition: opacity 0.15s ease, transform 0.15s ease;
  margin-left: auto;
}

.pm-gdpr-link-reject:hover {
  opacity: 1;
  transform: translateX(2px);
}

/* Click-to-Play Iframe Shield Placeholder */
.pm-gdpr-iframe-placeholder {
  position: relative;
  background: #0f172a;
  color: #f8fafc;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 220px;
  box-sizing: border-box;
}

.pm-gdpr-iframe-placeholder-btn {
  background: var(--pm-gdpr-accent, #4f46e5);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.pm-gdpr-iframe-placeholder-btn:hover {
  transform: scale(1.03);
}

#pm-gdpr-banner-wrap.pm-layout-bottom_bar {
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 1380px;
  margin: 0 auto;
}

#pm-gdpr-banner-wrap.pm-layout-floating_left {
  left: 20px;
  bottom: 20px;
  width: 540px;
  max-width: calc(100vw - 32px);
}

#pm-gdpr-banner-wrap.pm-layout-floating_right {
  right: 20px;
  bottom: 20px;
  width: 540px;
  max-width: calc(100vw - 32px);
}

#pm-gdpr-banner-wrap.pm-layout-center_modal {
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#pm-gdpr-banner-wrap.pm-layout-center_modal .pm-gdpr-banner-card {
  max-width: 680px;
  width: 100%;
}

/* Banner Card */
.pm-gdpr-banner-card {
  background: var(--pm-gdpr-bg, #0f172a);
  color: var(--pm-gdpr-text, #f8fafc);
  border-radius: 16px;
  padding: 22px 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

/* 6 Pre-defined Preset Themes (Sirdata & Axeptio inspired) */
.pm-theme-dark .pm-gdpr-banner-card {
  background: #0f172a;
  color: #f8fafc;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.pm-theme-light .pm-gdpr-banner-card {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16), 0 0 0 1px #e2e8f0;
}

.pm-theme-glass .pm-gdpr-banner-card {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  color: #f8fafc;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.pm-theme-midnight .pm-gdpr-banner-card {
  background: linear-gradient(135deg, #090d16 0%, #111827 100%);
  color: #f9fafb;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(99, 102, 241, 0.25);
}

.pm-theme-royal_blue .pm-gdpr-banner-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #1e3a8a 100%);
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(59, 130, 246, 0.3);
}

.pm-theme-emerald .pm-gdpr-banner-card {
  background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
  color: #ecfdf5;
  box-shadow: 0 20px 50px rgba(6, 78, 59, 0.4), 0 0 0 1px rgba(52, 211, 153, 0.3);
}

.pm-gdpr-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.pm-layout-floating_left .pm-gdpr-banner-inner,
.pm-layout-floating_right .pm-gdpr-banner-inner,
.pm-layout-center_modal .pm-gdpr-banner-inner {
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.pm-layout-floating_left .pm-gdpr-banner-actions,
.pm-layout-floating_right .pm-gdpr-banner-actions,
.pm-layout-center_modal .pm-gdpr-banner-actions {
  flex-wrap: nowrap;
}

.pm-layout-floating_left .pm-gdpr-banner-actions .pm-gdpr-btn,
.pm-layout-floating_right .pm-gdpr-banner-actions .pm-gdpr-btn,
.pm-layout-center_modal .pm-gdpr-banner-actions .pm-gdpr-btn {
  flex: 1;
}

.pm-gdpr-banner-content {
  flex: 1;
  min-width: 260px;
}

.pm-gdpr-banner-title {
  font-size: 16.5px;
  font-weight: 800;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
}

.pm-gdpr-gcm-pill {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.pm-theme-light .pm-gdpr-gcm-pill {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

.pm-gdpr-banner-desc {
  font-size: 13px;
  opacity: 0.88;
  margin: 0;
  line-height: 1.55;
}

.pm-gdpr-banner-desc a {
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
}

.pm-gdpr-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.pm-gdpr-btn {
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.pm-gdpr-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.pm-gdpr-btn-accept {
  background: var(--pm-gdpr-accent, #4f46e5);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.pm-gdpr-btn-reject {
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.pm-theme-light .pm-gdpr-btn-reject {
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}

.pm-gdpr-btn-custom {
  background: transparent;
  color: inherit;
  border: 1px dashed rgba(255, 255, 255, 0.3);
}

.pm-theme-light .pm-gdpr-btn-custom {
  border-color: #94a3b8;
  color: #475569;
}

/* Granular Preferences Modal */
#pm-gdpr-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483100;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
}

.pm-gdpr-modal-box {
  background: #ffffff;
  color: #0f172a;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pm-gdpr-modal-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pm-gdpr-modal-header h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff !important;
}

.pm-gdpr-modal-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
}

.pm-gdpr-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.pm-gdpr-cat-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  background: #f8fafc;
}

.pm-gdpr-cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pm-gdpr-cat-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.pm-gdpr-cat-desc {
  font-size: 12.5px;
  color: #475569;
  margin: 0;
}

/* Toggle Switch */
.pm-gdpr-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 25px;
  flex-shrink: 0;
}

.pm-gdpr-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.pm-gdpr-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: 0.2s;
  border-radius: 999px;
}

.pm-gdpr-slider:before {
  position: absolute;
  content: "";
  height: 19px;
  width: 19px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: 0.2s;
  border-radius: 50%;
}

.pm-gdpr-switch input:checked + .pm-gdpr-slider {
  background-color: var(--pm-gdpr-accent, #4f46e5);
}

.pm-gdpr-switch input:checked + .pm-gdpr-slider:before {
  transform: translateX(21px);
}

.pm-gdpr-cookie-table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  font-size: 12px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.pm-gdpr-cookie-table th,
.pm-gdpr-cookie-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12px;
  vertical-align: middle;
}

.pm-gdpr-cookie-table th {
  background: #f8fafc;
  font-weight: 700;
  color: #334155;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.pm-gdpr-modal-footer {
  padding: 16px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Floating Re-open Badge */
#pm-gdpr-floating-badge {
  position: fixed;
  bottom: 18px;
  z-index: 2147482900;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease;
}

#pm-gdpr-floating-badge:hover {
  transform: scale(1.04);
}

#pm-gdpr-floating-badge.pm-pos-bottom_left {
  left: 18px;
}

#pm-gdpr-floating-badge.pm-pos-bottom_right {
  right: 18px;
}

/* Customer Privacy Center Page */
.pm-privacy-center-wrap {
  max-width: 1080px;
  margin: 20px auto 50px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
}

.pm-privacy-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #312e81 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.35);
}

.pm-privacy-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.pm-privacy-hero-content {
  flex: 1;
  min-width: 280px;
}

.pm-privacy-hero-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pm-privacy-hero-title {
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.pm-privacy-hero-sub {
  color: #cbd5e1;
  font-size: 13.5px;
  margin: 0;
  line-height: 1.5;
}

.pm-privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.pm-privacy-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 24px;
}

.pm-privacy-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pm-privacy-card-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}

.pm-privacy-card-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
}

.pm-privacy-card-meta {
  font-size: 12px;
  color: #64748b;
  display: block;
  margin-top: 2px;
}

.pm-privacy-card-desc {
  font-size: 13.5px;
  color: #475569;
  margin: 0 0 16px 0;
  line-height: 1.55;
}

.pm-privacy-card-desc strong {
  color: #0f172a;
  font-weight: 700;
}

.pm-privacy-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.pm-privacy-btn-secondary {
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pm-privacy-btn-secondary:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #0f172a;
}

.pm-privacy-dpo-link {
  color: #4f46e5;
  text-decoration: underline;
  font-weight: 600;
}

.pm-privacy-card-erasure {
  border-left: 4px solid #ef4444 !important;
}

.pm-privacy-erasure-title {
  margin: 0 0 10px 0;
  font-size: 17px;
  font-weight: 800;
  color: #991b1b;
}

.pm-privacy-alert-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #92400e;
  line-height: 1.5;
}

.pm-privacy-alert-warning strong {
  color: #78350f;
  font-weight: 700;
}

.pm-privacy-history-section {
  margin-bottom: 20px;
}

.pm-privacy-section-title {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 10px 0;
  color: #0f172a;
}

.pm-privacy-cookie-category {
  color: #0f172a;
  font-weight: 700;
}

.pm-privacy-cookie-provider {
  color: #334155;
}

.pm-privacy-cookie-duration {
  color: #64748b;
}

.pm-privacy-cookie-purpose {
  color: #334155;
}

.pm-privacy-code {
  background: #f1f5f9;
  color: #db2777;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 11.5px;
  border: 1px solid #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 600;
  word-break: break-all;
}

.pm-privacy-badge-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
}

.pm-status-pending {
  background: #fef3c7;
  color: #92400e;
}

.pm-status-success {
  background: #d1fae5;
  color: #065f46;
}

.pm-status-danger {
  background: #fee2e2;
  color: #991b1b;
}

.pm-status-neutral {
  background: #f1f5f9;
  color: #475569;
}

.pm-privacy-form-group {
  margin-bottom: 14px;
}

.pm-privacy-form-label {
  font-weight: 700;
  font-size: 13px;
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
}

.pm-privacy-textarea {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13.5px;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.pm-privacy-textarea:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.pm-privacy-btn-danger {
  background: #ef4444 !important;
  color: #ffffff !important;
  border: none;
  font-weight: 800;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pm-privacy-btn-danger:hover {
  background: #dc2626 !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   PrestaGDPR Pro - Full Dark Mode Support
   ========================================================================== */
[data-theme="dark"] .pm-privacy-card,
html:not([data-theme="light"]) .pm-privacy-card,
body.theme-dark .pm-privacy-card,
body.dark-mode .pm-privacy-card {
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5) !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .pm-privacy-card-title,
html:not([data-theme="light"]) .pm-privacy-card-title,
body.theme-dark .pm-privacy-card-title,
body.dark-mode .pm-privacy-card-title {
  color: #f8fafc !important;
}

[data-theme="dark"] .pm-privacy-card-meta,
html:not([data-theme="light"]) .pm-privacy-card-meta,
body.theme-dark .pm-privacy-card-meta,
body.dark-mode .pm-privacy-card-meta {
  color: #94a3b8 !important;
}

[data-theme="dark"] .pm-privacy-card-desc,
html:not([data-theme="light"]) .pm-privacy-card-desc,
body.theme-dark .pm-privacy-card-desc,
body.dark-mode .pm-privacy-card-desc {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .pm-privacy-card-desc strong,
html:not([data-theme="light"]) .pm-privacy-card-desc strong,
body.theme-dark .pm-privacy-card-desc strong,
body.dark-mode .pm-privacy-card-desc strong {
  color: #ffffff !important;
}

[data-theme="dark"] .pm-privacy-btn-secondary,
html:not([data-theme="light"]) .pm-privacy-btn-secondary,
body.theme-dark .pm-privacy-btn-secondary,
body.dark-mode .pm-privacy-btn-secondary {
  background: #1e293b !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .pm-privacy-btn-secondary:hover,
html:not([data-theme="light"]) .pm-privacy-btn-secondary:hover,
body.theme-dark .pm-privacy-btn-secondary:hover,
body.dark-mode .pm-privacy-btn-secondary:hover {
  background: #334155 !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}

[data-theme="dark"] .pm-privacy-dpo-link,
html:not([data-theme="light"]) .pm-privacy-dpo-link,
body.theme-dark .pm-privacy-dpo-link,
body.dark-mode .pm-privacy-dpo-link {
  color: #818cf8 !important;
}

/* Erasure / Right to be Forgotten */
[data-theme="dark"] .pm-privacy-card-erasure,
html:not([data-theme="light"]) .pm-privacy-card-erasure,
body.theme-dark .pm-privacy-card-erasure,
body.dark-mode .pm-privacy-card-erasure {
  border-left: 4px solid #ef4444 !important;
  background: #0f172a !important;
}

[data-theme="dark"] .pm-privacy-erasure-title,
html:not([data-theme="light"]) .pm-privacy-erasure-title,
body.theme-dark .pm-privacy-erasure-title,
body.dark-mode .pm-privacy-erasure-title {
  color: #f87171 !important;
}

[data-theme="dark"] .pm-privacy-alert-warning,
html:not([data-theme="light"]) .pm-privacy-alert-warning,
body.theme-dark .pm-privacy-alert-warning,
body.dark-mode .pm-privacy-alert-warning {
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  color: #fde68a !important;
}

[data-theme="dark"] .pm-privacy-alert-warning strong,
html:not([data-theme="light"]) .pm-privacy-alert-warning strong,
body.theme-dark .pm-privacy-alert-warning strong,
body.dark-mode .pm-privacy-alert-warning strong {
  color: #fbbf24 !important;
}

[data-theme="dark"] .pm-privacy-section-title,
html:not([data-theme="light"]) .pm-privacy-section-title,
body.theme-dark .pm-privacy-section-title,
body.dark-mode .pm-privacy-section-title {
  color: #f8fafc !important;
}

/* Tables in Dark Mode */
[data-theme="dark"] .pm-gdpr-cookie-table,
html:not([data-theme="light"]) .pm-gdpr-cookie-table,
body.theme-dark .pm-gdpr-cookie-table,
body.dark-mode .pm-gdpr-cookie-table {
  background: #090d16 !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] .pm-gdpr-cookie-table th,
html:not([data-theme="light"]) .pm-gdpr-cookie-table th,
body.theme-dark .pm-gdpr-cookie-table th,
body.dark-mode .pm-gdpr-cookie-table th {
  background: #1e293b !important;
  color: #94a3b8 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .pm-gdpr-cookie-table td,
html:not([data-theme="light"]) .pm-gdpr-cookie-table td,
body.theme-dark .pm-gdpr-cookie-table td,
body.dark-mode .pm-gdpr-cookie-table td {
  color: #cbd5e1 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

[data-theme="dark"] .pm-privacy-cookie-category,
html:not([data-theme="light"]) .pm-privacy-cookie-category,
body.theme-dark .pm-privacy-cookie-category,
body.dark-mode .pm-privacy-cookie-category {
  color: #f8fafc !important;
}

[data-theme="dark"] .pm-privacy-cookie-provider,
html:not([data-theme="light"]) .pm-privacy-cookie-provider,
body.theme-dark .pm-privacy-cookie-provider,
body.dark-mode .pm-privacy-cookie-provider {
  color: #e2e8f0 !important;
}

[data-theme="dark"] .pm-privacy-cookie-duration,
html:not([data-theme="light"]) .pm-privacy-cookie-duration,
body.theme-dark .pm-privacy-cookie-duration,
body.dark-mode .pm-privacy-cookie-duration {
  color: #94a3b8 !important;
}

[data-theme="dark"] .pm-privacy-cookie-purpose,
html:not([data-theme="light"]) .pm-privacy-cookie-purpose,
body.theme-dark .pm-privacy-cookie-purpose,
body.dark-mode .pm-privacy-cookie-purpose {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .pm-privacy-code,
html:not([data-theme="light"]) .pm-privacy-code,
body.theme-dark .pm-privacy-code,
body.dark-mode .pm-privacy-code {
  background: rgba(99, 102, 241, 0.16) !important;
  color: #a5b4fc !important;
  border: 1px solid rgba(99, 102, 241, 0.3) !important;
}

/* Status Badges */
[data-theme="dark"] .pm-status-pending,
html:not([data-theme="light"]) .pm-status-pending,
body.theme-dark .pm-status-pending,
body.dark-mode .pm-status-pending {
  background: rgba(245, 158, 11, 0.18) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
}

[data-theme="dark"] .pm-status-success,
html:not([data-theme="light"]) .pm-status-success,
body.theme-dark .pm-status-success,
body.dark-mode .pm-status-success {
  background: rgba(16, 185, 129, 0.18) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
}

[data-theme="dark"] .pm-status-danger,
html:not([data-theme="light"]) .pm-status-danger,
body.theme-dark .pm-status-danger,
body.dark-mode .pm-status-danger {
  background: rgba(239, 68, 68, 0.18) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
}

[data-theme="dark"] .pm-status-neutral,
html:not([data-theme="light"]) .pm-status-neutral,
body.theme-dark .pm-status-neutral,
body.dark-mode .pm-status-neutral {
  background: #1e293b !important;
  color: #94a3b8 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Form inputs */
[data-theme="dark"] .pm-privacy-form-label,
html:not([data-theme="light"]) .pm-privacy-form-label,
body.theme-dark .pm-privacy-form-label,
body.dark-mode .pm-privacy-form-label {
  color: #f8fafc !important;
}

[data-theme="dark"] .pm-privacy-textarea,
html:not([data-theme="light"]) .pm-privacy-textarea,
body.theme-dark .pm-privacy-textarea,
body.dark-mode .pm-privacy-textarea {
  background: #1e293b !important;
  border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .pm-privacy-textarea::placeholder,
html:not([data-theme="light"]) .pm-privacy-textarea::placeholder,
body.theme-dark .pm-privacy-textarea::placeholder,
body.dark-mode .pm-privacy-textarea::placeholder {
  color: #64748b !important;
}

[data-theme="dark"] .pm-privacy-textarea:focus,
html:not([data-theme="light"]) .pm-privacy-textarea:focus,
body.theme-dark .pm-privacy-textarea:focus,
body.dark-mode .pm-privacy-textarea:focus {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.22) !important;
}

/* Preferences Modal in Dark Mode */
[data-theme="dark"] .pm-gdpr-modal-box,
html:not([data-theme="light"]) .pm-gdpr-modal-box,
body.theme-dark .pm-gdpr-modal-box,
body.dark-mode .pm-gdpr-modal-box {
  background: #0f172a !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7) !important;
}

[data-theme="dark"] .pm-gdpr-modal-body,
html:not([data-theme="light"]) .pm-gdpr-modal-body,
body.theme-dark .pm-gdpr-modal-body,
body.dark-mode .pm-gdpr-modal-body {
  background: #0f172a !important;
}

[data-theme="dark"] .pm-gdpr-cat-card,
html:not([data-theme="light"]) .pm-gdpr-cat-card,
body.theme-dark .pm-gdpr-cat-card,
body.dark-mode .pm-gdpr-cat-card {
  background: #1e293b !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .pm-gdpr-cat-title,
html:not([data-theme="light"]) .pm-gdpr-cat-title,
body.theme-dark .pm-gdpr-cat-title,
body.dark-mode .pm-gdpr-cat-title {
  color: #f8fafc !important;
}

[data-theme="dark"] .pm-gdpr-cat-desc,
html:not([data-theme="light"]) .pm-gdpr-cat-desc,
body.theme-dark .pm-gdpr-cat-desc,
body.dark-mode .pm-gdpr-cat-desc {
  color: #94a3b8 !important;
}

[data-theme="dark"] .pm-gdpr-modal-footer,
html:not([data-theme="light"]) .pm-gdpr-modal-footer,
body.theme-dark .pm-gdpr-modal-footer,
body.dark-mode .pm-gdpr-modal-footer {
  background: #090d16 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

