/* /assets/consent.css — Elviro */

:root{
  --primary:#0b1f3a;
  --accent:#f7941d;
  --bg:#f7f7f7;
  --text:#1b1b1b;
  --muted:#6b7280;
  --white:#ffffff;
}

.hidden{display:none !important}

.consent{
  position:fixed;
  left:16px; right:16px; bottom:16px;
  z-index:9999;
  display:flex;
  justify-content:center;
}

.consent__inner{
  width:min(980px, 100%);
  background:rgba(11,31,58,.96);
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:16px 16px 14px;
  box-shadow:0 18px 55px rgba(0,0,0,.28);
}

.consent__title{
  margin:0 0 6px;
  font-weight:800;
  letter-spacing:.2px;
  font-size:1.05rem;
}

.consent__text{
  margin:0;
  color:rgba(255,255,255,.85);
  font-size:.95rem;
  line-height:1.45;
}

.consent__link{
  color:#fff;
  text-decoration:underline;
  font-weight:700;
}

.consent__actions{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Buttons */
.btn{
  border:0;
  border-radius:999px;
  padding:10px 14px;
  font:inherit;
  font-weight:800;
  cursor:pointer;
  line-height:1;
}

.btn--primary{
  background:var(--accent);
  color:#000;
}

.btn--secondary{
  background:rgba(255,255,255,.14);
  color:#fff;
  border:1px solid rgba(255,255,255,.20);
}

.btn--ghost{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.35);
}

.btn:disabled{opacity:.6;cursor:not-allowed}

/* Modal */
.modal{
  position:fixed;
  inset:0;
  z-index:10000;
  background:rgba(0,0,0,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.modal__dialog{
  width:min(760px, 100%);
  background:var(--white);
  color:var(--text);
  border-radius:18px;
  padding:18px;
  box-shadow:0 18px 55px rgba(0,0,0,.30);
}

.modal__dialog h2{
  margin:0 0 12px;
  color:var(--primary);
}

fieldset{
  border:0;
  padding:0;
  margin:10px 0;
}

.switch{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:12px 12px;
  border:1px solid #e5e7eb;
  border-radius:14px;
  background:#fff;
}

.switch input{
  margin-top:3px;
  transform:scale(1.15);
}

.modal__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

/* Reopen button */
.consent-reopen{
  position:fixed;
  right:14px;
  bottom:14px;
  z-index:9998;
  background:rgba(11,31,58,.92);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  padding:10px 12px;
  font:inherit;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 14px 40px rgba(0,0,0,.22);
}

@media (max-width:520px){
  .consent__inner{padding:14px}
  .btn{width:100%; text-align:center}
  .consent-reopen{right:12px; left:12px}
}
