/* Auktionstjek cookie-banner – to visuelt ligeværdige valg, ingen nudging */
#at-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: #fffdf8;
  color: #1a2332;
  border-top: 2px solid #c4a574;
  box-shadow: 0 -8px 28px rgba(22, 56, 46, 0.12);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding: 18px 20px 20px;
}

#at-cookie-banner[hidden] {
  display: none !important;
}

#at-cookie-banner .at-cookie-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 28px;
  align-items: center;
}

#at-cookie-title {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.15rem;
  font-weight: 650;
  color: #16382e;
  margin: 0 0 6px;
}

#at-cookie-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #3d4650;
}

#at-cookie-text a {
  color: #1f5a46;
}

.at-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  min-width: 280px;
}

.at-cookie-actions button {
  flex: 1 1 160px;
  min-width: 160px;
  min-height: 48px;
  margin: 0;
  padding: 10px 16px;
  font: 700 1rem/1.2 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #16382e;
  background: #fffdf8;
  border: 2px solid #16382e;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
}

.at-cookie-actions button:hover,
.at-cookie-actions button:focus-visible {
  background: #eef4f1;
}

.at-cookie-actions button:focus-visible {
  outline: 3px solid #c4a574;
  outline-offset: 2px;
}

body.at-cookie-open {
  padding-bottom: 180px;
}

@media (max-width: 800px) {
  #at-cookie-banner .at-cookie-inner {
    grid-template-columns: 1fr;
  }

  .at-cookie-actions {
    min-width: 0;
    width: 100%;
  }

  .at-cookie-actions button {
    flex: 1 1 calc(50% - 6px);
  }
}
