/* Accidentis · Banner de cookies */
.cc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: #fff;
  color: #0A1B3D;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(10, 27, 61, 0.25), 0 2px 8px rgba(10, 27, 61, 0.08);
  border: 1px solid #E2E8F0;
  padding: 18px 20px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.cc-banner.cc-open { transform: translateY(0); opacity: 1; }
@media (min-width: 640px) {
  .cc-banner {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: 720px;
    padding: 22px 24px;
  }
}
@media (min-width: 1024px) {
  .cc-banner { left: 24px; bottom: 24px; }
}
.cc-banner__title {
  font-weight: 700;
  font-size: 16px;
  color: #0A1B3D;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cc-banner__title::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%; background: #00d0db;
  display: inline-block;
}
.cc-banner__text {
  color: #475569;
  margin: 0 0 14px;
  font-size: 13.5px;
}
.cc-banner__text a { color: #114ff5; text-decoration: underline; text-underline-offset: 2px; }
.cc-banner__text a:hover { color: #0D3DD1; }
.cc-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cc-btn {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 600;
  font-size: 13.5px;
  font-family: inherit;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.cc-btn--primary { background: #114ff5; color: #fff; }
.cc-btn--primary:hover { background: #0D3DD1; box-shadow: 0 6px 18px rgba(17,79,245,.25); }
.cc-btn--ghost { background: #fff; color: #0A1B3D; border: 1px solid #E2E8F0; }
.cc-btn--ghost:hover { border-color: #114ff5; color: #114ff5; }
.cc-btn--link { background: transparent; color: #475569; padding: 11px 10px; }
.cc-btn--link:hover { color: #114ff5; text-decoration: underline; }

@media (min-width: 480px) {
  .cc-banner__actions { flex-wrap: nowrap; }
  .cc-btn { flex: 0 1 auto; }
  .cc-btn--primary, .cc-btn--ghost { min-width: 130px; }
}

/* Modal de configuración */
.cc-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(10, 27, 61, 0.55);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.cc-modal-backdrop.cc-open { opacity: 1; pointer-events: auto; }
.cc-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -45%);
  width: calc(100% - 32px);
  max-width: 560px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  z-index: 10001;
  padding: 26px 24px;
  box-shadow: 0 20px 60px rgba(10, 27, 61, 0.4);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.cc-modal.cc-open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.cc-modal__title { font-size: 20px; font-weight: 700; color: #0A1B3D; margin: 0 0 6px; }
.cc-modal__sub { font-size: 13.5px; color: #475569; margin: 0 0 18px; line-height: 1.55; }
.cc-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-top: 1px solid #E2E8F0;
}
.cc-row:last-of-type { border-bottom: 1px solid #E2E8F0; }
.cc-row__main { flex: 1; min-width: 0; }
.cc-row__name { font-weight: 600; color: #0A1B3D; font-size: 14.5px; margin: 0 0 2px; }
.cc-row__desc { font-size: 12.5px; color: #64748B; margin: 0; line-height: 1.5; }
.cc-row__locked {
  flex-shrink: 0;
  font-size: 11.5px; color: #00d0db; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  padding-top: 2px;
}
.cc-switch {
  flex-shrink: 0;
  position: relative; width: 42px; height: 24px;
  background: #CBD5E1; border-radius: 12px;
  cursor: pointer; transition: background .2s ease;
  margin-top: 1px;
}
.cc-switch::after {
  content: ''; position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; transition: transform .2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.cc-switch.cc-on { background: #114ff5; }
.cc-switch.cc-on::after { transform: translateX(18px); }
.cc-modal__actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.cc-modal__actions .cc-btn { flex: 1 1 140px; }

/* Link "Gestionar cookies" del footer */
.cc-manage-link { cursor: pointer; }
