.as-cookie {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 99999;
  color: #263f4b;
  font-family: "Open Sans", Arial, sans-serif;
}

.as-cookie__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid rgba(17, 83, 123, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 42px rgba(7, 44, 72, 0.28);
  box-sizing: border-box;
  backdrop-filter: blur(8px);
}

.as-cookie__copy {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
}

.as-cookie__icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 66% 24%, #ffffff 0 4px, transparent 5px),
    radial-gradient(circle at 72% 50%, #ffffff 0 3px, transparent 4px),
    radial-gradient(circle at 45% 62%, #ffffff 0 3px, transparent 4px),
    #08749a;
}

.as-cookie h2 {
  margin: 0 0 4px;
  color: #18345a;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.as-cookie p {
  margin: 0;
  color: #526670;
  font-size: 13px;
  line-height: 1.5;
}

.as-cookie a {
  color: #00769b;
  font-weight: 700;
}

.as-cookie__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex: 0 0 auto;
}

.as-cookie__button {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid #b8ced7;
  border-radius: 7px;
  background: #ffffff;
  color: #18345a;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.as-cookie__button:hover,
.as-cookie__button:focus {
  border-color: #00769b;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 118, 155, 0.14);
}

.as-cookie__button--primary {
  border-color: #00769b;
  background: #00769b;
  color: #ffffff;
}

.as-cookie__button--primary:hover,
.as-cookie__button--primary:focus {
  background: #005f7e;
}

.as-cookie__button--text {
  border-color: transparent;
  background: transparent;
  color: #00769b;
}

.as-cookie__settings {
  flex: 1 1 100%;
}

.as-cookie__settings[hidden],
.as-cookie__actions[hidden] {
  display: none;
}

.as-cookie__choices {
  display: flex;
  gap: 22px;
  margin-bottom: 13px;
}

.as-cookie__choices label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.as-cookie__choices input {
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: #00769b;
}

.as-cookie__choices span,
.as-cookie__choices small {
  display: block;
}

.as-cookie__choices strong {
  color: #18345a;
  font-size: 13px;
}

.as-cookie__choices small {
  margin-top: 2px;
  color: #667982;
  font-size: 11px;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .as-cookie {
    right: 8px;
    bottom: 8px;
    left: 8px;
  }

  .as-cookie__panel {
    display: block;
    max-height: calc(100vh - 16px);
    padding: 17px;
    overflow-y: auto;
    border-radius: 11px;
  }

  .as-cookie__copy {
    margin-bottom: 14px;
  }

  .as-cookie__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .as-cookie__button {
    width: 100%;
    min-height: 44px;
  }

  .as-cookie__choices {
    display: grid;
    gap: 12px;
  }
}
