/* Cookie consent — PauseFit KVKK banner (non-blocking) */
.cc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  background: #fff;
  border-top: 1px solid rgba(16, 24, 40, 0.12);
  box-shadow: 0 -8px 28px rgba(16, 24, 40, 0.12);
  padding: 1rem 1.1rem calc(1rem + env(safe-area-inset-bottom, 0px));
}

.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: 700;
  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-text a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.cc-btn {
  font-size: 0.88rem;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  border: 1px solid #333;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-weight: 600;
}

.cc-btn:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.cc-btn-primary {
  background: var(--primary, #06c6d1);
  color: var(--theme-text-color, #fff);
  border-color: var(--primary, #06c6d1);
}

.cc-btn-primary:hover {
  background: var(--primary-hover, #05b5bf);
  border-color: var(--primary-hover, #05b5bf);
}

.cc-btn:not(.cc-btn-primary):hover {
  background: #f5f5f5;
}

.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(540px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  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.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .cc-actions {
    width: 100%;
  }

  .cc-actions .cc-btn {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
  }

  .cc-actions .cc-btn-primary {
    flex: 1 1 100%;
  }
}
