.zehn-dns h2 { font-size: 1.25rem; font-weight: 700; }
.zehn-dns-empty { color: var(--bs-secondary-color); }

.zehn-dns-list { display: grid; gap: .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.zehn-dns-list li { display: grid; grid-template-columns: 4.5rem minmax(5rem, 1fr) minmax(0, 2.5fr) 4rem auto; align-items: center; gap: .75rem; padding: .7rem .9rem; border: 1px solid var(--bs-border-color); border-radius: .9rem; }
.zehn-dns-type { justify-self: start; padding: .15rem .55rem; border-radius: .45rem; background: color-mix(in srgb, #0774ff 10%, transparent); color: #0774ff; font-size: .75rem; font-weight: 700; }
.zehn-dns-name { font-weight: 600; overflow-wrap: anywhere; }
.zehn-dns-value { display: grid; gap: .2rem; min-width: 0; }
.zehn-dns-value code { color: inherit; font-size: .8125rem; overflow-wrap: anywhere; }
.zehn-dns-ttl { color: var(--bs-secondary-color); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.zehn-dns-actions { display: flex; gap: .4rem; justify-content: end; }

.zehn-dns-form { padding: 1.1rem; border-radius: 1rem; background: var(--bs-tertiary-bg); }
.zehn-dns-form h3 { margin: 0 0 .85rem; font-size: 1rem; font-weight: 700; }
.zehn-dns-fields { display: grid; grid-template-columns: 7rem minmax(0, 1.4fr) 6.5rem; gap: .75rem; margin-bottom: .9rem; }
.zehn-dns-fields label { display: grid; gap: .3rem; font-size: .8125rem; font-weight: 600; }
.zehn-dns-wide { grid-column: 1 / -1; }
.zehn-dns-wide small { color: var(--bs-secondary-color); font-weight: 400; }
.zehn-dns-host { display: flex; align-items: center; gap: .4rem; }
.zehn-dns-host small { color: var(--bs-secondary-color); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 50%; }
.zehn-dns-form textarea { resize: vertical; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .875rem; }

@media (max-width: 767.98px) {
  .zehn-dns-list li { grid-template-columns: auto 1fr auto; grid-template-areas: "type name ttl" "value value value" "actions actions actions"; }
  .zehn-dns-type { grid-area: type; }
  .zehn-dns-name { grid-area: name; }
  .zehn-dns-ttl { grid-area: ttl; }
  .zehn-dns-value { grid-area: value; }
  .zehn-dns-actions { grid-area: actions; justify-content: start; }
  .zehn-dns-fields { grid-template-columns: 1fr 1fr; }
  .zehn-dns-fields label:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
}

.zehn-paid { width: min(28rem, calc(100vw - 2rem)); padding: 2rem 1.75rem 1.5rem; border: 0; border-radius: 1.25rem; background: var(--bs-body-bg); color: var(--bs-body-color); text-align: center; box-shadow: 0 24px 60px -24px rgba(11, 21, 48, .35); }
.zehn-paid::backdrop { background: rgba(11, 21, 48, .45); backdrop-filter: blur(2px); }
.zehn-paid-icon { display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; margin-bottom: 1rem; border-radius: 50%; background: #19d3a2; color: #fff; }
.zehn-paid-icon .icon { width: 1.75rem; height: 1.75rem; stroke-width: 3; }
.zehn .zehn-paid h2 { margin: 0 0 .5rem; font-size: 1.4rem; font-weight: 700; }
.zehn-paid p { margin: 0 0 1.5rem; color: var(--bs-secondary-color); line-height: 1.55; }
.zehn-paid-actions { display: grid; gap: .35rem; }

.zehn-dns-wait { display: flex; gap: .75rem; align-items: flex-start; margin: 0 0 1rem; line-height: 1.55; }
.zehn-dns-spinner { flex-shrink: 0; width: 1.1rem; height: 1.1rem; margin-top: .2rem; border: 2px solid var(--bs-border-color); border-top-color: #0774ff; border-radius: 50%; animation: zehn-spin .9s linear infinite; }
.zehn-dns-ns { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.zehn-dns-ns code { display: inline-block; padding: .35rem .6rem; border-radius: .5rem; background: var(--bs-tertiary-bg); color: inherit; }
.order-manage #ns-tab, .order-manage #ns-tab-pane { display: none !important; }
.zehn-paid.is-pending .zehn-paid-icon { background: #0774ff; }
.zehn-paid.is-delayed .zehn-paid-icon { background: #f5a524; }
