/* Cookie consent — light SaaS panel, no dark patterns */
.cc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  background: #fff;
  border-top: 1px solid rgba(16, 24, 40, 0.1);
  box-shadow: 0 -8px 28px rgba(16, 24, 40, 0.1);
  padding: 1rem 1.1rem;
}

.cc-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cc-title {
  font-size: 1.05rem;
  font-weight: 750;
  margin: 0 0 0.35rem;
  color: #121826;
}

.cc-text {
  margin: 0;
  color: #5b6575;
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 42rem;
}

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cc-btn {
  font-size: 0.88rem;
}

.cc-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  background: rgba(16, 24, 40, 0.45);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.cc-modal[hidden] {
  display: none !important;
}

.cc-modal-dialog {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem 1.2rem 1.1rem;
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.2);
}

.cc-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.cc-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 10px;
}

.cc-row strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.cc-row small {
  color: #5b6575;
  font-size: 0.82rem;
  line-height: 1.35;
}

.cc-row input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-legal-links {
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
}

.footer-legal-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content {
  line-height: 1.6;
}

.legal-pending {
  font-size: 1.05rem;
}

@media (max-width: 575.98px) {
  .cc-actions {
    width: 100%;
  }
  .cc-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}
