.smart-cookie-consent,
.smart-cookie-settings-button {
  font-family: Arial, sans-serif;
  letter-spacing: 0;
}

.smart-cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: grid;
  align-items: end;
  padding: 12px;
  background: rgba(0, 0, 0, 0.48);
}

.smart-cookie-consent[hidden],
.smart-cookie-settings-button[hidden],
.smart-cookie-consent__settings[hidden] {
  display: none !important;
}

.smart-cookie-consent__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 18px;
  box-sizing: border-box;
  width: min(700px, 100%);
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid rgba(244, 189, 78, 0.35);
  border-radius: 8px;
  background: #151515;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.72);
  color: #d3d3d3;
}

.smart-cookie-consent__title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.smart-cookie-consent__title-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 20px;
  line-height: 1;
}

.smart-cookie-consent__copy {
  margin: 0;
  color: #b6b6b6;
  font-size: 12px;
  line-height: 1.4;
}

.smart-cookie-consent__copy a {
  color: #f4bd4e;
  text-underline-offset: 2px;
}

.smart-cookie-consent__settings {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.smart-cookie-consent__option {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: #e5e5e5;
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
}

.smart-cookie-consent__option input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #f4bd4e;
}

.smart-cookie-consent__option small {
  display: block;
  margin-top: 2px;
  color: #8f8f8f;
  font-size: 12px;
}

.smart-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 0;
}

.smart-cookie-consent__button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: #262626;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.smart-cookie-consent__button:hover {
  border-color: rgba(244, 189, 78, 0.72);
}

.smart-cookie-consent__button--primary {
  border-color: #f4bd4e;
  background: #f4bd4e;
  color: #352100;
}

.smart-cookie-consent__button--icon {
  width: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 18px;
}

.smart-cookie-consent__button--quiet {
  border-color: transparent;
  background: transparent;
  color: #aaa;
  font-size: 11px;
}

.smart-cookie-settings-button {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #aaa;
  font-size: 11px;
  cursor: pointer;
}

.smart-cookie-settings-button:focus-visible,
.smart-cookie-consent__button--icon:focus-visible {
  outline: 2px solid #f4bd4e;
  outline-offset: 3px;
}

.smart-cookie-footer-control {
  box-sizing: border-box;
  width: 100%;
  padding: 0 16px 18px;
  background: #060606;
  text-align: center;
}

.legal-footer > .smart-cookie-settings-button {
  margin-top: 12px;
}

.smart-cookie-settings-button span:first-child {
  margin-right: 5px;
}

.smart-cookie-settings-button:hover {
  color: #f4bd4e;
}

@media (max-width: 600px) {
  .smart-cookie-consent {
    padding: 10px;
  }

  .smart-cookie-consent__panel {
    display: block;
    max-height: calc(100vh - 20px);
    padding: 14px;
    overflow-y: auto;
  }

  .smart-cookie-consent__actions {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) minmax(105px, 1fr);
    margin-top: 12px;
  }

  .smart-cookie-consent__button {
    width: 100%;
  }

  .smart-cookie-footer-control {
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }
}
