/* Azul Mistico Theme - resumido */
body {
    font-family: Arial;
    background: radial-gradient(circle at top, #5cc6ff, #1a2340 40%, #050816);
    color: #e5f2ff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

#container, .container, .main, #content {
    width: 100%;
    max-width: 1100px;
    margin: 30px 10px;
    position: relative;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .16), transparent 55%),
        radial-gradient(circle at 80% 100%, rgba(140, 192, 255, .18), transparent 60%);
    opacity: .55;
    mix-blend-mode: screen;
    z-index: -1;
}

.content,
#content,
.panel,
.box,
.card {
    background: radial-gradient(circle at top, rgba(36, 77, 130, .92), rgba(9, 17, 38, .98));
    padding: 18px;
    border-radius: 18px;
    margin-bottom: 18px;
    border: 1px solid rgba(132, 210, 255, .6);
    box-shadow: 0 0 18px rgba(0, 140, 255, .4);
}

/* =========================== */
/*       TIPOGRAFIA PREMIUM    */
/* =========================== */

h1, h2, h3 {
    font-family: "Trebuchet MS", Arial, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fefefe;
    text-shadow:
        0 0 8px rgba(0, 195, 255, 0.7),
        0 0 14px rgba(0, 140, 255, 0.35);
}

/* TÍTULOS DESTACADOS */
h1 {
    font-size: 30px !important;
    color: #ffffff !important;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.7),
        0 0 18px rgba(0, 204, 255, 0.7),
        0 0 26px rgba(0, 153, 255, 0.5);
}

/* SUBTÍTULOS */
h2 {
    color: #ffe8b3 !important;
    text-shadow:
        0 0 6px rgba(255, 208, 125, 0.6),
        0 0 10px rgba(255, 187, 0, 0.3);
}

/* TÍTULOS DE PAINEL */
.panel h2,
.box h2,
.card h2 {
    font-size: 22px !important;
    color: #aee4ff !important;
    text-shadow:
        0 0 8px rgba(80, 220, 255, 0.7),
        0 0 10px rgba(0, 140, 215, 0.5);
}

/* TEXTOS NORMAIS */
p,
li,
td,
th {
    color: #d9eaff !important;
    font-size: 15px !important;
}

/* LINKS DESTACADOS */
a {
    color: #66d1ff !important;
    font-weight: bold;
    transition: 0.2s;
}

a:hover {
    color: #ffe29e !important;
    text-shadow: 0 0 6px rgba(255, 214, 145, 0.8);
}

/* =========================== */
/*      BANNER PERSONALIZADO   */
/* =========================== */

.well.banner {
    background-image: url('/layout/img/banner.png') !important;
    background-color: #050816 !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    min-height: 220px;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.35);
}

/* Se existir alguma imagem dentro do banner, esconde */
.well.banner img {
    display: none !important;
}

/* ===== Indicador de jogadores online no topo ===== */

/* Corrige o deslocamento do menu causado pelo bloco de jogadores online */
nav .container {
    position: relative;
    left: -12px;
}

/* Texto "Jogadores Online" no topo */
nav .server-info-top {
    float: right;
    margin-right: 40px;
    margin-top: 12px;
    font-size: 13px;
    color: #00bfff;
    font-weight: bold;
    text-shadow: 0 0 6px rgba(0, 140, 255, 0.7);
}

/* Pill com a quantidade de jogadores */
nav .server-pill {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0b2a3d, #0f5fa8);
    color: #e5f2ff;
    box-shadow: 0 0 8px rgba(0, 140, 255, 0.6);
    white-space: nowrap;
}

nav .server-pill strong {
    color: #ffe29e;
}

/* ===== Lateral moderna (widgets) ===== */

.well.widget {
    margin-bottom: 24px;
    border-radius: 12px;
    background: radial-gradient(circle at top, rgba(18, 40, 80, 0.96), rgba(3, 8, 20, 0.98));
    border: 1px solid rgba(120, 200, 255, 0.45);
    box-shadow: 0 0 14px rgba(0, 140, 255, 0.32);
}

.well.widget .header {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

/* Botão LOGIN arredondado e neon */
.well.widget input[type="submit"],
.well.widget input[type="button"] {
    border-radius: 999px;
    background: linear-gradient(90deg, #0b63ff, #41b9ff);
    border: 1px solid #4fd4ff;
    color: #001428;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 0 12px rgba(0, 153, 255, 0.8);
}

/* LOGIN e CRIAR CONTA com o mesmo estilo */
.well.widget .submitButton,
.well.widget .register-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0b63ff, #41b9ff);
    border: 1px solid #4fd4ff;
    color: #001428;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 0 12px rgba(0, 153, 255, 0.8);
}

.well.widget .submitButton:hover,
.well.widget .register-btn:hover {
    filter: brightness(1.12);
}

/* ==== Última Captura ==== */

.ultima-captura-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 12px;
    gap: 10px;
    font-family: "Arial", sans-serif;
}

.ultima-captura-box .uc-label {
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff; /* POKEMON / JOGADOR brancos */
}

