.cv-consent-root {
  color: #f5ebf7;
  font-family: "Manrope", Arial, sans-serif;
}

.cv-consent-root,
.cv-consent-root * {
  box-sizing: border-box;
}

.cv-consent-shell,
.cv-consent-reopen {
  position: fixed;
  z-index: 9999;
}

.cv-consent-shell {
  left: 50%;
  bottom: 18px;
  width: min(940px, calc(100vw - 24px));
  max-height: calc(100svh - 36px);
  display: none;
  overflow: auto;
  transform: translateX(-50%);
  border: 1px solid rgba(246, 173, 255, 0.22);
  border-top: 2px solid rgba(246, 173, 255, 0.65);
  background:
    linear-gradient(135deg, rgba(246, 173, 255, 0.08), transparent 34%),
    rgba(8, 5, 9, 0.96);
  box-shadow: 0 0 70px rgba(130, 0, 157, 0.22), 0 28px 70px rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(18px);
}

.cv-consent-shell.is-visible {
  display: block;
  animation: cv-consent-in 180ms ease-out;
}

.cv-consent-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  padding: 24px;
}

.cv-consent-kicker {
  margin-bottom: 8px;
  color: #f6adff;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cv-consent-title {
  margin: 0 0 12px;
  color: #ffffff;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.cv-consent-copy,
.cv-consent-note,
.cv-consent-option p {
  color: #b8a9ba;
  font-size: 13px;
  line-height: 1.65;
}

.cv-consent-copy {
  margin: 0;
}

.cv-consent-note {
  margin: 14px 0 0;
  color: #8d7f90;
}

.cv-consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.cv-consent-links a,
.cv-consent-reopen {
  color: #f6adff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.cv-consent-links a:hover,
.cv-consent-reopen:hover {
  color: #ffffff;
}

.cv-consent-options {
  display: grid;
  gap: 10px;
}

.cv-consent-option {
  position: relative;
  display: block;
  border: 1px solid rgba(246, 173, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
  padding: 14px;
}

.cv-consent-option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #ffffff;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cv-consent-option p {
  margin: 8px 0 0;
  font-size: 12px;
}

.cv-consent-pill {
  border: 1px solid rgba(246, 173, 255, 0.3);
  color: #f6adff;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.cv-consent-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 46px;
  height: 24px;
}

.cv-consent-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cv-consent-slider {
  width: 46px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #140f15;
  transition: background 160ms ease, border-color 160ms ease;
}

.cv-consent-slider::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  background: #7a6e7d;
  transition: transform 160ms ease, background 160ms ease;
}

.cv-consent-toggle input:checked + .cv-consent-slider {
  border-color: rgba(246, 173, 255, 0.75);
  background: rgba(130, 0, 157, 0.58);
}

.cv-consent-toggle input:checked + .cv-consent-slider::after {
  transform: translateX(22px);
  background: #ffffff;
}

.cv-consent-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.cv-consent-action {
  min-height: 46px;
  border: 1px solid rgba(246, 173, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  cursor: pointer;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  padding: 12px 14px;
  text-transform: uppercase;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.cv-consent-action:hover,
.cv-consent-action:focus-visible {
  border-color: rgba(246, 173, 255, 0.74);
  background: rgba(246, 173, 255, 0.1);
  outline: none;
}

.cv-consent-action-primary {
  border-color: rgba(246, 173, 255, 0.58);
  background: linear-gradient(135deg, #500062, #b756cd);
  box-shadow: 0 0 26px rgba(183, 86, 205, 0.22);
}

.cv-consent-reopen {
  left: 14px;
  bottom: 14px;
  display: none;
  border: 1px solid rgba(246, 173, 255, 0.28);
  background: rgba(8, 5, 9, 0.88);
  cursor: pointer;
  padding: 10px 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(12px);
}

.cv-consent-reopen.is-visible {
  display: inline-flex;
}

@keyframes cv-consent-in {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 760px) {
  .cv-consent-shell {
    bottom: 10px;
    width: calc(100vw - 20px);
  }

  .cv-consent-inner {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .cv-consent-title {
    font-size: 22px;
  }

  .cv-consent-actions {
    grid-template-columns: 1fr;
  }

  .cv-consent-reopen {
    max-width: calc(100vw - 28px);
  }
}
