.alv-cookie-banner,
.alv-cookie-modal-backdrop {
  font-family: inherit;
}
.alv-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  background: #ffffff;
  color: #1f2937;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(15,23,42,.24);
  border: 1px solid rgba(15,23,42,.08);
  max-width: 980px;
  margin: 0 auto;
}
.alv-cookie-banner[hidden],
.alv-cookie-modal-backdrop[hidden] {
  display: none !important;
}
.alv-cookie-banner__inner {
  display: grid;
  grid-template-columns: minmax(0,1.7fr) auto;
  gap: 18px;
  padding: 18px 20px;
  align-items: center;
}
.alv-cookie-banner__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}
.alv-cookie-banner__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
}
.alv-cookie-banner__text a,
.alv-cookie-link,
.alv-cookie-footer-link,
.alv-cookie-modal__text a {
  color: #1d4ed8;
  text-decoration: underline;
}
.alv-cookie-banner__actions,
.alv-cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.alv-cookie-btn {
  appearance: none;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  border-radius: 999px;
  padding: 10px 18px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all .18s ease;
}
.alv-cookie-btn:hover,
.alv-cookie-btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15,23,42,.12);
  outline: none;
}
.alv-cookie-btn--primary {
  background: #f4c430;
  border-color: #f4c430;
}
.alv-cookie-btn--secondary {
  background: #ffffff;
}
.alv-cookie-btn--ghost {
  background: #f8fafc;
}
.alv-cookie-btn--link {
  border: none;
  background: transparent;
  padding: 0;
  min-height: auto;
  color: #1d4ed8;
  text-decoration: underline;
  font-weight: 600;
}
.alv-cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.55);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.alv-cookie-modal {
  width: min(680px, 100%);
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(15,23,42,.28);
  overflow: hidden;
}
.alv-cookie-modal__head,
.alv-cookie-modal__body,
.alv-cookie-modal__foot {
  padding: 22px 24px;
}
.alv-cookie-modal__head {
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.alv-cookie-modal__title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
}
.alv-cookie-modal__close {
  border: none;
  background: #f8fafc;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: #0f172a;
}
.alv-cookie-modal__text {
  margin: 0 0 18px;
  color: #475569;
  line-height: 1.6;
}
.alv-cookie-category {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}
.alv-cookie-category__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.alv-cookie-category__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}
.alv-cookie-category__desc {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}
.alv-cookie-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.alv-cookie-switch input {
  width: 46px;
  height: 26px;
  appearance: none;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  transition: background .18s ease;
  cursor: pointer;
  outline: none;
}
.alv-cookie-switch input:before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15,23,42,.18);
  transition: transform .18s ease;
}
.alv-cookie-switch input:checked {
  background: #0f766e;
}
.alv-cookie-switch input:checked:before {
  transform: translateX(20px);
}
.alv-cookie-switch input:disabled {
  opacity: .75;
  cursor: not-allowed;
}
.alv-cookie-modal__foot {
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}
.alv-cookie-footer-row {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: center;
}
.alv-cookie-footer-row a,
.alv-cookie-footer-row button {
  color: #ffffff;
}
.alv-cookie-footer-link {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 600;
}
body.alv-cookie-modal-open {
  overflow: hidden;
}
@media (max-width: 767px) {
  .alv-cookie-banner__inner {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .alv-cookie-banner__actions,
  .alv-cookie-modal__actions {
    justify-content: stretch;
  }
  .alv-cookie-btn {
    flex: 1 1 100%;
    width: 100%;
  }
  .alv-cookie-modal__head,
  .alv-cookie-modal__body,
  .alv-cookie-modal__foot {
    padding: 18px 16px;
  }
}
