/* ============================================================
   MU OLDSCHOOL — style.css (novo tema dark/dourado)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cinzel+Decorative:wght@400;700&family=Crimson+Pro:ital,wght@0,400;0,600;1,400&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold:          #c9a227;
  --gold-light:    #f0c842;
  --gold-dark:     #8a6c10;
  --deep-blue:     #050c1a;
  --mid-blue:      #0a1628;
  --panel-bg:      rgba(4, 10, 24, 0.92);
  --panel-border:  rgba(180, 140, 40, 0.45);
  --text-main:     #d4c090;
  --text-bright:   #f2e8c0;
  --text-muted:    #8a7a5a;
  --sky-blue:      #4a9acc;
  --sky-bright:    #7ac4ee;
}

/* ── BASE ── */
html { overflow-x: hidden; }

body {
  font-family: 'Crimson Pro', Georgia, serif;
  background-color: var(--deep-blue);
  background-image:
    radial-gradient(ellipse at 70% 20%, rgba(10,30,80,0.7) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(80,10,10,0.3) 0%, transparent 50%),
    linear-gradient(180deg, #030a18 0%, #060f22 40%, #080c20 100%);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  font-size: 18px;
}

/* estrelas fixas no fundo */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 15% 10%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 35%  5%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 15%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 80%  8%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 20%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at  5% 30%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(2px 2px at 45% 40%, rgba(200,180,255,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 30%, rgba(255,255,255,0.4) 0%, transparent 100%);
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color .2s, text-shadow .2s;
}
a:hover {
  color: #fff8d0;
  text-shadow: 0 0 8px var(--gold-light);
}

img { border: 0; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--deep-blue); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }

/* ── INPUTS GLOBAIS ── */
input[type=text],
input[type=email],
input[type=password],
input[type=number] {
  background: rgba(5, 15, 35, 0.85);
  border: 1px solid rgba(150, 110, 30, 0.4);
  color: var(--text-bright);
  padding: 10px 13px;
  font-family: 'Crimson Pro', serif;
  font-size: 15px;
  outline: none;
  border-radius: 0;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
input[type=text]::placeholder,
input[type=email]::placeholder,
input[type=password]::placeholder { color: rgba(180,150,80,0.4); font-style: italic; }
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=number]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(200,160,40,0.2);
}

/* form-control do Bootstrap — sobrescreve */
.form-control {
  background: rgba(5, 15, 35, 0.85) !important;
  border: 1px solid rgba(150, 110, 30, 0.4) !important;
  color: var(--text-bright) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: 'Crimson Pro', serif;
  font-size: 15px;
}
.form-control:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 10px rgba(200,160,40,0.2) !important;
}
.form-control::placeholder { color: rgba(180,150,80,0.4); font-style: italic; }

/* ── HEADER ── */
#header {
  text-align: center;
  padding: 40px 0 28px;   /* 28px de respiro abaixo do logo antes da navbar */
  position: relative;
  z-index: 1;
}

.logo-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 100px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 8px;
  background: linear-gradient(180deg, #fff8d0 0%, #f0c842 30%, #c9a227 65%, #8a6010 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 28px rgba(200,160,40,0.6));
}

.logo-subtitle {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 18px;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: -4px;
  text-shadow: 0 0 20px rgba(200,160,40,0.8);
}

.logo-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  margin-bottom: 6px;
}
.ornament-line {
  height: 1px;
  width: 120px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ornament-diamond {
  width: 8px; height: 8px;
  background: var(--gold-light);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--gold-light);
}

/* ── NAVBAR ── */
#navbar {
  width: calc(100% - 30px);
  max-width: 1500px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(160,110,10,0.88) 0%, rgba(100,65,5,0.92) 50%, rgba(80,50,5,0.88) 100%);
  border: 2px solid var(--gold-dark);
  border-top-color: var(--gold-light);
  border-radius: 0;
  box-shadow: 0 4px 28px rgba(0,0,0,0.7), 0 0 40px rgba(200,160,40,0.15);
  position: relative;
  z-index: 1;
}
#navbar::before {
  content: '';
  position: absolute;
  top: 3px; left: 0; right: 0;
  height: 1px;
  background: rgba(255,220,100,0.3);
}
#navbar::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 0; right: 0;
  height: 1px;
  background: rgba(100,60,0,0.5);
}

