/* ── DNS Propagation Checker ─────────────────────────────────────────── */
.tool-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}
.tool-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.tool-desc {
  color: var(--muted2);
  font-size: 14px;
  margin-bottom: 24px;
}

/* Form */
.prop-form .form-row {
  display: flex;
  gap: 10px;
}
.input-wrap--domain { flex: 1; }
.input-wrap--type { flex: 0 0 100px; }

.prop-form .input {
  width: 100%;
  height: 44px;
  padding: 12px 16px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--mono);
  transition: border-color .2s, box-shadow .2s;
}
.prop-form .input--select {
  cursor: pointer;
  padding-right: 8px;
  font-size: 14px;
}
.prop-form .input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91,138,248,.3);
}
.prop-form .btn-primary {
  min-height: 44px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s, transform .15s, filter .2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.prop-form .btn-primary:hover  { transform: scale(1.02); filter: brightness(1.1); }
.prop-form .btn-primary:active { transform: scale(0.98); }
.prop-form .btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; filter: none; }

}

to   { opacity: 1; transform: translateY(0); }
}

/* Error */
.prop-error {
  color: var(--red);
  font-size: 14px;
  margin-top: 16px;
  animation: fadeInUp .3s var(--ease-out);
}

/* Results container */
#propResults {
  margin-top: 16px;
  animation: fadeInUp .4s var(--ease-out);
}

/* Summary bar */
.prop-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 14px;
  margin-bottom: 12px;
}
.prop-summary-count {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.prop-summary-count span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}
.prop-progress-wrap {
  flex: 1;
  height: 8px;
  background: var(--surface2);
  border-radius: 4px;
  overflow: hidden;
}
.prop-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  border-radius: 4px;
  transition: width .6s ease;
}
.prop-progress-bar--full  { background: linear-gradient(90deg, #22c55e, #16a34a); }
.prop-progress-bar--partial { background: linear-gradient(90deg, var(--yellow), var(--orange)); }
.prop-progress-bar--none  { background: linear-gradient(90deg, var(--red), #b91c1c); }

.prop-summary-pct {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted2);
  white-space: nowrap;
}

/* Inconsistency warning */
.prop-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(234,179,8,.08);
  border: 1px solid rgba(234,179,8,.2);
  border-radius: 10px;
  font-size: 13px;
  color: var(--yellow);
  margin-bottom: 12px;
}
.prop-warning-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.prop-warning strong { display: block; margin-bottom: 4px; }
.prop-warning-answers {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted2);
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.prop-answer-pill {
  padding: 2px 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border2);
  border-radius: 6px;
  color: var(--text);
}

/* Results grid */
.prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 8px;
}
.prop-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color .2s, background .2s;
}
.prop-row:hover { border-color: var(--border2); background: var(--surface2); }

/* Status dot */
.prop-status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.prop-status-dot--ok      { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,.4); }
.prop-status-dot--nxdomain{ background: var(--red); box-shadow: 0 0 6px rgba(248,113,113,.4); }
.prop-status-dot--timeout { background: var(--muted); }
.prop-status-dot--error   { background: var(--orange); box-shadow: 0 0 6px rgba(249,115,22,.4); }

/* Server info */
.prop-server-info { flex: 1; min-width: 0; }
.prop-server-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prop-server-ip {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
}

/* Location badge */
.prop-location {
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.prop-location--usa     { background: rgba(59,130,246,.12); color: #60a5fa; }
.prop-location--russia  { background: rgba(248,113,113,.12); color: #f87171; }
.prop-location--germany { background: rgba(234,179,8,.12);  color: #fbbf24; }
.prop-location--europe  { background: rgba(52,211,153,.12); color: #34d399; }
.prop-location--china   { background: rgba(249,115,22,.12); color: #fb923c; }
.prop-location--asia    { background: rgba(167,139,250,.12); color: #a78bfa; }

/* Answer */
.prop-answer {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan);
  min-width: 0;
  word-break: break-all;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}
.prop-answer--empty { color: var(--muted); }

/* Response time */
.prop-ms {
  font-size: 11px;
  font-family: var(--mono);
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
  min-width: 44px;
}
.prop-ms--fast   { color: #22c55e; }
.prop-ms--medium { color: var(--yellow); }
.prop-ms--slow   { color: var(--red); }

/* Meta bar */
.prop-meta {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  padding: 10px 16px;
  background: var(--surface2);
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
.prop-meta span { color: var(--muted2); }

/* Responsive */
@media (max-width: 640px) {
  .prop-form .form-row { flex-wrap: wrap; }
  .input-wrap--domain { flex: 1 1 100%; }
  .input-wrap--type   { flex: 1; }
  .prop-form .btn-primary { flex: 1; justify-content: center; }
  .prop-grid { grid-template-columns: 1fr; }
  .prop-answer { max-width: 90px; }
  .prop-summary { flex-wrap: wrap; gap: 10px; }
  .prop-progress-wrap { order: 3; flex: 1 1 100%; }
}