.ultima-captura-box .uc-label-top {
    align-self: flex-start;
}

.ultima-captura-box .uc-label-bottom {
    align-self: flex-start;
    margin-top: 4px;
}

.ultima-captura-box .uc-img {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ultima-captura-box .uc-img img {
    max-width: 100%;
    max-height: 240px;
    object-fit: contain;
    display: block;
}

/* Títulos das janelas laterais */
.widget h3,
h3 {
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffd86b !important;
}

/* ===== Top 5 jogadores – quadradinhos de volta ===== */

/* Deixa a tabela com largura cheia */
.top5-widget table {
    width: 100%;
    border-collapse: collapse;
}

/* Cada linha com um pouco mais de altura */
.top5-widget td {
    font-size: 115%;
    padding: 3px 4px;
}

/* Número do ranking (1, 2, 3...) */
.top5-widget td:first-child {
    color: #ffd86b;
    font-weight: bold;
    width: 20px;
    text-align: left;
}

/* Nome + level */
.top5-widget td:nth-child(2) {
    color: #4bb8ff;
    font-weight: bold;
}

.top5-widget td:nth-child(2) a {
    color: #4bb8ff;
    text-decoration: none;
}

.top5-widget td:nth-child(2) a:hover {
    text-decoration: underline;
}

/* ---- Top 5 estilizado (nome esquerda, level direita) ---- */
.top5-container {
    width: 100%;
}

.top5-row {
    display: flex;
    justify-content: space-between; /* nome esquerda, level direita */
    padding: 6px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: 0.2s;
}

.top5-row:hover {
    background: rgba(255,255,255,0.08);
}

.top5-name {
    font-weight: bold;
    color: #d7e8ff;
}

.top5-level {
    font-weight: bold;
    color: #8ac4ff;
}

/* Espaçamento entre as janelas da sidebar */
.widget {
    margin-bottom: 20px !important;
}


/* Espaçamento forte entre as janelas da lateral direita */
.rightPane .well.widget {
    margin-bottom: 20px !important;
}


/* ======== Espaçamento global entre TODAS as janelas da sidebar ======== */
.rightPane > .well,
.rightPane > .widget,
.rightPane > .well.widget,
.rightPane .well.widget {
    margin-bottom: 25px !important;
}


/* Sombra da caixa de BUSCA DE PERSONAGEM */
.rightPane .well:nth-of-type(2) {
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.4) !important;
    border-radius: 6px !important;
}


/* Botão CRIAR CONTA com estilo azul igual ao LOGIN */
.rightPane input[value="CRIAR CONTA"],
.rightPane input[value="Criar Conta"],
.rightPane input[value="criar conta"],
.rightPane button.create,
.rightPane .create-button {
    background: linear-gradient(90deg, #0e6dff, #33caff) !important;
    border: 1px solid #0e6dff !important;
    color: white !important;
    font-weight: bold !important;
    padding: 10px 0 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: 0.2s !important;
    text-shadow: 0 0 4px rgba(0,0,0,0.6);
}

.rightPane input[value="CRIAR CONTA"]:hover,
.rightPane input[value="Criar Conta"]:hover,
.rightPane button.create:hover {
    background: linear-gradient(90deg, #33caff, #0e6dff) !important;
    box-shadow: 0 0 10px rgba(0, 150, 255, 0.5);
}


/* Botões LOGIN e CRIAR CONTA idênticos */
.rightPane input[value="LOGIN"],
.rightPane input[value="Login"],
.rightPane input[value="CRIAR CONTA"],
.rightPane input[value="Criar Conta"],
.rightPane input[value="criar conta"] {
    background: linear-gradient(90deg, #0076ff, #39c5ff) !important;
    border: 1px solid #0062d1 !important;
    color: #000000 !important;              /* mesma cor do LOGIN */
    font-weight: bold !important;
    text-align: center !important;
    width: 100% !important;
    padding: 10px 0 !important;
    border-radius: 999px !important;        /* bem arredondado */
    cursor: pointer !important;
    display: block !important;
    text-transform: uppercase !important;
    letter-spacing: 1px;
    transition: 0.2s !important;
}

.rightPane input[value="LOGIN"]:hover,
.rightPane input[value="Login"]:hover,
.rightPane input[value="CRIAR CONTA"]:hover,
.rightPane input[value="Criar Conta"]:hover,
.rightPane input[value="criar conta"]:hover {
    background: linear-gradient(90deg, #39c5ff, #0076ff) !important;
    box-shadow: 0 0 10px rgba(0, 150, 255, 0.6);
}


/* Ajuste: texto dos botões LOGIN e CRIAR CONTA em cor clara */
.rightPane input[value="LOGIN"],
.rightPane input[value="Login"],
.rightPane input[value="CRIAR CONTA"],
.rightPane input[value="Criar Conta"],
.rightPane input[value="criar conta"] {
    color: #ffffff !important;  /* ← COR CLARA */
    text-shadow: 0 0 6px rgba(0,0,0,0.6); /* deixa mais destacado */
}

