.sentioo-cookie,
.sentioo-cookie * {
  box-sizing: border-box;
}

.sentioo-cookie[hidden],
.sentioo-cookie__modal[hidden] {
  display: none !important;
}

.sentioo-cookie {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 2147483000;
  font-family: "Poppins", sans-serif;
  color: #1c1c1c;
  pointer-events: none;
}

.sentioo-cookie__panel {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 20px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(40, 166, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(0, 105, 178, 0.18);
  pointer-events: auto;
}

.sentioo-cookie__content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.sentioo-cookie__badge {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #0069b2;
  background: linear-gradient(135deg, rgba(0, 232, 232, 0.18), rgba(40, 166, 255, 0.2));
}

.sentioo-cookie__badge svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.sentioo-cookie__title,
.sentioo-cookie__dialog-title {
  margin: 0;
  color: #1c1c1c;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
}

.sentioo-cookie__text {
  max-width: 690px;
  margin: 6px 0 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.55;
}

.sentioo-cookie__text a {
  color: #0069b2;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sentioo-cookie__actions,
.sentioo-cookie__dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.sentioo-cookie__btn {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.sentioo-cookie__btn:hover {
  transform: translateY(-1px);
}

.sentioo-cookie__btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #00b7d8, #28a6ff);
  box-shadow: 0 10px 24px rgba(40, 166, 255, 0.24);
}

.sentioo-cookie__btn--secondary {
  color: #0069b2;
  background: #d4edff;
  border-color: #d4edff;
}

.sentioo-cookie__btn--ghost {
  color: #0069b2;
  background: #fff;
  border-color: rgba(0, 105, 178, 0.25);
}

.sentioo-cookie__modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(12, 29, 45, 0.42);
  pointer-events: auto;
}

.sentioo-cookie__dialog {
  width: min(640px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 22px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(12, 29, 45, 0.28);
}

.sentioo-cookie__dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.sentioo-cookie__eyebrow {
  margin: 0 0 4px;
  color: #28a6ff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.sentioo-cookie__close {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 105, 178, 0.16);
  border-radius: 8px;
  color: #0069b2;
  background: #f5f9ff;
  cursor: pointer;
}

.sentioo-cookie__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.sentioo-cookie__groups {
  display: grid;
  gap: 12px;
}

.sentioo-cookie__group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px;
  border: 1px solid rgba(0, 105, 178, 0.14);
  border-radius: 8px;
  background: #fff;
}

.sentioo-cookie__group--locked {
  background: #f5f9ff;
}

.sentioo-cookie__group strong,
.sentioo-cookie__group small {
  display: block;
}

.sentioo-cookie__group strong {
  color: #1c1c1c;
  font-size: 15px;
  line-height: 1.3;
}

.sentioo-cookie__group small {
  margin-top: 4px;
  color: #5b6674;
  font-size: 13px;
  line-height: 1.45;
}

body.site-shell .sentioo-cookie__group input[type="checkbox"],
.sentioo-cookie__group input[type="checkbox"] {
  width: 46px;
  height: 26px;
  min-height: 26px;
  flex: 0 0 46px;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d7e4ef;
  background-image: none;
  cursor: pointer;
  position: relative;
  transition: background 0.18s ease;
}

body.site-shell .sentioo-cookie__group input[type="checkbox"]::before,
.sentioo-cookie__group input[type="checkbox"]::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(12, 29, 45, 0.18);
  transition: transform 0.18s ease;
}

body.site-shell .sentioo-cookie__group input[type="checkbox"]:checked,
.sentioo-cookie__group input[type="checkbox"]:checked {
  border: 0;
  background: #28a6ff;
  background-image: none;
}

body.site-shell .sentioo-cookie__group input[type="checkbox"]:checked::before,
.sentioo-cookie__group input[type="checkbox"]:checked::before {
  transform: translateX(20px);
}

body.site-shell .sentioo-cookie__group input[type="checkbox"]:disabled,
.sentioo-cookie__group input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.sentioo-cookie__dialog-actions {
  margin-top: 18px;
}

@media (max-width: 820px) {
  .sentioo-cookie__panel {
    align-items: stretch;
    flex-direction: column;
    width: calc(100% - 24px);
    margin-bottom: 12px;
    padding: 16px;
  }

  .sentioo-cookie__actions,
  .sentioo-cookie__dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sentioo-cookie__btn {
    width: 100%;
  }

  .sentioo-cookie__content {
    gap: 12px;
  }
}
