/* ============================================================
   TXLOC — Cookie consent banner (matches the site design system)
   ============================================================ */
.tx-cookie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1080;
  display: flex;
  justify-content: center;
  padding: clamp(12px, 3vw, 24px);
  pointer-events: none;
}
.tx-cookie[hidden] { display: none; }

.tx-cookie__panel {
  pointer-events: auto;
  width: 100%;
  max-width: 720px;
  background: rgba(9, 20, 38, .92);
  color: #eaf2ff;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: clamp(16px, 2.5vw, 22px);
  animation: txCookieUp .5s cubic-bezier(.16, 1, .3, 1);
}
@keyframes txCookieUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tx-cookie__banner { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.tx-cookie__text { flex: 1 1 320px; min-width: 260px; }
.tx-cookie__title { font-family: var(--tx-font-head, sans-serif); font-weight: 700; font-size: 1.02rem; color: #fff; margin-bottom: 4px; }
.tx-cookie__title i { color: var(--tx-cyan-400, #22d3ee); margin-right: 4px; }
.tx-cookie__desc { font-size: .86rem; line-height: 1.55; color: #b9cbe6; margin: 0; }
.tx-cookie__desc a { color: var(--tx-cyan-400, #22d3ee); text-decoration: underline; }

.tx-cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tx-cookie__banner .tx-cookie__actions { flex: 0 0 auto; }
.tx-cookie__customize .tx-cookie__actions { margin-top: 16px; justify-content: flex-end; }

.tx-cookie__btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.tx-cookie__btn:hover { transform: translateY(-1px); }
.tx-cookie__btn--primary { background: var(--tx-blue-600, #2563eb); color: #fff; }
.tx-cookie__btn--primary:hover { background: var(--tx-blue-500, #3b73f5); box-shadow: 0 10px 24px rgba(37, 99, 235, .35); }
.tx-cookie__btn--ghost { background: transparent; color: #cdddf0; border-color: rgba(255, 255, 255, .22); }
.tx-cookie__btn--ghost:hover { border-color: rgba(255, 255, 255, .5); color: #fff; }

.tx-cookie__options { display: grid; gap: 10px; margin-top: 6px; }
.tx-cookie__option {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}
.tx-cookie__option span { display: flex; flex-direction: column; }
.tx-cookie__option strong { font-size: .9rem; color: #fff; font-weight: 600; }
.tx-cookie__option small { font-size: .78rem; color: #93a9cc; margin-top: 2px; }
.tx-cookie__option input { width: 20px; height: 20px; accent-color: var(--tx-cyan-500, #06b6d4); flex: none; }
.tx-cookie__option input:disabled { opacity: .6; }

@media (max-width: 575.98px) {
  .tx-cookie__actions { width: 100%; }
  .tx-cookie__btn { flex: 1 1 auto; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .tx-cookie__panel { animation: none; }
  .tx-cookie__btn:hover { transform: none; }
}
