.tdyu-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: min(360px, calc(100vw - 32px));
  background: #0c5776;
  color: #fff;
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(12, 87, 118, 0.25);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: 0.2s ease;
  font-size: 14px;
  line-height: 1.4;
}
.tdyu-toast.is-on {
  opacity: 1;
  transform: none;
}
.tdyu-toast strong {
  display: block;
  margin-bottom: 4px;
}

.tdyu-form-busy {
  opacity: 0.6;
  pointer-events: none;
}
.tdyu-invalid {
  outline: 2px solid #b42318 !important;
}

.tdyu-bank-box {
  margin: 0 0 18px;
  padding: 18px 18px 16px;
  border-radius: 12px;
  border: 1px solid rgba(12, 87, 118, 0.14);
  background: linear-gradient(180deg, #fff, #f4fafc);
}
.tdyu-bank-box h4 {
  margin: 0 0 8px;
  color: #0c5776;
}
.tdyu-demo-inline {
  margin: 12px 0 10px;
  font-size: 13px;
  color: #5a7580;
}
.tdyu-demo-launch {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  background: #00ade2;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.tdyu-demo-pay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(8, 32, 44, 0.55);
}
.tdyu-demo-pay.is-on {
  display: grid;
}
.tdyu-demo-card {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.tdyu-demo-x {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  color: #5a7580;
}
.tdyu-demo-badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff4ce;
  color: #8a5a00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.tdyu-demo-card h3 {
  margin: 10px 0 6px;
  color: #0c5776;
}
.tdyu-demo-hint {
  margin: 0 0 14px;
  color: #5a7580;
  font-size: 13px;
  line-height: 1.45;
}
.tdyu-demo-card label {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 650;
  color: #5a7580;
}
.tdyu-demo-card input {
  border: 1px solid rgba(12, 87, 118, 0.16);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: #1a3a48;
}
.tdyu-demo-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 4px 0 12px;
}
.tdyu-method {
  border: 1px solid rgba(12, 87, 118, 0.16);
  background: #f7fafb;
  border-radius: 12px;
  padding: 12px 8px;
  cursor: pointer;
  display: grid;
  gap: 6px;
  justify-items: center;
  font-weight: 700;
  color: #0c5776;
}
.tdyu-method.is-active {
  border-color: #00ade2;
  background: rgba(0, 173, 226, 0.1);
  box-shadow: 0 0 0 3px rgba(0, 173, 226, 0.12);
}
.tdyu-method-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #0c5776;
  color: #fff;
  font-size: 14px;
}
.tdyu-method[data-method='humo'] .tdyu-method-logo {
  background: #1b6b3a;
}
.tdyu-method[data-method='uzcard'] .tdyu-method-logo {
  background: #0b5ea8;
}
.tdyu-method[data-method='visa'] .tdyu-method-logo {
  background: #1a1f71;
}
.tdyu-demo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tdyu-demo-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.tdyu-demo-primary,
.tdyu-demo-ghost {
  border: 0;
  border-radius: 10px;
  padding: 11px 12px;
  font-weight: 700;
  cursor: pointer;
}
.tdyu-demo-primary {
  background: #067647;
  color: #fff;
}
.tdyu-demo-ghost {
  background: #fff;
  color: #b42318;
  border: 1px solid rgba(180, 35, 24, 0.25);
}
.tdyu-demo-link {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 0;
  background: transparent;
  color: #00ade2;
  font-weight: 650;
  cursor: pointer;
  text-align: center;
}
.tdyu-demo-status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
}
.tdyu-demo-status.is-busy {
  background: #eef6fa;
  color: #0c5776;
}
.tdyu-demo-status.is-ok {
  background: rgba(6, 118, 71, 0.1);
  color: #067647;
}
.tdyu-demo-status.is-fail {
  background: rgba(180, 35, 24, 0.1);
  color: #b42318;
}

.tdyu-search-panel {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  place-items: start center;
  padding: 10vh 16px 16px;
  background: rgba(8, 32, 44, 0.45);
}
.tdyu-search-panel.is-on {
  display: grid;
}
.tdyu-search-card {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  position: relative;
}
.tdyu-search-close {
  position: absolute;
  right: 10px;
  top: 8px;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}
.tdyu-search-results {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.tdyu-search-results a {
  color: #0c5776;
  text-decoration: none;
  font-weight: 650;
}
