/* ---- Cookie consent (assets/js/consent.js) ------------------------------
 * Dark panel in the site palette. Selectors are prefixed and reset the
 * Hello Elementor theme's global button/heading styles they would inherit;
 * button rules are scoped to .cc-banner/.cc-modal to outrank
 * ".elementor-kit-15 button", which paints every button with the gradient.
 */
.cc-banner, .cc-modal {
  --cc-bg: #17161E;
  --cc-surface: #1F1E28;
  --cc-line: rgba(255, 255, 255, .12);
  --cc-ink: #FFFFFF;
  --cc-ink-2: #C9C7D1;
  --cc-muted: #9C99A8;
  --cc-primary: #C025FF;
  --cc-secondary: #7732C5;
  --cc-accent: #FFC332;
  font-family: "Poppins", "Plus Jakarta Sans", sans-serif; /* privacy and 404 pages load only Plus Jakarta Sans */
  color: var(--cc-ink-2);
  line-height: 1.55;
}
.cc-banner *, .cc-modal * { box-sizing: border-box; }
.cc-banner h2, .cc-modal h2, .cc-modal h3 {
  font-family: "Plus Jakarta Sans", sans-serif; color: var(--cc-ink); margin: 0; line-height: 1.25; font-weight: 600; letter-spacing: -.01em;
}
.cc-banner p, .cc-modal p { margin: 0; }
.cc-banner a, .cc-modal a { color: #E19AFF; text-decoration: underline; text-underline-offset: 2px; }
.cc-banner a:hover, .cc-modal a:hover { color: #fff; }

.cc-banner .cc-btn, .cc-modal .cc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 .9rem/1 "Plus Jakarta Sans", sans-serif; letter-spacing: 0; text-transform: none;
  padding: 12px 18px; border-radius: 10px; cursor: pointer; white-space: nowrap;
  transition: transform .15s, box-shadow .15s, background-color .15s, border-color .15s;
}
.cc-banner .cc-btn:focus-visible, .cc-modal .cc-btn:focus-visible { outline: 3px solid var(--cc-accent); outline-offset: 2px; }
.cc-banner .cc-btn-primary, .cc-modal .cc-btn-primary {
  color: #fff; border: 0; border-bottom: 3px solid var(--cc-secondary);
  background: linear-gradient(145deg, var(--cc-accent) 0%, var(--cc-primary) 60%);
  box-shadow: 0 8px 24px rgba(218, 59, 255, .35);
}
.cc-banner .cc-btn-primary:hover, .cc-modal .cc-btn-primary:hover, .cc-banner .cc-btn-primary:focus, .cc-modal .cc-btn-primary:focus { color: #fff; background: linear-gradient(145deg, var(--cc-accent) 0%, var(--cc-primary) 60%); transform: translateY(-1px); }
.cc-banner .cc-btn-secondary, .cc-modal .cc-btn-secondary { color: #fff; background: #0F0F0F; border: 1px solid var(--cc-primary); }
.cc-banner .cc-btn-secondary:hover, .cc-modal .cc-btn-secondary:hover, .cc-banner .cc-btn-secondary:focus, .cc-modal .cc-btn-secondary:focus { color: #fff; background: #1d1427; border-color: #E19AFF; }

.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100000;
  max-width: 1080px; margin: 0 auto;
  background: var(--cc-bg); border: 1px solid var(--cc-line); border-radius: 16px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(192, 37, 255, .15);
  animation: cc-up .25s ease-out;
}
@keyframes cc-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cc-banner-inner { display: flex; align-items: center; gap: 24px; padding: 20px 24px; }
.cc-text h2 { font-size: 1.05rem; margin-bottom: 4px; }
.cc-text p { font-size: .88rem; }
.cc-actions { display: flex; gap: 8px; flex: none; flex-wrap: wrap; }
@media (max-width: 860px) {
  .cc-banner-inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px; }
  .cc-actions { flex-direction: column-reverse; }
  .cc-banner .cc-actions .cc-btn { width: 100%; }
}

.cc-locked, .cc-locked body { overflow: hidden; }
.cc-modal { position: fixed; inset: 0; z-index: 100001; display: flex; align-items: center; justify-content: center; padding: 16px; }
.cc-modal[hidden] { display: none; }
.cc-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); }
.cc-dialog {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px);
  display: flex; flex-direction: column;
  background: var(--cc-bg); border: 1px solid var(--cc-line); border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .6); outline: none;
}
.cc-dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--cc-line); }
.cc-dialog-head h2 { font-size: 1.2rem; }
.cc-modal .cc-close {
  width: 36px; height: 36px; padding: 0; border-radius: 8px; border: 1px solid var(--cc-line); background: transparent;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--cc-ink-2);
}
.cc-modal .cc-close:hover, .cc-modal .cc-close:focus { background: var(--cc-surface); color: #fff; }
.cc-close svg { width: 18px; height: 18px; }
.cc-body { padding: 20px 24px; overflow-y: auto; display: grid; gap: 12px; }
.cc-body > p { font-size: .9rem; }
.cc-cat { border: 1px solid var(--cc-line); background: var(--cc-surface); border-radius: 12px; padding: 16px; }
.cc-cat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.cc-cat h3 { font-size: .98rem; margin-bottom: 4px; }
.cc-cat p { font-size: .84rem; color: var(--cc-muted); }
.cc-always { font-size: .76rem; font-weight: 600; color: #6EE7B7; background: rgba(16, 185, 129, .14); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.cc-switch { position: relative; flex: none; width: 44px; height: 26px; cursor: pointer; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cc-switch span { position: absolute; inset: 0; background: #4B4957; border-radius: 999px; transition: background .15s; pointer-events: none; }
.cc-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); transition: transform .15s; }
.cc-switch input:checked + span { background: var(--cc-primary); }
.cc-switch input:checked + span::after { transform: translateX(18px); }
.cc-switch input:focus-visible + span { outline: 3px solid var(--cc-accent); outline-offset: 2px; }
.cc-dialog-foot { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; padding: 16px 24px; border-top: 1px solid var(--cc-line); }
@media (max-width: 520px) { .cc-dialog-foot { flex-direction: column-reverse; } .cc-modal .cc-dialog-foot .cc-btn { width: 100%; } }

/* ---- Privacy policy page: cookie table and settings button ------------- */
.oa-table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; }
.oa-table-wrap table { width: 100%; border-collapse: collapse; font-size: .9em; margin: 0; }
.oa-table-wrap.oa-wide table { min-width: 560px; }
.oa-table-wrap th, .oa-table-wrap td { text-align: left; padding: 12px 14px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); vertical-align: top; background: transparent; }
.oa-table-wrap th { background: rgba(255, 255, 255, .05); color: #fff; font-weight: 600; }
.oa-table-wrap tr:last-child td { border-bottom: 0; }
.oa-table-wrap code { font-size: .9em; background: rgba(255, 255, 255, .08); border-radius: 6px; padding: 1px 6px; color: #fff; }
.oa-consent-id { font-size: .9em; color: #9C99A8; }
.oa-consent-id code { word-break: break-all; }
.oa-settings-btn.elementor-button, .oa-settings-btn.elementor-button:hover { text-decoration: none; }