/* Wrapper interno */
#navbar .navbar-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

#navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

#navbar ul li a {
  display: block;
  padding: 20px 58px;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f8e8b0 !important;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  transition: all .2s;
  position: relative;
}
#navbar ul li a:hover {
  color: #fff8d0 !important;
  text-shadow: 0 0 14px rgba(255,220,100,0.9);
  background: rgba(255,200,50,0.08);
}
/* separador entre itens */
#navbar ul li + li a::before {
  content: '✦';
  position: absolute;
  left: -3px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 7px;
  color: var(--gold-dark);
  opacity: 0.6;
}

/* ── LAYOUT GRID CUSTOMIZADO (substitui col-sm-3/6 do Bootstrap) ── */
.layout-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 0 !important;
}

/* Laterais: largura fixa de 260px */
.col-lateral {
  flex: 0 0 260px;
  width: 260px;
  min-width: 260px;
}

/* Centro: ocupa todo o espaço restante */
.col-centro {
  flex: 1 1 auto;
  min-width: 0;
}

/* Centro sem laterais (rankings etc.) */
.col-centro-full {
  flex: 1 1 auto;
  min-width: 0;
}


/* ── CONTAINER ── */
#container {
  width: 1570px;
  max-width: 100%;
  margin: 20px auto;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

#content {
  width: 100%;
  overflow: auto;
  min-height: 500px;
  padding-top: 16px;
  padding-bottom: 20px;
}

/* ── PANEL (sidebar) ── */
.panel-sidebar {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.85), inset 0 1px 0 rgba(200,160,50,0.1);
  position: relative;
  margin-bottom: 16px;
}

/* cantos decorativos */
.panel-sidebar::before,
.panel-sidebar::after,
.panel-sidebar > .panel-heading::before,
.panel-sidebar > .panel-heading::after { display: none; } /* usamos pseudo via wrapper */

.panel-sidebar .corner-tl,
.panel-sidebar .corner-tr,
.panel-sidebar .corner-bl,
.panel-sidebar .corner-br {
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--gold-dark);
  border-style: solid;
  opacity: 0.8;
  pointer-events: none;
  z-index: 2;
}
.panel-sidebar .corner-tl { top:-1px; left:-1px;  border-width: 2px 0 0 2px; }
.panel-sidebar .corner-tr { top:-1px; right:-1px; border-width: 2px 2px 0 0; }
.panel-sidebar .corner-bl { bottom:-1px; left:-1px;  border-width: 0 0 2px 2px; }
.panel-sidebar .corner-br { bottom:-1px; right:-1px; border-width: 0 2px 2px 0; }

