.cookie-consent {
  position: fixed;
  inset: auto 18px 18px;
  z-index: 1000;
  display: none;
  max-width: 720px;
  padding: 20px;
  color: #ffffff;
  background: #07172c;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 22px 70px rgba(4, 12, 24, .38);
}

.cookie-consent.is-visible,
.cookie-panel.is-visible,
.cookie-settings-trigger.is-visible {
  display: block;
}

.cookie-consent h2,
.cookie-panel h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.05;
}

.cookie-consent p,
.cookie-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cookie-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #ffffff;
  background: rgba(255, 255, 255, .06);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-button.primary {
  border: 0;
  background: #ff6534;
  box-shadow: 0 14px 35px rgba(255, 101, 52, .24);
}

.cookie-button:hover {
  background: rgba(255, 255, 255, .12);
}

.cookie-button.primary:hover {
  background: #d94c24;
}

.cookie-settings-trigger {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 999;
  display: none;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  color: #ffffff;
  background: rgba(7, 23, 44, .94);
  box-shadow: 0 12px 34px rgba(4, 12, 24, .22);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-panel {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: none;
  padding: 18px;
  overflow-y: auto;
  background: rgba(4, 12, 24, .72);
}

.cookie-panel-inner {
  width: min(640px, 100%);
  margin: min(9vh, 70px) auto;
  padding: 22px;
  color: #ffffff;
  background: #07172c;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 24px 70px rgba(4, 12, 24, .42);
}

.cookie-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
}

.cookie-option input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #ff6534;
}

.cookie-option strong {
  display: block;
  margin-bottom: 5px;
  color: #ffffff;
}

@media (max-width: 720px) {
  .cookie-consent {
    inset: auto 10px 10px;
    padding: 16px;
  }

  .cookie-consent h2,
  .cookie-panel h2 {
    font-size: 24px;
  }

  .cookie-actions,
  .cookie-button {
    width: 100%;
  }

  .cookie-settings-trigger {
    left: 10px;
    bottom: 10px;
  }

  .cookie-panel {
    padding: 10px;
  }

  .cookie-panel-inner {
    margin: 24px auto;
    padding: 18px;
  }
}
