#mo-cbw-widget,
#mo-cbw-success {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

#mo-cbw-widget *,
#mo-cbw-success * {
  box-sizing: border-box;
}

#mo-cbw-widget button,
#mo-cbw-widget input,
#mo-cbw-widget a,
#mo-cbw-success button {
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}

#mo-cbw-success button {
  background: linear-gradient(90deg, #13bcfe 0%, #a274db 100%);
}

.mo-cbw {
  --mo-cbw-primary: linear-gradient(90deg, #13bcfe 0%, #9575cd 100%);
  --mo-cbw-primary-hover: linear-gradient(90deg, #13bcfe 0%, #9575cd 100%);
  --mo-cbw-surface: #ffffff;
  --mo-cbw-text: #1f2a37;
  --mo-cbw-muted: #5b6573;
  --mo-cbw-shadow: 0 16px 48px rgba(16, 24, 40, 0.16);
  --mo-cbw-radius: 14px;

  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2147483000;
  font-family: inherit;
  color: var(--mo-cbw-text);
}

.mo-cbw__toggle {
  border: none;
  background: var(--mo-cbw-primary);
  color: #fff;
  border-radius: 999px;
	width: 340px;
    gap: 10px;
  height: 58px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--mo-cbw-shadow);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.mo-cbw__toggle-icon {
  width: 26px;
  height: 26px;
  display: block;
}

.mo-cbw__toggle:hover {
  background: var(--mo-cbw-primary-hover);
  filter: brightness(0.98);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 20px 52px rgba(16, 24, 40, 0.2);
}

.mo-cbw__toggle:active {
  transform: scale(0.98);
}

.mo-cbw__panel {
  width: min(360px, calc(100vw - 32px));
  background: var(--mo-cbw-surface);
  border-radius: var(--mo-cbw-radius);
  box-shadow: var(--mo-cbw-shadow);
  padding: 16px;
  margin-top: 10px;
  display: none;
}

.mo-cbw.is-open .mo-cbw__panel {
  display: block;
}

.mo-cbw__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.mo-cbw__desc {
  margin: 0 0 12px;
  color: var(--mo-cbw-muted);
  font-size: 14px;
  line-height: 1.35;
}

.mo-cbw__field {
  margin-bottom: 10px;
}

.mo-cbw__label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
}

.mo-cbw__input {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background-color: #ffffff;
  border: 1px solid #18bafb;
  border-radius: 20px;
  padding: 12px 16px;
  font-size: 18px;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0.03em;
  box-sizing: border-box;
  outline: none;
}

.mo-cbw__input:focus {
  border-color: #13bcfe;
  box-shadow: 0 0 0 3px rgba(19, 188, 254, 0.2), inset 0 0 0 1px rgba(19, 188, 254, 0.15);
}

.mo-cbw__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 12px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--mo-cbw-muted);
}

.mo-cbw__consent input {
  margin-top: 2px;
  flex: 0 0 auto;
}

.mo-cbw__consent a {
  color: #13bcfe;
}

.mo-cbw__submit {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  border-radius: 10px;
  background: var(--mo-cbw-primary);
  color: #fff;
  font-weight: 600;
  padding: 11px 12px;
  cursor: pointer;
  font-size: 14px;
  transition: filter 0.2s ease;
}

.mo-cbw__submit:hover {
  background: var(--mo-cbw-primary-hover);
  filter: brightness(0.95);
}

.mo-cbw__msg {
  margin-top: 10px;
  font-size: 13px;
  min-height: 18px;
}

.mo-cbw__msg--ok {
  color: #067647;
}

.mo-cbw__msg--err {
  color: #b42318;
}

.mo-cbw-success {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: none;
  align-items: center;
  justify-content: center;
}

.mo-cbw-success.is-open {
  display: flex;
}

.mo-cbw-success__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.mo-cbw-success__dialog {
  position: relative;
  width: min(340px, calc(100vw - 32px));
  background: #fff;
  border-radius: 16px;
  padding: 20px 16px 16px;
  box-shadow: 0 20px 58px rgba(16, 24, 40, 0.24);
  text-align: center;
}

.mo-cbw-success__title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
  color: #111827;
}

.mo-cbw-success__text {
  margin: 0 0 14px;
  font-size: 14px;
  color: #4b5563;
}

.mo-cbw-success__btn {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  border-radius: 10px;
  background: var(--mo-cbw-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 12px;
  cursor: pointer;
}

.mo-cbw input:not([type="checkbox"]):not([type="radio"])::placeholder, textarea::placeholder {
  font-size: 1.3rem;
}

@media (max-width: 480px) {
  .mo-cbw {
    right: 12px;
    bottom: 12px;
  }
}
