.cookie-consent-banner,
.cookie-consent-panel {
  position: fixed;
  z-index: 100000;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

.cookie-consent-banner {
  right: 20px;
  bottom: 20px;
  width: min(560px, calc(100vw - 40px));
  padding: 20px;
  color: #172235;
  background: #fff;
  border: 1px solid rgba(16, 24, 38, .16);
  border-radius: 16px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .24);
}

.cookie-consent-banner[hidden],
.cookie-consent-panel[hidden] {
  display: none;
}

.cookie-consent-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.cookie-consent-text,
.cookie-consent-panel p,
.cookie-consent-panel label {
  color: #526176;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-consent-actions,
.cookie-consent-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.cookie-consent-button {
  min-height: 38px;
  padding: 8px 14px;
  color: #172235;
  background: #eef1f5;
  border: 1px solid #d6dce5;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
}

.cookie-consent-button-primary {
  color: #fff;
  background: #e88b20;
  border-color: #e88b20;
}

.cookie-consent-link {
  color: #a85d09;
  text-decoration: underline;
}

.cookie-consent-settings-trigger {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 99998;
  padding: 8px 12px;
  color: #172235;
  background: #fff;
  border: 1px solid #d6dce5;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
  cursor: pointer;
  font: 13px "Segoe UI", Arial, sans-serif;
}

.cookie-consent-panel {
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 13, 24, .64);
}

.cookie-consent-panel-card {
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  padding: 24px;
  color: #172235;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
}

.cookie-consent-panel-card h2 {
  margin: 0 0 8px;
}

.cookie-consent-option {
  display: block;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid #dce2ea;
  border-radius: 10px;
}

.cookie-consent-option strong {
  display: block;
  margin-bottom: 4px;
  color: #172235;
}

.cookie-consent-option input {
  float: right;
  width: 18px;
  height: 18px;
}

@media (max-width: 620px) {
  .cookie-consent-banner {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }
}
