/* =============================================================
   MIRAI — Cookie notice banner (js/cookieConsent.js)
   Self-contained: works on every page, whatever else it loads.
   ============================================================= */

.cc-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 2147483000;            /* above the app canvas and the curtain menu */
  background: #11111b;
  border-top: 1px solid rgba(219, 50, 77, 0.55);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  padding: 16px;
  font-family: 'Montserrat', system-ui, sans-serif;
  color: #8D99AE;
}
.cc-banner[hidden] { display: none; }

.cc-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
}
.cc-copy { flex: 1 1 420px; min-width: 0; }

.cc-title {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #FFFFFF;
}
.cc-text { margin: 0; font-size: 12px; line-height: 1.7; }
.cc-text a { color: #FFFFFF; text-decoration: none; border-bottom: 0.5px solid rgba(255, 255, 255, 0.45); }
.cc-text a:hover { border-bottom-color: #DB324D; }

.cc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cc-actions button {
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 2px;
  cursor: pointer;
  min-height: 44px;
}
.cc-accept { background: #DB324D; color: #FFFFFF; border: 0; }
.cc-accept:hover { background: #B81E3B; }
.cc-decline { background: transparent; color: #FFFFFF; border: 0.5px solid rgba(141, 153, 174, 0.45); }
.cc-decline:hover { border-color: #DB324D; }
.cc-actions button:focus-visible, .cc-text a:focus-visible { outline: 2px solid #DB324D; outline-offset: 2px; }

html[dir="rtl"] .cc-banner, html[dir="rtl"] .cc-banner * { letter-spacing: 0 !important; }

@media (max-width: 600px) {
  .cc-actions { width: 100%; }
  .cc-actions button { flex: 1 1 0; }
}

/* ===== Footer: cookie links in the legal line ===== */
.footer-cookie-links a, .footer-cookie-links button {
  font: inherit;
  display: inline-block;
  min-height: 24px;               /* a comfortable tap target in the legal line */
  line-height: 24px;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 0.5px solid rgba(141, 153, 174, 0.35);
}
.footer-cookie-links a:hover, .footer-cookie-links button:hover { color: #FFFFFF; }
