.cookie-consent {
  position: relative;
  z-index: 1600;
}

.cookie-consent__banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: min(720px, calc(100vw - 48px));
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(26, 54, 93, 0.14);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(18px);
  z-index: 1;
}

.cookie-consent__banner--blocking {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  width: min(780px, calc(100vw - 48px));
  transform: translate(-50%, -50%);
}

.cookie-consent__copy h3,
.cookie-consent__modal-head h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 1.25rem;
}

.cookie-consent__copy p,
.cookie-consent__modal-head p,
.cookie-consent__category-description,
.cookie-consent__essential p {
  margin-bottom: 0;
  color: #55657b;
  font-size: 0.92rem;
}

.cookie-consent__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(74, 111, 165, 0.12);
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cookie-consent__actions,
.cookie-consent__modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cookie-consent__actions {
  margin-top: 18px;
}

.cookie-consent__button {
  border: 1px solid rgba(26, 54, 93, 0.14);
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cookie-consent__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(26, 54, 93, 0.12);
}

.cookie-consent__button--primary {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.cookie-consent__button--primary:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.cookie-consent__button--secondary {
  background: #eef4fb;
  color: var(--primary-color);
}

.cookie-consent__button--ghost {
  background: #fff;
  color: #43546d;
}

.cookie-consent__link {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
}

.cookie-consent__link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.cookie-consent__overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 23, 39, 0.48);
  backdrop-filter: blur(6px);
  z-index: 0;
}

.cookie-consent__modal {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(760px, calc(100vw - 36px));
  max-height: min(88vh, 860px);
  overflow: auto;
  padding: 24px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(26, 54, 93, 0.12);
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.22);
  z-index: 2;
}

.cookie-consent__modal-head,
.cookie-consent__modal-foot,
.cookie-consent__essential {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.cookie-consent__essential {
  margin: 22px 0 18px;
  padding: 16px 18px;
  border-radius: 22px;
  background: #f4f8fc;
  border: 1px solid rgba(26, 54, 93, 0.08);
}

.cookie-consent__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(26, 54, 93, 0.1);
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 700;
}

.cookie-consent__categories {
  display: grid;
  gap: 12px;
}

.cookie-consent__category {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(26, 54, 93, 0.1);
}

.cookie-consent__category-title {
  display: block;
  margin-bottom: 4px;
  color: var(--primary-color);
  font-size: 0.96rem;
  font-weight: 700;
}

.cookie-consent__toggle-wrap {
  position: relative;
  flex-shrink: 0;
}

.cookie-consent__toggle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.cookie-consent__toggle-ui {
  display: inline-flex;
  width: 54px;
  height: 32px;
  border-radius: 999px;
  background: #d6deea;
  position: relative;
  transition: background 0.2s ease;
}

.cookie-consent__toggle-ui::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
  transition: transform 0.2s ease;
}

.cookie-consent__toggle:checked + .cookie-consent__toggle-ui {
  background: var(--primary-color);
}

.cookie-consent__toggle:checked + .cookie-consent__toggle-ui::after {
  transform: translateX(22px);
}

.cookie-consent__close,
.cookie-consent__manage {
  border: 1px solid rgba(26, 54, 93, 0.12);
  background: #fff;
  color: var(--primary-color);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.cookie-consent__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}

.cookie-consent__manage {
  position: fixed;
  right: 28px;
  bottom: 124px;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: var(--primary-color);
  color: #fff;
  border-color: rgba(26, 54, 93, 0.2);
}

.cookie-consent__manage:hover,
.cookie-consent__manage:focus-visible {
  background: var(--secondary-color);
  color: #fff;
}

.cookie-consent__manage-icon {
  font-size: 1rem;
  line-height: 1;
}

.cookie-consent__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cookie-consent__toast {
  position: fixed;
  right: 28px;
  bottom: 78px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(16, 24, 40, 0.92);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
  z-index: 2;
}

body.cookie-consent--modal-open {
  overflow: hidden;
}

body.cookie-consent--locked {
  overflow: hidden;
}

.aideep-vapi-slot {
  display: none !important;
}

.aideep-vapi-slot[data-cookie-visible="true"] {
  display: block !important;
}

@media (max-width: 991px) {
  .cookie-consent__banner {
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
  }

  .cookie-consent__banner--blocking {
    left: 50%;
    right: auto;
    bottom: auto;
    width: min(720px, calc(100vw - 36px));
  }

  .cookie-consent__manage {
    right: 18px;
    bottom: 104px;
  }

  .cookie-consent__toast {
    right: 18px;
    bottom: 62px;
  }
}

@media (max-width: 767px) {
  .cookie-consent__banner,
  .cookie-consent__modal {
    padding: 18px;
    border-radius: 22px;
  }

  .cookie-consent__modal-head,
  .cookie-consent__modal-foot,
  .cookie-consent__essential,
  .cookie-consent__category {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent__manage {
    left: 18px;
    right: auto;
    bottom: 18px;
  }

  .cookie-consent__banner--blocking {
    width: calc(100vw - 28px);
  }

  .cookie-consent__toast {
    left: 18px;
    right: 18px;
    bottom: 74px;
    border-radius: 18px;
  }
}
