.ks-order-toast {
  position: fixed;
  right: 24px;
  bottom: 20px;
  z-index: 9998;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.ks-order-toast__card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 28px;
  gap: 12px;
  align-items: center;
  padding: 14px 14px;
  color: #fff;
  border: 1px solid rgba(19, 253, 253, 0.18);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(19, 253, 253, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(6, 19, 27, 0.98), rgba(1, 10, 16, 0.96));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34), 0 0 28px rgba(19, 155, 253, 0.12);
  opacity: 0;
  transform: translateY(22px);
  pointer-events: auto;
  overflow: hidden;
  transition: opacity 380ms ease, transform 380ms ease;
}

.ks-order-toast__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(19, 253, 253, 0.16), transparent 38%, rgba(253, 196, 72, 0.10));
  pointer-events: none;
}

.ks-order-toast.is-visible .ks-order-toast__card {
  opacity: 1;
  transform: translateY(0);
}

.ks-order-toast__icon {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #010a10;
  background: linear-gradient(135deg, #13fdfd, #139bfd);
  box-shadow: 0 10px 24px rgba(19, 155, 253, 0.24);
}

.ks-order-toast__icon svg {
  width: 22px;
  height: 22px;
}

.ks-order-toast__content {
  position: relative;
  min-width: 0;
}

.ks-order-toast__eyebrow {
  display: none;
  margin-bottom: 3px;
  color: #13fdfd;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.ks-order-toast__message {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.ks-order-toast__time {
  display: block;
  margin-top: 5px;
  color: #b9c3d1;
  font-size: 12px;
  line-height: 1.2;
}

.ks-order-toast__close {
  position: relative;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  color: #cfe7ff;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.ks-order-toast__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
}

@media (max-width: 575px) {
  .ks-order-toast {
    right: 16px;
    bottom: 104px;
    width: min(320px, calc(100vw - 32px));
  }

  .ks-order-toast__card {
    grid-template-columns: 36px minmax(0, 1fr) 26px;
    gap: 9px;
    padding: 10px;
    border-radius: 14px;
  }

  .ks-order-toast__icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .ks-order-toast__icon svg {
    width: 18px;
    height: 18px;
  }

  .ks-order-toast__eyebrow {
    font-size: 10px;
  }

  .ks-order-toast__message {
    font-size: 12px;
    line-height: 1.35;
  }

  .ks-order-toast__time {
    margin-top: 3px;
    font-size: 11px;
  }

  .ks-order-toast__close {
    width: 26px;
    height: 26px;
  }
}
/* KayStudio mobile compact order toast */
body.tmp-white-version .ks-order-toast__card,
html[data-kay-theme="light"] body .ks-order-toast__card {
  color: #142231;
  border-color: rgba(19, 155, 253, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(232, 246, 255, 0.94));
  box-shadow: 0 14px 34px rgba(31, 63, 92, 0.18), 0 0 18px rgba(19, 155, 253, 0.12);
}

body.tmp-white-version .ks-order-toast__card::before,
html[data-kay-theme="light"] body .ks-order-toast__card::before {
  background: linear-gradient(90deg, rgba(19, 155, 253, 0.10), transparent 42%, rgba(0, 217, 255, 0.08));
}

body.tmp-white-version .ks-order-toast__message,
html[data-kay-theme="light"] body .ks-order-toast__message {
  color: #142231;
}

body.tmp-white-version .ks-order-toast__time,
html[data-kay-theme="light"] body .ks-order-toast__time {
  color: rgba(20, 34, 49, 0.64);
}

body.tmp-white-version .ks-order-toast__close,
html[data-kay-theme="light"] body .ks-order-toast__close {
  color: #159bff;
  border-color: rgba(19, 155, 253, 0.16);
  background: rgba(19, 155, 253, 0.08);
}

body[data-kay-theme="dark"] .ks-order-toast__card,
html[data-kay-theme="dark"] body .ks-order-toast__card {
  color: #ffffff;
  border-color: rgba(19, 253, 253, 0.18);
  background:
    radial-gradient(circle at 12% 0%, rgba(19, 253, 253, 0.14), transparent 28%),
    linear-gradient(145deg, rgba(6, 19, 27, 0.98), rgba(1, 10, 16, 0.96));
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.30), 0 0 20px rgba(19, 155, 253, 0.10);
}

@media (max-width: 575px) {
  .ks-order-toast {
    right: 32px;
    bottom: 96px;
    width: min(300px, calc(100vw - 28px));
  }

  .ks-order-toast__card {
    grid-template-columns: 34px minmax(0, 1fr) 24px;
    gap: 8px;
    min-height: 64px;
    padding: 9px 10px;
    border-radius: 14px;
  }

  .ks-order-toast__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(19, 155, 253, 0.20);
  }

  .ks-order-toast__icon svg {
    width: 17px;
    height: 17px;
  }

  .ks-order-toast__message {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.28;
  }

  .ks-order-toast__time {
    margin-top: 2px;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.15;
  }

  .ks-order-toast__close {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
}