﻿:root {
  --dt-ok: #15803d;
  --dt-bad: #b91c1c;
  --dt-muted: #64748b;
  --dt-border: rgba(15, 23, 42, 0.12);
  --dt-card: #ffffff;
  --dt-accent: #0f766e;
  --dt-accent-soft: rgba(15, 118, 110, 0.08);
}
.domain-tool .field-label { display:block; font-weight:600; font-size:0.9rem; color:#0f172a; }
.domain-tool .field-hint { margin:0; color:var(--dt-muted); font-size:0.88rem; }
.domain-tool .text-input { width:100%; border:1px solid var(--dt-border); border-radius:10px; padding:0.65rem 0.85rem; background:#fff; font:inherit; }
.domain-tool .btn { border:0; border-radius:10px; padding:0.65rem 1.1rem; font:inherit; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:0.35rem; text-decoration:none; }
.domain-tool .btn-primary { background:var(--dt-accent); color:#fff; }
.domain-tool .btn-primary:hover { background:#0d9488; color:#fff; }
.domain-tool .status-pill { display:inline-block; border-radius:999px; padding:0.15rem 0.55rem; font-size:0.78rem; font-weight:700; background:rgba(100,116,139,0.12); color:var(--dt-muted); }
.domain-tool .status-pill.is-available { background:rgba(21,128,61,0.12); color:var(--dt-ok); }
.domain-tool .status-pill.is-registered { background:rgba(185,28,28,0.1); color:var(--dt-bad); }
.domain-tool .processing-overlay { position:fixed; inset:0; background:rgba(15,23,42,0.35); display:grid; place-items:center; z-index:50; }
.domain-tool .processing-box { background:#fff; border-radius:14px; padding:1.25rem 1.5rem; min-width:180px; text-align:center; box-shadow:0 18px 40px rgba(15,23,42,0.18); }
.domain-tool .processing-spinner { width:28px; height:28px; margin:0 auto 0.75rem; border:3px solid #ccfbf1; border-top-color:var(--dt-accent); border-radius:50%; animation:dt-spin .8s linear infinite; }
@keyframes dt-spin { to { transform:rotate(360deg); } }
.da-search-card,.da-result-card { background:var(--dt-card); border:1px solid var(--dt-border); border-radius:16px; padding:1.15rem 1.25rem; margin-bottom:1rem; box-shadow:0 1px 2px rgba(15,23,42,0.04); }
.da-search-bar { display:flex; gap:0.75rem; align-items:stretch; margin-bottom:0.85rem; }
.da-search-input-wrap { flex:1; position:relative; min-width:0; }
.da-search-icon { position:absolute; left:14px; top:50%; transform:translateY(-50%); color:#94a3b8; pointer-events:none; }
.da-search-input { width:100%; height:48px; border:1px solid var(--dt-border); border-radius:12px; padding:0 14px 0 42px; font:inherit; font-size:1rem; }
.da-search-input:focus { outline:none; border-color:#5eead4; box-shadow:0 0 0 4px rgba(15,118,110,0.12); }
.da-search-btn { height:48px; min-width:108px; border-radius:12px; flex-shrink:0; }
.da-toolbar-row { display:flex; align-items:center; justify-content:space-between; gap:0.75rem; flex-wrap:wrap; }
.da-link-btn { border:0; background:transparent; color:var(--dt-accent); font:inherit; font-size:0.82rem; font-weight:600; cursor:pointer; padding:0.2rem 0.45rem; border-radius:6px; }
.da-link-btn:hover { background:var(--dt-accent-soft); }
.da-inline-error { margin-top:0.85rem; padding:0.7rem 0.9rem; border-radius:10px; background:#fef2f2; color:#991b1b; font-size:0.86rem; border:1px solid #fecaca; }
.da-result-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:0.85rem; flex-wrap:wrap; }
.da-result-summary { font-size:0.9rem; color:var(--dt-muted); font-weight:600; }
.da-result-list { display:flex; flex-direction:column; gap:0.55rem; }
.da-result-row { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:0.9rem 1rem; border:1px solid var(--dt-border); border-radius:12px; background:#fafbfc; }
.da-result-row.is-available { background:#f0fdf4; border-color:rgba(21,128,61,0.22); }
.da-result-main { min-width:0; flex:1; }
.da-result-domain { font-size:1.02rem; font-weight:700; color:#0f172a; word-break:break-all; margin-bottom:0.35rem; }
.da-result-meta { display:flex; align-items:center; gap:0.65rem; flex-wrap:wrap; }
.da-result-price { font-size:0.88rem; color:#334155; font-weight:600; }
.da-register-btn { padding:0.5rem 0.95rem; border-radius:10px; white-space:nowrap; }
.da-action-muted { color:#94a3b8; font-size:0.88rem; }
.da-empty { text-align:center; color:var(--dt-muted); padding:1.5rem 1rem; }
.da-info-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:0.75rem; margin-bottom:1rem; }
.da-info-item { border:1px solid var(--dt-border); border-radius:12px; padding:0.85rem 0.95rem; background:#fafbfc; }
.da-info-label { font-size:0.78rem; font-weight:600; color:var(--dt-muted); margin-bottom:0.35rem; }
.da-info-value { font-size:0.95rem; font-weight:650; color:#0f172a; word-break:break-word; }
.da-raw-details { border-top:1px solid var(--dt-border); padding-top:0.85rem; margin-top:0.5rem; }
.da-raw-details summary { cursor:pointer; font-weight:650; color:#334155; font-size:0.9rem; }
.da-raw-json { margin:0.75rem 0 0; padding:0.9rem 1rem; border-radius:12px; background:#0f172a; color:#e2e8f0; font-size:0.8rem; overflow:auto; max-height:360px; }
.da-detail-head { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:0.85rem; }
.da-detail-title { margin:0; font-size:1.15rem; }
.da-count-badge { border-radius:999px; padding:0.35rem 0.75rem; font-size:0.82rem; font-weight:700; background:#f1f5f9; color:#475569; border:1px solid var(--dt-border); }
.da-count-badge.is-ready { background:var(--dt-accent-soft); color:#115e59; }
.da-count-badge.is-over { background:#fef2f2; color:#991b1b; }
.da-bulk-textarea { width:100%; min-height:150px; border:1px solid var(--dt-border); border-radius:12px; padding:0.9rem 1rem; font:inherit; font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; line-height:1.55; resize:vertical; margin-bottom:0.85rem; }
.da-bulk-textarea:focus { outline:none; border-color:#5eead4; box-shadow:0 0 0 4px rgba(15,118,110,0.12); }
.da-bulk-head { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:0.85rem; }
.da-quick-actions { display:flex; flex-wrap:wrap; gap:0.25rem; }
@media (max-width:640px) {
  .da-search-bar { flex-direction:column; }
  .da-search-btn { width:100%; }
  .da-result-row { flex-direction:column; align-items:flex-start; }
  .da-register-btn { width:100%; }
}
.domain-health-tool .health-hero { display:flex; justify-content:space-between; gap:1rem; align-items:center; margin-bottom:1rem; padding-bottom:1rem; border-bottom:1px solid var(--dt-border); flex-wrap:wrap; }
.domain-health-tool .health-domain { font-size:1.3rem; font-weight:740; color:#0f172a; word-break:break-all; }
.domain-health-tool .health-grade { margin-top:0.35rem; color:var(--dt-muted); font-weight:600; }
.domain-health-tool .health-score-box { text-align:center; min-width:96px; padding:0.75rem 1rem; border-radius:16px; background:var(--dt-accent-soft); border:1px solid rgba(15,118,110,0.2); }
.domain-health-tool .health-score-num { font-size:2rem; font-weight:800; color:#115e59; line-height:1; }
.domain-health-tool .health-score-caption { font-size:0.78rem; color:var(--dt-muted); margin-top:0.25rem; }
.domain-health-tool .health-checks { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:0.65rem; margin-bottom:1rem; }
.domain-health-tool .health-check-item { border:1px solid var(--dt-border); border-radius:12px; padding:0.75rem 0.85rem; background:#fafbfc; }
.domain-health-tool .health-check-item.is-ok { background:#f0fdf4; border-color:rgba(21,128,61,0.22); }
.domain-health-tool .health-check-item.is-bad { background:#fef2f2; border-color:#fecaca; }
.domain-health-tool .health-check-label { font-size:0.78rem; font-weight:600; color:var(--dt-muted); margin-bottom:0.3rem; }
.domain-health-tool .health-check-value { font-size:0.95rem; font-weight:700; color:#0f172a; }
.domain-health-tool .health-list { margin-bottom:0.85rem; }
.domain-health-tool .health-list ul { margin:0.45rem 0 0; padding-left:1.1rem; color:#334155; font-size:0.9rem; line-height:1.5; }
.domain-health-tool .health-detail-row { display:flex; justify-content:space-between; gap:1rem; padding:0.7rem 0.8rem; border:1px solid var(--dt-border); border-radius:10px; margin-bottom:0.4rem; background:#fff; font-size:0.88rem; }
.domain-health-tool .health-detail-row.is-ok { border-color:rgba(21,128,61,0.2); }
.domain-health-tool .health-detail-row.is-bad { border-color:#fecaca; }
.domain-health-tool .muted { color:var(--dt-muted); font-weight:500; }
.domain-health-tool .health-enriched { margin:0.85rem 0; }
