#chat365-cookie-banner,
#chat365-cookie-modal,
#chat365-cookie-fab {
  font-family: "Plus Jakarta Sans", sans-serif;
}
#chat365-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}
#chat365-cookie-banner[hidden],
#chat365-cookie-modal[hidden],
#chat365-cookie-fab[hidden] {
  display: none !important;
}
.chat365-cookie-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
.chat365-cookie-copy {
  max-width: 760px;
}
.chat365-cookie-title {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
}
.chat365-cookie-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}
.chat365-cookie-text a {
  color: #e11d48;
  font-weight: 700;
}
.chat365-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.chat365-cookie-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}
.chat365-cookie-btn:hover {
  transform: translateY(-1px);
}
.chat365-cookie-btn-primary {
  background: #e11d48;
  color: #fff;
}
.chat365-cookie-btn-secondary {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}
.chat365-cookie-btn-muted {
  background: #f8fafc;
  color: #334155;
  border-color: #e2e8f0;
}
#chat365-cookie-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 99998;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
  cursor: pointer;
}
#chat365-cookie-fab svg {
  width: 22px;
  height: 22px;
  display: block;
  margin: auto;
  fill: currentColor;
}
#chat365-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(15, 23, 42, 0.55);
  display: grid;
  place-items: center;
  padding: 20px;
}
.chat365-cookie-dialog {
  width: min(560px, 100%);
  background: #fff;
  color: #0f172a;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}
.chat365-cookie-dialog-head,
.chat365-cookie-dialog-body,
.chat365-cookie-dialog-foot {
  padding: 22px 24px;
}
.chat365-cookie-dialog-head {
  border-bottom: 1px solid #e2e8f0;
}
.chat365-cookie-dialog-head h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
}
.chat365-cookie-dialog-head p,
.chat365-cookie-row p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}
.chat365-cookie-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 0;
}
.chat365-cookie-row + .chat365-cookie-row {
  border-top: 1px solid #e2e8f0;
}
.chat365-cookie-row h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
}
.chat365-cookie-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}
.chat365-cookie-switch {
  position: relative;
  width: 54px;
  height: 32px;
  flex-shrink: 0;
}
.chat365-cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.chat365-cookie-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #cbd5e1;
  transition: all 0.2s ease;
  cursor: pointer;
}
.chat365-cookie-slider:before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
}
.chat365-cookie-switch input:checked + .chat365-cookie-slider {
  background: #e11d48;
}
.chat365-cookie-switch input:checked + .chat365-cookie-slider:before {
  transform: translateX(22px);
}
.chat365-cookie-switch input:disabled + .chat365-cookie-slider {
  background: #94a3b8;
  cursor: not-allowed;
}
.chat365-cookie-dialog-foot {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}
@media (max-width: 640px) {
  .chat365-cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .chat365-cookie-actions,
  .chat365-cookie-dialog-foot {
    width: 100%;
    justify-content: stretch;
  }
  .chat365-cookie-btn {
    flex: 1 1 auto;
    text-align: center;
  }
  .chat365-cookie-row {
    flex-direction: column;
  }
}