.panel-sidebar .panel-heading {
  background: linear-gradient(180deg, rgba(150,100,10,0.65) 0%, rgba(80,50,5,0.55) 100%);
  border-bottom: 1px solid var(--panel-border);
  padding: 11px 16px;
  border-radius: 0;
}
.panel-sidebar .panel-heading h3 {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(200,160,40,0.5);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-sidebar .panel-body { padding: 14px; }

/* tabela interna dos painéis sidebar */
.panel-sidebar .table { margin-bottom: 0; background: transparent !important; }
.panel-sidebar .table > tbody > tr > td,
.panel-sidebar .table > tbody > tr > th {
  border: none !important;
  border-bottom: 1px solid rgba(150,110,30,0.12) !important;
  padding: 9px 10px;
  color: var(--text-main);
  font-size: 14px;
  vertical-align: middle;
  background: transparent !important;
}
.panel-sidebar .table > tbody > tr:nth-child(odd) > td  { background: rgba(8, 22, 55, 0.45) !important; }
.panel-sidebar .table > tbody > tr:nth-child(even) > td { background: rgba(2,  8, 22, 0.6)  !important; }
.panel-sidebar .table > tbody > tr:last-child > td { border-bottom: none !important; }
.panel-sidebar .table td:first-child { color: var(--text-muted); }
.panel-sidebar .table td strong      { color: var(--text-muted); font-weight: 600; }
.panel-sidebar .table td a           { color: var(--sky-blue); font-family: 'Cinzel', serif; font-size: 12px; }
.panel-sidebar .table td a:hover     { color: #8ad8ff; }

/* ── PANEL EVENTS (dark) ── */
.panel-sidebar-events {
  background: rgba(2, 6, 16, 0.96);
  border: 1px solid rgba(60,80,120,0.4);
  box-shadow: 0 4px 24px rgba(0,0,0,0.9);
  position: relative;
  margin-bottom: 16px;
}

.panel-sidebar-events .corner-tl,
.panel-sidebar-events .corner-tr,
.panel-sidebar-events .corner-bl,
.panel-sidebar-events .corner-br {
  position: absolute;
  width: 14px; height: 14px;
  border-color: rgba(74,154,204,0.5);
  border-style: solid;
  opacity: 0.8;
  pointer-events: none;
  z-index: 2;
}
.panel-sidebar-events .corner-tl { top:-1px; left:-1px;  border-width: 2px 0 0 2px; }
.panel-sidebar-events .corner-tr { top:-1px; right:-1px; border-width: 2px 2px 0 0; }
.panel-sidebar-events .corner-bl { bottom:-1px; left:-1px;  border-width: 0 0 2px 2px; }
.panel-sidebar-events .corner-br { bottom:-1px; right:-1px; border-width: 0 2px 2px 0; }

.panel-sidebar-events .panel-heading {
  background: linear-gradient(180deg, rgba(150,100,10,0.65) 0%, rgba(80,50,5,0.55) 100%);
  border-bottom: 1px solid var(--panel-border);
  padding: 11px 16px;
}
.panel-sidebar-events .panel-heading h3 {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(200,160,40,0.5);
  margin: 0;
}

.panel-sidebar-events .panel-body { padding: 5px; }

.panel-sidebar-events .table { margin-bottom: 0 !important; }
.panel-sidebar-events .table td {
  border: none !important;
  border-bottom: 1px solid rgba(74,154,204,0.08) !important;
  padding: 9px 10px;
  vertical-align: middle;
  font-size: 12px;
  color: #ccc;
}
.panel-sidebar-events .table tr:last-child td { border-bottom: none !important; }

.event-name-cell  { font-family: 'Cinzel', serif; font-size: 12px; font-weight: 700; color: var(--gold-light); letter-spacing: 0.5px; }
.event-sub-cell   { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.event-time-cell  { font-family: 'Cinzel', serif; font-size: 12px; color: var(--sky-blue); text-align: right; white-space: nowrap; }
.event-countdown  { font-size: 10px; color: #555; }

/* invasões */
.invasion-name-cell { font-family: 'Cinzel', serif; font-size: 12px; font-weight: 700; color: var(--text-bright); letter-spacing: 0.5px; }
.invasion-time-cell { text-align: right; white-space: nowrap; }
.invasion-day  { font-family: 'Cinzel', serif; font-size: 11px; font-weight: 700; color: var(--gold-light); }
.invasion-hour { font-family: 'Cinzel', serif; font-size: 16px; font-weight: 700; color: var(--sky-blue); text-shadow: 0 0 8px rgba(74,154,204,0.5); }
.invasion-countdown { font-size: 10px; color: var(--text-muted); margin-top: 1px; }

/* ── BOTÕES SOCIAIS ── */
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all .2s;
  width: 100%;
}
.social-btn svg { flex-shrink: 0; }

.btn-discord {
  background: linear-gradient(180deg, rgba(88,101,242,0.25) 0%, rgba(60,70,180,0.35) 100%);
  border-color: rgba(88,101,242,0.55);
  color: #b0b8ff !important;
}
.btn-discord:hover { background: rgba(88,101,242,0.35); box-shadow: 0 0 14px rgba(88,101,242,0.35); color: #d0d8ff !important; }

.btn-register {
  background: linear-gradient(180deg, rgba(20,140,60,0.25) 0%, rgba(10,90,40,0.35) 100%);
  border-color: rgba(40,160,80,0.45);
  color: #80e0a0 !important;
}
.btn-register:hover { background: rgba(20,140,60,0.35); box-shadow: 0 0 14px rgba(40,160,80,0.35); color: #a0f0b8 !important; }

.btn-download {
  background: linear-gradient(180deg, rgba(30,100,200,0.25) 0%, rgba(15,60,140,0.35) 100%);
  border-color: rgba(50,120,220,0.45);
  color: #80b8f0 !important;
}
.btn-download:hover { background: rgba(30,100,200,0.35); box-shadow: 0 0 14px rgba(50,120,220,0.35); color: #a0d0ff !important; }

/* ── BOTÃO GOLD (login) ── */
.btn-gold {
  background: linear-gradient(180deg, #d4a020 0%, #a87c14 45%, #7a5808 100%);
  border: 1px solid #f0c842;
  color: #1a0e00 !important;
  padding: 11px;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
  width: 100%;
  display: block;
  text-align: center;
  border-radius: 0;
}
.btn-gold:hover {
  background: linear-gradient(180deg, #f0c842 0%, #c9a227 45%, #9a7010 100%);
  box-shadow: 0 0 18px rgba(220,160,30,0.5);
  color: #1a0e00 !important;
}

/* botão recuperar senha */
.btn-recover {
  background: transparent;
  border: 1px solid rgba(150,110,30,0.45);
  color: var(--text-muted) !important;
  padding: 3px 8px;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
  font-weight: normal;
  text-shadow: none;
}
.btn-recover:hover { color: var(--gold-light) !important; border-color: var(--gold); }

/* ── MODULE CONTENTS (centro) ── */
.module-contents {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 20px;
  min-height: 300px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.85), inset 0 1px 0 rgba(200,160,50,0.1);
  position: relative;
}

.page-title {
  font-family: 'Cinzel', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--sky-blue);
  text-align: center;
  letter-spacing: 3px;
  text-shadow: 0 0 20px rgba(74,154,204,0.6);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(74,154,204,0.2);
}

/* ── TABELAS GENÉRICAS ── */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.info-table tr:nth-child(odd)  td { background: rgba(8, 22, 55, 0.85) !important; }
.info-table tr:nth-child(even) td { background: rgba(2,  8, 22, 0.95) !important; }
.info-table tr:hover td { background: rgba(20, 50, 100, 0.6) !important; }
.info-table td {
  padding: 11px 18px;
  border-bottom: 1px solid rgba(150,110,30,0.15) !important;
  border-top: none !important;
  color: var(--text-main);
}
/* ── BOOTSTRAP TABLE OVERRIDE GLOBAL ──
   Prefixo #content aumenta especificidade acima do Bootstrap sem !important excessivo */

#content .table,
.module-contents .table,
.panel-sidebar .table,
.panel-sidebar-events .table {
  background: transparent !important;
}

/* Bordas douradas em todas as células */
#content .table > tbody > tr > td,
#content .table > tbody > tr > th,
#content .table > thead > tr > td,
#content .table > thead > tr > th,
#content .table > tfoot > tr > td {
  border-color: rgba(150, 110, 30, 0.22) !important;
  color: var(--text-main) !important;
}

/* BASE: todas as linhas pares (escuras) */
#content .module-contents .table > tbody > tr > td,
#content .module-contents .table > tbody > tr > th {
  background-color: rgba(239, 240, 243, 0.96) !important;
  color: var(--text-main) !important;
  border-color: rgb(233, 233, 226) !important;
}

/* ZEBRA: linhas ímpares em azul-marinho escuro */
#content .module-contents .table > tbody > tr:nth-child(odd) > td,
#content .module-contents .table > tbody > tr:nth-child(odd) > th,
#content .module-contents .table-striped > tbody > tr:nth-child(odd) > td,
#content .module-contents .table-striped > tbody > tr:nth-child(odd) > th {
  background-color: #0a1628 !important;
}

/* Hover */
#content .module-contents .table-hover > tbody > tr:hover > td,
#content .module-contents .table-hover > tbody > tr:hover > th {
  background-color: rgba(20, 48, 100, 0.75) !important;
  cursor: default;
}

/* Links dourados — sobrescreve style="" inline também */
#content .module-contents .table td a,
#content .module-contents .table td a[style] {
  color: var(--gold-light) !important;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
#content .module-contents .table td a:hover,
#content .module-contents .table td a[style]:hover {
  color: #fff8d0 !important;
  text-shadow: 0 0 8px var(--gold-light);
}

/* Thead dourado */
#content .module-contents .table > thead > tr > th {
  background-color: rgba(140, 95, 8, 0.4) !important;
  color: var(--gold-light) !important;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--gold-dark) !important;
  border-color: var(--gold-dark) !important;
}

