/* Cookie consent banner and settings dialog (js/cookie-consent.js) */
.cc-banner, .cc-modal { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: #1b1d21; }
.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 10050;
  max-width: 1080px; margin: 0 auto; background: #fff; border: 1px solid #dcdcdc;
  box-shadow: 0 18px 50px rgba(15, 20, 30, .18); padding: 20px 24px;
  display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center;
  transform: translateY(24px); opacity: 0; transition: transform .35s ease, opacity .35s ease;
}
.cc-banner.is-visible { transform: none; opacity: 1; }
.cc-banner h2 { font-size: 16px; font-weight: 700; margin: 0 0 6px; line-height: 1.3; color: #1b1d21; }
.cc-banner p { font-size: 13.5px; line-height: 1.55; margin: 0; color: #4a5059; }
.cc-banner a, .cc-modal a { color: #0000ff; text-decoration: underline; }
.cc-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cc-btn {
  font: 600 14px/1 'Inter', system-ui, sans-serif; padding: 13px 20px; border: 1px solid #0000ff;
  cursor: pointer; white-space: nowrap; border-radius: 0; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cc-btn-primary { background: #0000ff; color: #fff; }
.cc-btn-primary:hover { background: rgb(237, 155, 12); border-color: rgb(237, 155, 12); }
.cc-btn-secondary { background: #fff; color: #0000ff; }
.cc-btn-secondary:hover { background: #f1f1ff; }
.cc-btn-link { background: transparent; border-color: transparent; color: #1b1d21; text-decoration: underline; padding-left: 8px; padding-right: 8px; }
.cc-btn:focus-visible, .cc-switch input:focus-visible + span { outline: 3px solid rgb(237, 155, 12); outline-offset: 2px; }

.cc-modal { position: fixed; inset: 0; z-index: 10060; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 14, 22, .55); }
.cc-modal.is-open { display: flex; }
.cc-dialog { background: #fff; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.cc-dialog header { padding: 22px 24px 8px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.cc-dialog h2 { font-size: 19px; margin: 0; font-weight: 700; }
.cc-close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: #555; padding: 0 4px; }
.cc-dialog .cc-intro { padding: 0 24px; font-size: 13.5px; line-height: 1.55; color: #4a5059; margin: 0 0 8px; }
.cc-notice { margin: 8px 24px 0; padding: 10px 12px; background: #fff7e6; border-left: 3px solid rgb(237, 155, 12); font-size: 13px; line-height: 1.5; }
.cc-cat { margin: 14px 24px 0; border: 1px solid #e4e1d8; padding: 14px 16px; }
.cc-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cc-cat h3 { font-size: 15px; margin: 0; font-weight: 600; }
.cc-cat p { font-size: 13px; line-height: 1.5; color: #4a5059; margin: 8px 0 0; }
.cc-always { font-size: 12px; font-weight: 600; color: #12676a; white-space: nowrap; }
.cc-switch { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.cc-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc-switch span { width: 46px; height: 26px; background: #c8ccd2; border-radius: 26px; position: relative; transition: background .2s ease; display: block; }
.cc-switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .2s ease; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.cc-switch input:checked + span { background: #0000ff; }
.cc-switch input:checked + span::after { transform: translateX(20px); }
.cc-dialog footer { padding: 18px 24px 22px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.cc-map-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 24px; text-align: center; background: #f1f1f0; font: 14px/1.5 'Inter', system-ui, sans-serif; color: #4a5059;
}

@media (max-width: 760px) {
  .cc-banner { grid-template-columns: 1fr; left: 10px; right: 10px; bottom: 10px; padding: 16px; gap: 14px; }
  .cc-actions { justify-content: stretch; }
  .cc-actions .cc-btn { flex: 1 1 auto; }
  .cc-actions .cc-btn-link { flex-basis: 100%; }
  .cc-dialog footer .cc-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .cc-banner { transition: none; } }
@media print { .cc-banner, .cc-modal { display: none !important; } }
