/* Banner de cookies · CPR BiG Formación */
.big-cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 10500;
  max-width: 720px;
  margin: 0 auto;
  background: #06213a;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(87, 174, 234, 0.35);
  border-radius: 1rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  font-family: "Nunito", "Source Sans Pro", system-ui, sans-serif;
}

.big-cookie-banner[hidden] {
  display: none !important;
}

.big-cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
}

.big-cookie-title {
  margin: 0 0 0.35rem;
  font-family: "Barlow Condensed", "Nunito", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.big-cookie-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.big-cookie-desc a {
  color: #57aeea;
  text-decoration: underline;
}

.big-cookie-config {
  margin: 0.9rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
}

.big-cookie-config legend {
  float: left;
  width: 100%;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.big-cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.4rem 0;
  font-size: 0.88rem;
  line-height: 1.45;
  cursor: pointer;
}

.big-cookie-option input {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: #57aeea;
}

.big-cookie-option strong {
  color: #fff;
}

.big-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.big-cookie-btn {
  appearance: none;
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  font: 700 0.9rem "Nunito", sans-serif;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.big-cookie-btn:focus-visible {
  outline: 3px solid #ffc558;
  outline-offset: 2px;
}

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

.big-cookie-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.big-cookie-btn--primary {
  background: #016fbc;
  color: #fff;
  border: 1px solid #016fbc;
}

.big-cookie-btn--primary:hover {
  background: #57aeea;
  border-color: #57aeea;
  color: #06213a;
}

.big-cookie-btn[hidden] {
  display: none !important;
}

@media (min-width: 640px) {
  .big-cookie-inner {
    padding: 1.5rem 1.75rem;
  }
}

@media (max-width: 480px) {
  .big-cookie-banner {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
  }

  .big-cookie-actions {
    flex-direction: column-reverse;
  }

  .big-cookie-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .big-cookie-banner:not([hidden]) {
    animation: big-cookie-in 0.35s ease-out;
  }

  @keyframes big-cookie-in {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
