#hal-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10000;
  background: #ffffff;
  border: 1px solid #cdd6df;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.45;
  color: #1f2a36;
  max-width: 960px;
  margin: 0 auto;
}

#hal-cookie-banner.hidden {
  display: none;
}

.hal-cookie-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hal-cookie-copy {
  flex: 1 1 440px;
}

.hal-cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hal-cookie-btn {
  border: 1px solid #1b4f8a;
  background: #1b4f8a;
  color: #ffffff;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
}

.hal-cookie-btn.secondary {
  background: #ffffff;
  color: #1b4f8a;
}

.hal-cookie-btn.ghost {
  background: #f2f6fb;
  color: #1b4f8a;
}

#hal-cookie-panel {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  background: rgba(0, 0, 0, 0.45);
}

#hal-cookie-panel.open {
  display: block;
}

.hal-cookie-modal {
  width: min(680px, calc(100vw - 24px));
  margin: 56px auto;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #cdd6df;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.hal-cookie-modal h3 {
  margin: 0 0 10px 0;
  font-size: 20px;
}

.hal-cookie-opt {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 10px 0;
}

.hal-cookie-opt label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  font-weight: 600;
}

.hal-cookie-opt p {
  margin: 6px 0 0 26px;
  font-size: 13px;
  color: #3f4f5f;
}

#hal-cookie-open {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 9999;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1b4f8a;
  background: #ffffff;
  color: #1b4f8a;
  border-radius: 999px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

@media (max-width: 640px) {
  #hal-cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 12px;
  }
}
