/* ===========================
   CONTAINER
=========================== */
.ranking-wrapper {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
}

/* ===========================
   MENU DE ABAS
=========================== */
.tabs-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}
.tabs-menu .tab {
  background: #111;
  color: #ffb400;
  font-weight: bold;
  padding: 8px 18px;
  border-radius: 8px;
  transition: all .25s ease;
  text-decoration: none;
  box-shadow: 0 3px 6px rgba(0,0,0,0.4);
}
.tabs-menu .tab:hover {
  background: #ffb400;
  color: #111;
  transform: translateY(-2px);
}
.tabs-menu .tab.active {
  background: #ffb400;
  color: #111;
  box-shadow: 0 0 12px rgba(255,180,0,0.5);
}

/* ===========================
   BOX DO RANK
=========================== */
.ranking-embed {
  width: 100%;
  background: #141414;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  color: #fff;
  overflow-x: auto;
  animation: fadeIn .4s ease-in-out;
}

/* Animação suave */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(8px);}
  to   {opacity: 1; transform: translateY(0);}
}

/* ===========================
   TABELAS
=========================== */
.ranking-embed table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
}
.ranking-embed th,
.ranking-embed td {
  padding: 10px 12px;
  text-align: center;
  color: #ddd;
  background: #111;
}
.ranking-embed th {
  background: #1f1f1f;
  color: #ffb400;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: .5px;
}
.ranking-embed tr:nth-child(even) td {
  background: #1a1a1a;
}
.ranking-embed tr:hover td {
  background: #222;
  transition: background .2s;
}

/* ===========================
   BADGES DE STATUS
=========================== */
.badge {
  display: inline-block;
  min-width: 70px;
  text-align: center;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.badge-online {
  background: #28a745;
  color: #fff;
  box-shadow: 0 0 8px rgba(40,167,69,0.6);
}
.badge-offline {
  background: #dc3545;
  color: #fff;
  box-shadow: 0 0 8px rgba(220,53,69,0.6);
}
.badge-busy {
  background: #ffc107;
  color: #111;
  box-shadow: 0 0 8px rgba(255,193,7,0.6);
}
body .section-title {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body .ranking-embed > div:first-child,
body .paper > div:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body main {
  padding-top: 0 !important;
}

body .paper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}