/* ── Transfer Modal ── */
.trh-modal-dialog { max-width: 480px; }
.trh-modal-content {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.18);
}
.trh-mhdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 18px;
  background: #1e3a6e;
  gap: 12px;
}
.trh-mhdr-left { display: flex; align-items: center; gap: 12px; }
.trh-mhdr-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  display: grid; place-items: center;
  color: #fff; font-size: .95rem;
  flex-shrink: 0;
}
.trh-mhdr-title  { margin: 0; font-size: .95rem; font-weight: 700; color: #fff; }
.trh-mhdr-sub    { margin: 0; font-size: .73rem; color: rgba(255,255,255,.65); }
.trh-mhdr-close {
  background: rgba(255,255,255,.1);
  border: none; border-radius: 8px;
  color: #fff; width: 34px; height: 34px;
  display: grid; place-items: center;
  font-size: .9rem; cursor: pointer;
  flex-shrink: 0; transition: background .15s;
}
.trh-mhdr-close:hover { background: rgba(255,255,255,.22); }
.trh-mstep { padding: 22px; }
.trh-mfield { margin-bottom: 14px; }
.trh-mfield label {
  display: block;
  font-size: .78rem; font-weight: 600;
  color: #374151; margin-bottom: 6px;
}
.trh-minput-wrap { position: relative; }
.trh-minput-wrap input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  font-size: .88rem;
  font-family: inherit;
  background: #f9fafb;
  color: #111827;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.trh-minput-wrap input:focus {
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.trh-minput-wrap--epp input { padding-right: 44px; }
.trh-minput-eye {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #6b7280;
  cursor: pointer; padding: 2px; font-size: .85rem;
}
.trh-mhint {
  font-size: .73rem; color: #6b7280;
  display: flex; gap: 6px; align-items: flex-start;
  line-height: 1.5; margin-bottom: 14px;
}
.trh-mhint i { margin-top: 2px; color: #2563eb; flex-shrink: 0; }
.trh-merr {
  background: #fef2f2; border: 1px solid #fecaca;
  border-radius: 8px; padding: 10px 12px;
  font-size: .8rem; color: #b91c1c;
  margin-bottom: 14px; line-height: 1.5;
}
.trh-mbtn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 13px 20px;
  background: #2563eb; color: #fff;
  border: none; border-radius: 10px;
  font-size: .9rem; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: background .15s, transform .1s;
  margin-bottom: 10px;
}
.trh-mbtn:hover { background: #1d4ed8; color: #fff; }
.trh-mbtn:active { transform: scale(.98); }
.trh-mbtn:disabled { background: #93c5fd; cursor: not-allowed; }
.trh-mbtn small { font-size: .72rem; font-weight: 400; opacity: .85; margin-left: 6px; }
.trh-mbtn--cart  { background: #16a34a; }
.trh-mbtn--cart:hover { background: #15803d; }
.trh-mbtn--added { background: #6b7280; cursor: default; }
.trh-mbtn--ghost {
  background: transparent; color: #374151;
  border: 1.5px solid #d1d5db;
}
.trh-mbtn--ghost:hover { background: #f3f4f6; color: #374151; }
.trh-mres-row {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  gap: 8px;
  background: #f0fdf4; border: 1.5px solid #86efac;
  border-radius: 10px; padding: 12px 14px;
  margin-bottom: 10px;
}
.trh-mres-domain {
  display: flex; align-items: center; gap: 8px;
  color: #166534; font-weight: 700; font-size: .9rem;
}
.trh-mres-domain i { color: #16a34a; }
.trh-mres-badge {
  font-size: .73rem; font-weight: 700;
  padding: 3px 9px; border-radius: 20px;
  display: inline-flex; align-items: center; gap: 5px;
}
.trh-mres-badge--ok     { background: #dcfce7; color: #15803d; }
.trh-mres-badge--warn   { background: #fef9c3; color: #92400e; }
.trh-mres-badge--danger { background: #fee2e2; color: #b91c1c; }
.trh-mres-price {
  font-size: 1.05rem; font-weight: 800;
  color: #111827;
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 8px;
}
.trh-mres-price small { font-size: .73rem; font-weight: 400; color: #6b7280; }
.trh-mres-note {
  font-size: .73rem; color: #6b7280;
  display: flex; align-items: flex-start; gap: 8px;
  margin: 0 0 10px; line-height: 1.6;
}
.trh-mres-note i { flex-shrink: 0; margin-top: 2px; }
.trh-mres-note > span { min-width: 0; word-break: break-word; overflow-wrap: anywhere; }
.trh-mres-note--warn { color: #b45309; }
.trh-mres-note--danger { background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; color: #991b1b; padding: 10px 14px; }
@media (max-width: 575px) {
  .trh-mstep { padding: 16px; }
  .trh-mhdr  { padding: 16px 16px 14px; }
  .trh-mres-price { font-size: .95rem; flex-wrap: wrap; }
  .trh-mres-row { padding: 10px 12px; }
}
.trh-mbtn--locked { background: #fee2e2 !important; color: #b91c1c !important; cursor: not-allowed; opacity: 1; }
.trh-madded { text-align: center; padding: 10px 0 18px; }
.trh-madded-ico { display: block; font-size: 2.4rem; color: #16a34a; margin-bottom: 10px; }
.trh-madded strong { display: block; font-size: 1.1rem; font-weight: 800; color: #111827; margin-bottom: 6px; }
.trh-madded p { font-size: .82rem; color: #6b7280; margin: 0 auto; max-width: 320px; }
