/* =============================================================
   Domain Price Manager — Widget (front-end)
   ============================================================= */
.dpm-widget {
  font-family: inherit;
  font-size: 14px;
  color: #344054;
  line-height: 1.5;
  --dpm-widget-accent: #e67e22;
  --dpm-widget-accent-soft: #fff3e8;
  --dpm-widget-text: #1f2937;
  --dpm-widget-muted: #8a94a6;
  --dpm-widget-border: #e5e7eb;
  --dpm-widget-surface: #f8fafc;
}
.dpm-widget * { box-sizing: border-box; }

.dpm-widget__empty {
  color: var(--dpm-widget-muted);
  font-style: italic;
  padding: 12px 0;
  margin: 0;
}

.dpm-widget__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--dpm-widget-border);
}

.dpm-widget__tab {
  border: 1px solid transparent;
  background: var(--dpm-widget-surface);
  color: #6c63ff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 120ms ease;
}

.dpm-widget__tab:hover,
.dpm-widget__tab.is-active {
  background: #f1efff;
  border-color: #d9d4ff;
  color: #5b54e8;
}

.dpm-widget__panel { display: none; }
.dpm-widget__panel.is-active { display: block; }

.dpm-widget__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.dpm-widget__table thead tr {
  border-bottom: 1px solid var(--dpm-widget-border);
}
.dpm-widget__table th {
  padding: 8px 6px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #667085;
}
.dpm-widget__table tbody tr {
  border-bottom: 1px solid var(--dpm-widget-border);
  transition: background 120ms ease;
}
.dpm-widget__table tbody tr:last-child { border-bottom: none; }
.dpm-widget__table tbody tr:hover { background: #fbfcfe; }
.dpm-widget__table td {
  padding: 8px 6px;
  vertical-align: middle;
  color: var(--dpm-widget-text);
}

.dpm-widget__reg {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dpm-widget__reg a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--dpm-widget-text);
  text-decoration: none;
  font-weight: 600;
}
.dpm-widget__reg a:hover {
  color: #0f172a;
  text-decoration: underline;
}

.dpm-widget__logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 3px;
}

.dpm-widget__price {
  font-weight: 700;
  color: var(--dpm-widget-accent);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.dpm-widget__currency {
  font-size: 11px;
  font-weight: 400;
  color: var(--dpm-widget-muted);
  margin-left: 2px;
}

.dpm-widget__footer {
  margin-top: 12px;
  text-align: right;
}
.dpm-widget__all-link {
  font-size: 13px;
  color: #475467;
  text-decoration: none;
  font-weight: 500;
}
.dpm-widget__all-link:hover {
  color: #b45309;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .dpm-widget__table th,
  .dpm-widget__table td {
    padding: 8px 4px;
    font-size: 12px;
  }

  .dpm-widget__tab {
    padding: 5px 10px;
  }
}
