@font-face { font-family: HV45; src: url('../fonts/HV45.otf') format('opentype'); font-weight: normal; font-style: normal; }
@font-face { font-family: HV65; src: url('../fonts/HV65.ttf') format('truetype'); font-weight: normal; font-style: normal; }

/* --- 1. CONFIGURAÇÃO GERAL (RESET & BACKGROUND) --- */
body, html { 
    width: 100%; 
    height: 100%; 
    margin: 0; 
    padding: 0; 
    font-family: 'Segoe UI', HV45, Arial, sans-serif;
    overflow-x: hidden;
}

body { 
    /* BACKGROUND FIXO E COBRINDO TUDO */
    background: url('../imgs/bg-top.png') no-repeat center center fixed; 
    background-size: cover; 
    background-color: #0b0b0b; 
    color: #ccc; 
}

a, input, textarea, select { outline: none; text-decoration: none; }
a { cursor: pointer; color: #DAA520; transition: 0.3s; }
a:hover { color: #fff; }

/* --- 2. LAYOUT "CARD" (Centralizado e Estático) --- */
/* Esta é a estrutura principal que segura o painel no meio da tela */

.main-viewport {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7); /* Fundo escuro semi-transparente para destacar o painel */
}

.card-box {
    display: flex;
    width: 1400px;
    max-width: 95%;
    min-height: 750px;
    background-color: #171717;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 80px rgba(0,0,0,1);
    border: 1px solid #333;
}

/* Lado Esquerdo (Menu Amarelo) */
.sidebar-panel {
    width: 300px;
    min-width: 300px;
    background: #FFD700; /* Amarelo Sólido */
    display: flex;
    flex-direction: column;
    padding: 50px 0;
    border-right: 1px solid #DAA520;
}

.brand-area {
    text-align: center;
    margin-bottom: 60px;
}

.server-name {
    color: #000;
    font-weight: 900;
    font-size: 28px;
    text-transform: uppercase;
    text-decoration: none;
    font-family: HV65, Arial;
    letter-spacing: 1px;
}

/* Links do Menu (Estáticos) */
.nav-links a {
    display: flex;
    align-items: center;
    padding: 18px 30px;
    color: #000 !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: none; /* Remove animação de movimento */
}

.nav-links a:hover {
    background-color: rgba(255,255,255,0.2);
    color: #000 !important;
}

.nav-links a.actived {
    background-color: rgba(0,0,0,0.05);
    font-weight: 900;
}

.nav-links i, .nav-links svg {
    width: 30px;
    font-size: 20px;
    text-align: center;
    margin-right: 15px;
    color: #000;
}

/* Lado Direito (Conteúdo Preto) */
.content-panel {
    flex-grow: 1;
    background-color: #171717;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    color: #ddd;
}

.page-title {
    text-align: center;
    color: #FFD700;
    font-size: 26px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

/* --- 3. ESTILO DE FORMULÁRIOS (DARK / UIVERSE) --- */
/* Isso padroniza todos os inputs do site para serem escuros */

/* Estilo Novo (.input-group) */
.input-group {
    position: relative;
    margin-bottom: 20px;
    background: #0b0b0b;
    border: 1px solid #333;
    border-radius: 35px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    transition: 0.3s;
    height: 60px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
}

.input-group:focus-within {
    border-color: #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.input-group svg, .input-group i {
    width: 22px;
    height: 22px;
    fill: #FFD700;
    color: #FFD700;
    margin-right: 15px;
}

.input-group input, .input-group select {
    background: none;
    border: none;
    color: #fff;
    width: 100%;
    height: 100%;
    font-size: 16px;
    outline: none;
}

/* Botão Principal Dourado */
.btn-action, input[type="submit"].default, .btn-register {
    width: 100%;
    padding: 15px;
    margin-top: 25px;
    border-radius: 35px;
    border: none;
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    color: #000 !important;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-action:hover, input[type="submit"].default:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    background: #FFD700;
}

/* Links Extras */
.extra-links {
    text-align: right;
    font-size: 13px;
    margin-top: 15px;
}
.extra-links a { color: #888; }
.extra-links a:hover { color: #FFD700; }


/* --- 4. CORREÇÃO DE LEGADO (Para não quebrar páginas antigas) --- */
/* Força inputs antigos a ficarem escuros também */

.formpadrao .camp input, .formpadrao .camp select, .formpadrao textarea {
    background: #0b0b0b !important;
    color: #fff !important;
    border: 1px solid #333 !important;
    border-radius: 5px;
    padding: 10px !important;
}

.formpadrao .desc {
    color: #ccc !important;
    background: none !important;
}

.formpadrao > div {
    background: none !important;
    border-bottom: 1px solid #222;
}

/* Tabelas */
table.default { background: #111; color: #ccc; }
table.default tr th { background: #222; color: #DAA520; border-bottom: 1px solid #DAA520; }
table.default tr td { border-color: #333; background: #111; }
table.default tr:nth-child(even) td { background: #161616; }

/* Esconde elementos do layout velho que não usamos mais */
.all, .menu, .header, footer { 
    /* ATENÇÃO: As classes .all e .menu originais conflitam com o novo layout se não forem sobrescritas.
       Aqui mantemos compatibilidade caso alguma página interna exija, mas resetamos o visual. */
    background: transparent;
}

/* Ajustes de compatibilidade */
.smallCenter { width: 100%; margin: 0 auto; padding: 0; }
.server_status { display: none; } /* Remove logo antiga gigante */