/* ================= RESET ================= */
* {
    box-sizing: border-box;
}

/* =====================================================
   BASE GLOBAL
   (não interfere no calendário, apenas páginas padrão)
===================================================== */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* =====================================================
   DASHBOARD – CONTROLE REAL DA LOGO (NÃO MEXER)
   Afeta SOMENTE o dashboard
===================================================== */
body.dashboard {
    color: #fff;
    background: radial-gradient(circle at top, #1a1a1a 0%, #000 70%);
}

body.dashboard .mapa-header .mapa-logo-box img {
    height: 96px;          /* <<< TAMANHO DA LOGO */
    max-height: 96px;
    width: auto;
    max-width: none;
    display: block;
    object-fit: contain;
}

/* =====================================================
   HEADER PADRÃO — PÁGINAS NORMAIS
   (NÃO dashboard, NÃO feiras-calendario)
===================================================== */
body:not(.dashboard):not(.layout-feiras) {
    background: #f6f7f9;
    color: #111;
}


/* HEADER */
.app-header {
    height: 88px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

/* LOGO */
.app-header .logo {
    height: 56px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

/* MENU TOPO */
.app-menu {
    display: flex;
    gap: 18px;
}

.app-menu a {
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

.app-menu a:hover {
    text-decoration: underline;
}

/* =====================================================
   CONTAINER PADRÃO
===================================================== */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 24px;
}

/* =====================================================
   TÍTULO PADRÃO (fora do calendário)
===================================================== */
.container h1 {
    text-align: center;
    font-size: 32px;
    margin: 32px 0 24px;
    color: #111;
}

/* =====================================================
   BOTÃO PADRÃO RAM
===================================================== */
.btn-ram {
    background: #c40000;
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-ram:hover {
    opacity: .9;
}
/* =========================
   BOTÃO LOGOUT
========================= */

.btn-logout {
    background: #e5e7eb;       /* cinza claro */
    color: #111827;            /* quase preto */
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background .2s ease;
}

.btn-logout:hover {
    background: #d1d5db;
}
/* Reset para botão de logout manter visual original */
.logout-form {
    display: inline;
    margin: 0;
}

.logout-reset {
    background: none;
    border: none;
    padding: 0;
}