/* Bordas da table-bordered */
#content .module-contents .table-bordered,
#content .module-contents .table-bordered > tbody > tr > td,
#content .module-contents .table-bordered > tbody > tr > th,
#content .module-contents .table-bordered > thead > tr > th {
  border-color: rgba(150, 110, 30, 0.28) !important;
}


/* ── RANKINGS ── */
.rankings-table {
  width: 90%;
  border-spacing: 0;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}
.rankings-table tr td {
  border-bottom: 1px solid rgba(150,110,30,0.2);
  padding: 10px;
  font-size: 26px;
  vertical-align: middle !important;
  text-align: center;
  color: var(--text-main);
}
.rankings-table tr:first-child td {
  color: var(--gold-light);
  border-bottom: 2px solid var(--gold-dark);
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 1px;
  background: rgba(150,100,10,0.25);
}
.rankings-table tr:not(:first-child):hover td { background: rgba(200,160,40,0.05); }
.rankings-table tr td:first-child { width: 80px; }
.rankings-table-place { color: var(--gold); font-weight: 700; font-size: 22px; text-align: center; }
.rankings-class-image { width: 28px; height: auto; border-radius: 0; box-shadow: 0 0 6px rgba(0,0,0,0.8); }

.rankings_menu { width: 90%; overflow: auto; text-align: center; margin: 0 auto 20px; }
.rankings_menu span { display: block; padding: 10px 0; color: var(--text-muted); font-size: 20px; }
.rankings_menu a {
  display: inline-block;
  width: 140px;
  border: 1px solid rgba(150,110,30,0.3);
  text-align: center;
  padding: 5px 0;
  margin: 3px;
  background: rgba(5,15,35,0.7);
  color: var(--text-muted) !important;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 1px;
  transition: all .2s;
  border-radius: 0;
}
.rankings_menu a:hover, .rankings_menu a.active {
  color: var(--gold-light) !important;
  border-color: var(--gold-dark);
  background: rgba(150,100,10,0.2);
}

