/* ============================================================
   Thalyron Admin — Service overrides on top of UIKit
   ============================================================ */

/* Force dark background for admin */
html, body {
  background-color: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
}

/* ── Page transitions ── */
.tf-main { animation: tf-page-in .2s ease; }
@keyframes tf-page-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Active nav glow ── */
.tf-nav-item.active {
  box-shadow: inset 0 0 12px rgba(160, 120, 48, 0.08);
}

/* ── Table row highlight on hover ── */
.tf-table tbody tr:hover td {
  background: rgba(160, 120, 48, 0.04);
}

/* ── Stat card hover lift ── */
.tf-stat-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 20px rgba(160, 120, 48, 0.07);
}

/* ── Form section padding ── */
.tf-card .tf-card-body .tf-form-group:last-child {
  margin-bottom: 0;
}

/* ── Mono class for IP / code cells ── */
.mono { font-family: var(--font-mono); }

/* ── Bootstrap icon sizing ── */
.bi { font-size: 1em; line-height: 1; vertical-align: -0.1em; }

/* ── Responsive page padding ── */
@media (max-width: 768px) {
  .tf-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tf-page-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .tf-stats-grid {
    grid-template-columns: 1fr;
  }
}
