/* "برندهای معتبر" table on trusted-betting-sites.html (rows come from the admin panel) */
.brands { margin: 0 0 28px; }
.br-title { font-family: 'Lalezar', 'Vazirmatn', sans-serif; color: #fff; font-size: 1.45rem; margin: 0 0 14px; }
.br-title2 { margin-bottom: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.br-table { width: 100%; border-collapse: separate; border-spacing: 0 10px; margin-top: -10px; }
.br-table th { text-align: right; font-size: 12px; font-weight: 500; color: #94a3b8; padding: 0 14px 2px; white-space: nowrap; }
.br-table td { background: rgba(255,255,255,.035); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); padding: 14px; vertical-align: middle; color: #e2e8f0; }
.br-table td:first-child { border-right: 1px solid rgba(255,255,255,.08); border-radius: 0 16px 16px 0; }
.br-table td:last-child { border-left: 1px solid rgba(255,255,255,.08); border-radius: 16px 0 0 16px; }
.br-table tbody tr { transition: transform .15s ease; }
.br-table tbody tr:hover td { background: rgba(255,46,79,.05); border-color: rgba(255,46,79,.28); }

.br-rank { width: 44px; text-align: center; font-family: 'Space Mono', monospace; color: #64748b; font-size: 15px; }
.br-site { min-width: 190px; }
.br-site, .br-name { display: flex; align-items: center; gap: 12px; }
.br-name { flex-direction: column; align-items: flex-start; gap: 3px; }
.br-name strong { color: #fff; font-size: 15px; direction: ltr; unicode-bidi: plaintext; }
.br-logo { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: #0b1324; border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; }
.br-logo img { width: 100%; height: 100%; object-fit: cover; }
.br-ini { font-weight: 700; font-size: 22px; color: #ff2e4f; }
.br-rate { display: inline-flex; align-items: center; gap: 4px; color: #ffb020; font-size: 12px; font-weight: 700; }
.br-rate svg { width: 13px; height: 13px; }

.br-bonus { font-size: 14px; line-height: 1.6; }
.br-bonus svg { width: 18px; height: 18px; color: #ffb020; display: inline-block; vertical-align: -4px; margin-left: 6px; }
.br-none { color: #475569; }

.br-apps { white-space: nowrap; }
.br-app { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; margin-left: 6px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); color: #e2e8f0; font-size: 12px; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.br-app svg { width: 16px; height: 16px; }
a.br-app:hover { border-color: rgba(255,46,79,.55); color: #ff2e4f; background: rgba(255,46,79,.06); }
.br-app.off { opacity: .32; cursor: default; }

.br-acts { white-space: nowrap; text-align: left; }
.br-review, .br-direct, .br-join { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; transition: background .15s, color .15s, box-shadow .15s; }
.br-review { color: #cbd5e1; border: 1px solid rgba(255,255,255,.18); margin-left: 8px; }
.br-review:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.br-direct { color: #ff2e4f; border: 1px solid rgba(255,46,79,.5); margin-left: 8px; }
.br-direct:hover { background: rgba(255,46,79,.1); }
.br-join { background: #ff2e4f; color: #fff; }
.br-join svg { width: 14px; height: 14px; }
.br-join:hover { box-shadow: 0 0 22px rgba(255,46,79,.45); }
.br-review:focus-visible, .br-direct:focus-visible, .br-join:focus-visible, .br-app:focus-visible { outline: 2px solid #ff2e4f; outline-offset: 2px; }

.br-note { margin: 4px 2px 0; font-size: 12px; color: #64748b; line-height: 1.8; }

/* phones and small tablets: each row becomes a card */
@media (max-width: 860px) {
  .br-table, .br-table tbody, .br-table tr, .br-table td { display: block; width: auto; }
  .br-table thead { display: none; }
  .br-table { border-spacing: 0; margin-top: 0; }
  .br-table tr { position: relative; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.09); border-radius: 18px; padding: 14px; margin-bottom: 12px; }
  .br-table td, .br-table td:first-child, .br-table td:last-child { background: none; border: 0; border-radius: 0; padding: 0; }
  .br-table tbody tr:hover td { background: none; }
  .br-rank { position: absolute; top: 14px; left: 14px; width: auto; font-size: 13px; }
  .br-table td.br-site { display: flex; min-width: 0; padding-left: 28px; }
  .br-table td.br-empty { display: none !important; }
  .br-bonus { margin-top: 12px; padding: 10px 12px !important; border-radius: 12px; background: rgba(255,176,32,.07) !important; }
  .br-apps { margin-top: 12px; display: flex !important; gap: 8px; }
  .br-app { margin: 0; flex: 1; justify-content: center; padding: 9px 10px; }
  .br-acts { margin-top: 12px; display: flex !important; gap: 8px; }
  .br-review, .br-direct, .br-join { flex: 1 1 0; min-width: 0; white-space: nowrap; justify-content: center; margin: 0; padding: 11px 6px; font-size: 12.5px; }
}
