/*======CONFIGURACIÓN GLOBAL ======*/
/* HEADER GLOBAL */
.app-header {
    width: 100%;
    height: 48px;
    background: #d50000;
    color: white;

    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;

    padding: 0 8px;
    box-sizing: border-box;
}

/* Título centrado*/
.app-title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
    pointer-events: none;
}

/* Botón cerrar sesión */
.logout-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

/* Botón volver */
.back-btn {
    background: none;
    border: none;
    cursor: pointer;
}

/* Botón de regresar */
.back-btn::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 12px solid white;
}
/*Configuración del título*/
.app-title {
    position: relative;
    left: 50%;
    transform: translateX(-50%);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bold;

    white-space: nowrap;
    line-height: 1;
    text-align: center;

    pointer-events: none;
}

.logout-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
}

.back-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}


/* ===============================
   TOAST GLOBAL
================================ */
#toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: #d50000;
    color: white;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

#toast.show {
    opacity: 1;
}

/* Ajuste de para pantallas pequeñas */
@media (max-width: 360px) {
    .app-title {
        font-size: 16px;
    }
}