/* ===========================================================
   CoinDaily Shortcodes Tables — обменники и биржи в статьях
   =========================================================== */

.article-body .cdst-block {
  background: #0d0d0d;
  border: 1px solid #1f2937;
  border-radius: 14px;
  padding: 22px;
  margin: 28px 0;
}

.article-body .cdst-head {
  margin-bottom: 16px;
}

.article-body .cdst-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  border: 0;
  padding: 0;
  line-height: 1.3;
}

.article-body .cdst-subtitle {
  font-size: 13px;
  color: #9ca3af;
  margin: 0;
}

.article-body .cdst-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -2px;
}

.article-body .cdst-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
  background: transparent;
}

.article-body .cdst-table thead th {
  text-align: left;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  border-bottom: 1px solid #1f2937;
  white-space: nowrap;
  background: transparent;
}

.article-body .cdst-table tbody td {
  padding: 12px;
  border-bottom: 1px solid #1f2937;
  vertical-align: middle;
}

.article-body .cdst-table tbody tr:last-child td {
  border-bottom: 0;
}

.article-body .cdst-table tbody tr:hover {
  background: rgba(247, 147, 26, 0.04);
}

.article-body .cdst-table tbody tr.cdst-row-verified {
  background: rgba(34, 197, 94, 0.04);
}
.article-body .cdst-table tbody tr.cdst-row-verified:hover {
  background: rgba(34, 197, 94, 0.08);
}

.article-body .cdst-table tbody tr.cdst-row-top {
  background: rgba(247, 147, 26, 0.06);
  position: relative;
}
.article-body .cdst-table tbody tr.cdst-row-top:hover {
  background: rgba(247, 147, 26, 0.10);
}

.article-body .cdst-col-num {
  width: 28px;
  color: #6b7280;
  font-weight: 600;
  text-align: center;
}

.article-body .cdst-col-name strong {
  color: #fff;
  font-weight: 600;
}

.article-body .cdst-name-link {
  text-decoration: none;
  border: 0 !important;
}
.article-body .cdst-name-link:hover strong {
  color: #f7931a;
}

.article-body .cdst-name-meta {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 3px;
  font-weight: 400;
}

.article-body .cdst-col-rate strong {
  color: #22c55e;
  font-weight: 700;
}

.article-body .cdst-col-reserve {
  color: #d1d5db;
  white-space: nowrap;
}

.article-body .cdst-col-cta {
  text-align: right;
  white-space: nowrap;
}

.article-body .cdst-btn {
  display: inline-block;
  padding: 7px 16px;
  background: #22c55e;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none !important;
  border: 0 !important;
  transition: background 0.15s;
  white-space: nowrap;
}
.article-body .cdst-btn:hover {
  background: #16a34a;
  color: #fff !important;
}

.article-body .cdst-badge-top {
  display: inline-block;
  background: #f7931a;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.article-body .cdst-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #1f2937;
  text-align: center;
}

.article-body .cdst-more {
  color: #f7931a !important;
  text-decoration: none !important;
  border: 0 !important;
  font-size: 13px;
  font-weight: 600;
}
.article-body .cdst-more:hover { color: #ffb347 !important; }

.article-body .cdst-empty {
  padding: 18px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 8px;
  color: #fbbf24;
  text-align: center;
  font-size: 14px;
}

/* === MOBILE === */
@media (max-width: 720px) {
  .article-body .cdst-block { padding: 16px 14px; }
  .article-body .cdst-title { font-size: 16px; }
  .article-body .cdst-subtitle { font-size: 12px; }
  .article-body .cdst-table { font-size: 13px; }
  .article-body .cdst-table thead th,
  .article-body .cdst-table tbody td { padding: 8px 10px; }
  .article-body .cdst-name-meta { font-size: 10px; }
  .article-body .cdst-btn { padding: 6px 12px; font-size: 12px; }
}