.rankings-update-time { text-align: right; font-size: 11px; color: var(--text-muted); padding: 8px 0; }

/* ── TIPOGRAFIA DENTRO DO MÓDULO ── */
.module-contents h2 {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-light);
  text-align: center;
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(200,160,40,0.4);
  margin: 28px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(150,110,30,0.25);
}
.module-contents h4 {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--sky-bright);
  letter-spacing: 1px;
  margin: 14px 0 6px;
}
.module-contents p {
  font-family: 'Crimson Pro', serif;
  font-size: 19px;
  color: var(--text-main);
  line-height: 1.75;
  margin-bottom: 6px;
}

/* ── FOOTER ── */
.footer {
  width: 100%;
  font-size: 13px;
  color: var(--text-muted);
  padding: 50px 0 40px;
  background: rgba(2, 6, 16, 0.98);
  border-top: 1px solid rgba(150,110,30,0.2);
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.footer-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.footer-ornament-line {
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}
.footer-ornament-diamond {
  font-size: 12px;
  color: var(--gold-dark);
}

.footer > .footer-container {
  width: 2500px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  overflow: auto;
}

.footer p {
  font-family: 'Crimson Pro', serif;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-copy {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 16px;
}


.btn-painel1 {
    background: linear-gradient(180deg, #1a8c3a 0%, #0f5a24 45%, #0a3d18 100%);
    border: 1px solid #2dd65a;
    color: #e0ffe8 !important;
    border-radius: 0;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 3px 18px;
}

.btn-painel2 {
    background: linear-gradient(180deg, #8c1a1a 0%, #5a0f0f 45%, #3d0a0a 100%);
    border: 1px solid #d63333;
    color: #ffe0e0 !important;
    border-radius: 0;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 3px 18px;
}


.btn-primary-rank {
    background: linear-gradient(180deg, #d4a020 0%, #a87c14 45%, #7a5808 100%);
    border: 1px solid #f0c842;
    color: #1a0e00 !important;
    border-radius: 0;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 8px 22px;
}

.btn-default-rank {
  background: rgba(150,100,10,0.25);
  border: 1px solid rgba(150,110,30,0.4);
  color: var(--text-main) !important;
  font-family: 'Cinzel', serif;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 8px 22px;
  transition: all 0.2s ease;
}

a.btn.btn-default-rank:hover,
a.btn.btn-default-rank:focus,
a.btn.btn-default-rank:active {
  background: rgba(150,100,10,0.5);
  border: 1px solid rgba(150,110,30,0.8);
  color: var(--text-main);
  text-decoration: none;
  outline: none;
  box-shadow: none;
  transition: all 0.2s ease;
}


.btn-primary {
    background: linear-gradient(180deg, #d4a020 0%, #a87c14 45%, #7a5808 100%);
    border: 1px solid #f0c842;
    color: #1a0e00 !important;
    border-radius: 0;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 8px 55px;
}

.row { margin-left: 0; margin-right: 0; }
.btn { border-radius: 0; }
.btn-default {
  background: rgba(150,100,10,0.25);
  border: 1px solid rgba(150,110,30,0.4);
  color: var(--text-main);
  font-family: 'Cinzel', serif;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 8px 55px;
}
.btn-default:hover {
  background: rgba(150,100,10,0.25);
  border-color: var(--gold-dark);
  color: var(--gold-light);
}
.btn-block { display: block; width: 100%; }

/* painéis bootstrap padrão sobrescritos */
.panel { background: var(--panel-bg); border: 1px solid var(--panel-border); border-radius: 0; }
.panel-heading { background: linear-gradient(180deg, rgba(150,100,10,0.5) 0%, rgba(80,50,5,0.5) 100%); border-color: var(--panel-border); }
.panel-title { font-family: 'Cinzel', serif; color: var(--gold-light); font-size: 13px; letter-spacing: 2px; }
.panel-body { color: var(--text-main); }

/* alertas */
.alert { border-radius: 0; border-left: 3px solid; }
.alert-success { background: rgba(20,80,40,0.3); border-color: #4a9a6a; color: #80d0a0; }
.alert-danger   { background: rgba(80,10,10,0.3); border-color: #9a4a4a; color: #d08080; }
.alert-info     { background: rgba(10,40,80,0.3); border-color: var(--sky-blue); color: var(--sky-bright); }
.alert-warning  { background: rgba(80,60,10,0.3); border-color: var(--gold-dark); color: var(--gold-light); }

/* ══ REGRA FINAL ANTI-BOOTSTRAP ══
   #content garante especificidade maior que qualquer regra do Bootstrap */
#content .module-contents tbody tr:nth-child(odd)  td { background-color: rgba(10, 24, 60, 0.92) !important; }
#content .module-contents tbody tr:nth-child(even) td { background-color: rgba(3,  9, 26, 0.96) !important; }
#content .module-contents tbody tr:hover           td { background-color: rgba(20, 48, 100, 0.75) !important; }
#content .module-contents tbody tr td:first-child     { color: var(--text-bright) !important; }
#content .module-contents tbody tr td:last-child      { color: var(--text-muted) !important; }

/* Links com color inline dentro de qualquer tabela no conteúdo */
#content table td a,
#content table td a[style] {
  color: var(--gold-light) !important;
  font-weight: 700;
  text-decoration: none;
}
#content table td a:hover,
#content table td a[style]:hover {
  color: #fff8d0 !important;
  text-shadow: 0 0 8px var(--gold-light);
}

.modal-backdrop {
    z-index: 1040 !important;
}
.modal {
    z-index: 1050 !important;
}
.modal-dialog {
    z-index: 1060 !important;
}


.modal-content {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.85);
}

.modal-header {
    background: linear-gradient(180deg, rgba(150,100,10,0.65) 0%, rgba(80,50,5,0.55) 100%);
    border-bottom: 1px solid var(--panel-border);
}

.modal-title {
    font-family: 'Cinzel', serif;
    color: var(--gold-light);
    letter-spacing: 2px;
    font-size: 16px;
}

.modal-footer {
    border-top: 1px solid var(--panel-border);
    background: rgba(4, 10, 24, 0.6);
}

.modal-body {
    background: transparent;
    color: var(--text-main);
}

.modal-body label {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--gold-light);
}

.close {
    color: var(--gold-light) !important;
    opacity: 0.8;
    text-shadow: none;
}
.close:hover {
    color: #fff !important;
    opacity: 1;
}


