/* Estilos compartidos: botón de idioma y aviso / ajustes de cookies. */

.lang-toggle {
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  color: rgba(236, 236, 236, .7);
  background: none;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 6px 10px 6px 12px;
  cursor: pointer;
  transition: color .3s, border-color .3s;
}
.lang-toggle:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }

.consent {
  position: fixed;
  z-index: 50;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 20px;
  color: #ececec;
  font-size: 14px;
  line-height: 1.5;
}
.consent p { margin: 0 0 14px; color: rgba(236, 236, 236, .8); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; }
.consent__btn {
  font: inherit;
  font-size: 13px;
  color: #ececec;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background .3s, border-color .3s;
}
.consent__btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); }
.consent__btn--main { background: #fff; color: #000; border-color: #fff; font-weight: 600; }
.consent__btn--main:hover { background: #ddd; }

.consent-dialog {
  width: min(480px, calc(100vw - 32px));
  padding: 24px;
  color: #ececec;
  border: 1px solid rgba(255, 255, 255, .14);
  background-color: rgba(14, 14, 14, .9);
}
.consent-dialog::backdrop { background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.consent-dialog h2 { margin: 0 0 16px; font-size: 13px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: rgba(236, 236, 236, .7); }
.ck-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  cursor: pointer;
}
.ck-row b { font-weight: 600; font-size: 14px; }
.ck-row p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: rgba(236, 236, 236, .65); }
.ck-row input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: #fff; }
.consent-dialog .consent__actions { margin-top: 12px; justify-content: space-between; }
.ck-more { color: rgba(236, 236, 236, .65); font-size: 13px; text-decoration: underline; }
