/* ============================
   PALETA DE COLORES DEL LOGO
   ============================ */
:root {
    --color-dark: #000000;
    --color-light: #FFFFFF;
    --color-cream: #F2E7C9; /* crema */
    --color-wood-dark: #4A2F14; /* marron-oscuro */
    --color-wood-light: #C49A6C;  /* marron-claro */
    --color-wood-mid: #8A6B3F;  /* marron-medio */

    --bg: var(--color-cream);
    --text: var(--color-dark);
    --card: #ffffff;
}


/* ============================
   ESTILOS GENERALES
   ============================ */
body {
    margin: 0;
    padding: 0;
    background: #FFFFFF;
    color: var(--text);
    font-family: Arial, sans-serif;
    padding-bottom: 100px; /* altura del menú inferior */
}

.container {
    max-width: 500px;
    margin: auto;
    padding: 15px;
}

.card {
    background: var(--card);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ============================
   ELEMENTOS COMUNES
   ============================ */
h2 {
    text-align: center;
}

input, textarea, button {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid var(--color-wood-light);
    font-size: 16px;
    background: var(--bg);
    color: var(--text);
}

button {
    background: var(--color-wood-mid);
    color: white;
    font-weight: bold;
    border: none;
}

button:hover {
    background: var(--color-wood-dark);
}

/* Mensaje OK */
.ok {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

/* ============================
   MENÚ INFERIOR TIPO APP
   ============================ */
.bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #C49A6C;
    border-top: 2px solid var(--color-wood-light);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.bottom-menu a {
    text-decoration: none;
    color: var(--text);
    text-align: center;
    font-size: 14px;
}

.bottom-menu svg {
    width: 24px;
    height: 24px;
    display: block;
    margin: auto;
}


/* ============================
   MENU DESPLEGABLE SUPERIOR
   ============================ */

.menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    background: var(--color-wood-mid);
    color: white;
    font-size: 22px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1000;
}

/* Panel lateral */
.side-menu {
    position: fixed;
    top: 0;
    right: -250px; /* oculto inicialmente */
    height: 100%;
    width: 250px;
    background: var(--card);
    box-shadow: -3px 0 10px rgba(0,0,0,0.3);
    padding-top: 60px;
    transition: right 0.3s ease;
    z-index: 999;
}

.side-menu a {
    display: block;
    padding: 15px;
    border-bottom: 1px solid var(--color-wood-light);
    text-decoration: none;
    color: var(--text);
    font-size: 18px;
}

.side-menu a:hover {
    background: var(--color-wood-light);
    color: white;
}

/* Cuando el menú está abierto */
.side-menu.open {
    right: 0;
}
/* notificaciones */
.notificaciones-icono {
    position: relative;
    font-size: 22px;
    text-decoration: none;
}

.notif-icono .badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: red;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 12px;
    font-weight: bold;
}

.badge {
    position: absolute !important;
    top: -6px !important;
    right: -10px !important;
    background: red;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 12px;
    font-weight: bold;
    line-height: 1;
}

.notif-icon,
.notificaciones-icono {
    position: relative !important;
}

