.cookie-consent {
  position: fixed;
  inset: auto 18px 18px auto;
  z-index: 9999;
  width: min(420px, calc(100vw - 36px));
  color: #fff8ef;
  font-family:
    "Manrope",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

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

.cookie-consent__panel {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(35, 13, 52, 0.96), rgba(7, 23, 39, 0.98) 58%, rgba(10, 39, 27, 0.96)),
    #071727;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.cookie-consent__title {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
}

.cookie-consent__text {
  margin: 0;
  color: rgba(255, 248, 239, 0.82);
  font-size: 0.93rem;
  line-height: 1.55;
}

.cookie-consent__link {
  color: #00e0c7;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.cookie-consent__button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.42);
}

.cookie-consent__button:focus-visible {
  outline: 3px solid rgba(0, 224, 199, 0.32);
  outline-offset: 2px;
}

.cookie-consent__button--primary {
  color: #061625;
  background: linear-gradient(135deg, #00e0c7, #ffd447);
}

.cookie-consent__button--secondary {
  color: #fff8ef;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
  .cookie-consent {
    inset: auto 12px 12px;
    width: auto;
  }

  .cookie-consent__panel {
    padding: 18px;
  }

  .cookie-consent__actions {
    display: grid;
  }

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