.cookie-consent {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 3000;
  width: min(440px, calc(100vw - 32px));
  color: #012E2E;
  font-family: Roboto, Arial, sans-serif;
}

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

.cookie-consent__panel {
  overflow: hidden;
  border: 1px solid rgba(210, 218, 219, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 46px rgba(1, 46, 46, 0.16);
}

.cookie-consent__content {
  padding: 24px;
}

.cookie-consent__eyebrow {
  margin: 0 0 8px;
  color: #01B2A9;
  font-family: Raleway, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1.25;
  text-transform: uppercase;
}

.cookie-consent h2 {
  margin: 0 0 10px;
  color: #012E2E;
  font-family: Raleway, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
}

.cookie-consent p {
  margin: 0;
  color: #0B616E;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.cookie-consent a {
  color: #0B616E;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 22px;
}

.cookie-consent__button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 20px;
  border: 1px solid #0B616E;
  background: #FFFFFF;
  color: #0B616E;
  font-family: Raleway, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cookie-consent__button:hover {
  transform: translateY(-1px);
}

.cookie-consent__button--primary {
  border-color: transparent;
  background: linear-gradient(135deg, #2FD0B9, #0B9D83);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(1, 178, 169, 0.22);
}

.cookie-consent__button--primary:hover {
  box-shadow: 0 14px 28px rgba(1, 178, 169, 0.28);
}

.cookie-consent__button--ghost {
  background: transparent;
}

.cookie-consent__settings {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.cookie-consent__option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  border: 1px solid #D2DADB;
  border-radius: 12px;
  background: #F5F8F8;
  padding: 16px;
}

.cookie-consent__option strong {
  display: block;
  margin-bottom: 4px;
  color: #012E2E;
  font-family: Raleway, sans-serif;
  font-size: 15px;
  line-height: 1.25;
}

.cookie-consent__option span {
  display: block;
  color: #6A7282;
  font-size: 14px;
  line-height: 1.45;
}

.cookie-consent__switch {
  position: relative;
  width: 50px;
  height: 28px;
  flex: 0 0 50px;
}

.cookie-consent__switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.cookie-consent__slider {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: #D2DADB;
  transition: background 0.18s ease;
}

.cookie-consent__slider::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(1, 46, 46, 0.2);
  transition: transform 0.18s ease;
}

.cookie-consent__switch input:checked + .cookie-consent__slider {
  background: #01B2A9;
}

.cookie-consent__switch input:checked + .cookie-consent__slider::after {
  transform: translateX(22px);
}

.cookie-consent__switch input:focus-visible + .cookie-consent__slider {
  outline: 3px solid rgba(1, 178, 169, 0.28);
  outline-offset: 3px;
}

.cookie-consent__switch input:disabled + .cookie-consent__slider {
  background: #0B616E;
  opacity: 0.55;
}

@media (max-width: 560px) {
  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }

  .cookie-consent__content {
    padding: 20px;
  }

  .cookie-consent h2 {
    font-size: 20px;
  }

  .cookie-consent__actions {
    flex-direction: column-reverse;
  }

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