@font-face {
    font-family: 'ZuumeRough';
    src: url('../fonts/Zuume-Rough-Bold.ttf') format('truetype'); 
    font-weight: bold;
    font-style: normal;
}

:root {
  --red-light: #FF3131;
  --red-pure: #D80000;
  --yellow: #F3BE01;
  --white: #fff;
  --black: #000;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle, var(--red-light) 0%, var(--red-pure) 100%);
    margin: 0;
    color: var(--white);
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Evita scrolls innecesarios */
}

/* --- LOGO CONTROLADO --- */
.logo-lpdb-top {
    position: absolute;
    top: 80px;
    left: 10%;
    width: 300px; /* Tamaño fijo para que no se vea gigante */
    height: auto;
    z-index: 10;
}

.split-container {
    display: flex;
    flex: 1;
    width: 100%;
    align-items: flex-end; /* Alineados por abajo */
    justify-content: center;
    /* Bajamos el padding-top de 400px a 100px para que el contenido suba y se vea */
    padding: 100px 10% 200px 10%; 
}

.brand-side {
    flex: 1.2;
}

.texto-especial-banner {
    font-family: 'ZuumeRough', sans-serif;
    font-size: 85px;
    line-height: 0.8;
    text-transform: uppercase;
    margin: 0;
}

.form-container {
    flex: 0.8;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}

.login-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.form-container form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.input-group input {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    outline: none;
}

.form-container button {
    background-color: var(--white);
    color: var(--red-pure);
    padding: 15px 60px;
    border-radius: 50px;
    border: none;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
}

.form-container button:hover {
    background-color: var(--yellow);
    color: var(--black);
}

.footer-reminder {
    padding: 15px;
    text-align: center;
    font-size: 10px;
    opacity: 0.7;
}

/* --- ESTILOS GENERALES (Compartidos) --- */
.texto-especial-banner {
    font-family: 'ZuumeRough', sans-serif;
    text-transform: uppercase;
    line-height: 0.8;
}

/* --- ESPECÍFICO PARA PÁGINA PANEL --- */
/* --- ESPECÍFICO PARA PÁGINA PANEL --- */

/* 1. VERSION DESKTOP (Mantenemos tus valores exactos intactos) */
@media (min-width: 1024px) {
    .page-panel .logo-lpdb-top {
        position: absolute;
        top: 50px;
        left: 10%;
        width: 280px; 
        height: auto;
    }

    .page-panel .panel-container {
        display: flex;
        flex-direction: column;
        flex: 1;
        width: 100%;
        align-items: flex-start;
        padding: 200px 10% 0 10%; 
    }

    .page-panel .user-welcome {
        font-family: 'Inter', sans-serif;
        font-size: 22px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: var(--yellow);
        margin-bottom: 20px;
        opacity: 0.9;
    }

    .page-panel .texto-especial-banner {
        font-size: 70px;
        line-height: 0.8;
        margin-top: 5px; 
        margin-bottom: 50px;
    }

    .selection-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
        width: 100%;
        max-width: 1100px;
    }
}

/* --- MODAL DE SALIDA LPDB --- */
.modal-confirmacion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9); /* Fondo bien oscuro */
    display: none; /* Se activa por JS */
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
}

.modal-contenido {
    background: #FFFFFF;
    padding: 50px 30px;
    border-radius: 15px;
    text-align: center;
    width: 90%;
    max-width: 380px;
}

.logo-modal {
    width: 100px;
    margin-bottom: 25px;
}

.modal-contenido h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #000;
    margin-bottom: 10px;
}

.modal-contenido p {
    font-family: 'Inter', sans-serif;
    color: #555;
    font-size: 14px;
    margin-bottom: 30px;
}

.modal-acciones {
    display: flex;
    flex-direction: column; /* Apilados para que sea más fácil de tocar en móvil */
    gap: 12px;
}

/* EL BOTÓN QUE PEDISTE: CUADRO ROJO LETRA BLANCA */
.btn-confirmar-rojo {
    background-color: #E63946 !important; /* Rojo LPDB */
    color: #FFFFFF !important;           /* Letra Blanca */
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-volver {
    background: transparent;
    color: #888;
    border: none;
    padding: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    cursor: pointer;
}

/* 2. VERSION MOBILE (Ajustes específicos para que se vea bien en celular) */
@media (max-width: 1023px) {
    .page-panel .logo-lpdb-top {
        display: block;
        margin: 30px auto;
        width: 160px;
        position: relative; /* Anula el absolute de desktop */
    }

    .page-panel .panel-container {
        padding: 20px 5%;
        text-align: center;
        align-items: center;
    }

    .page-panel .user-welcome {
        font-size: 18px;
        color: var(--yellow);
        margin-bottom: 10px;
    }

    .page-panel .texto-especial-banner {
        font-size: 38px;
        line-height: 1;
        margin-bottom: 30px;
    }

    .selection-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .selection-card {
        padding: 30px 20px;
    }
}

/* 3. ESTILOS COMPARTIDOS (Tarjetas y Botón) */
.selection-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
    text-decoration: none;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.selection-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-5px);
}

.selection-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 10px 0;
}

/* BOTÓN CERRAR SESIÓN (Negro con Rojo como pediste) */
.btn-logout {
    background-color: #000000 !important; /* Negro total */
    color: #FF0000 !important;           /* Letra Roja */
    border: 1px solid #000000 !important; /* Borde Negro (invisible sobre fondo negro) */
    padding: 12px 25px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    margin: 20px 0;
    transition: 0.3s;
    display: inline-block;
    outline: none !important; /* Quita cualquier borde de selección azul o blanco */
}

/* Efecto opcional: que la letra brille un poco más al pasar el mouse, sin poner bordes raros */
.btn-logout:hover {
    color: #ff4d4d !important; 
    background-color: #111111 !important; /* Un gris casi negro para notar el click */
}

/* --- ESPECÍFICO PARA PÁGINA INTRANET (LOGIN) --- */
/* Asegúrate de poner <body class="page-intranet"> en tu index.html */
.page-intranet .logo-lpdb-top {
    width: 300px; 
    top: 80px;
}

.page-intranet .split-container {
    padding: 0 10% 200px 10%; 
    align-items: flex-end;
}



/* ==========================================
   SISTEMA DE INVENTARIOS REMINDER - CORRECCIÓN TETRIS
   ========================================== */

/* 1. LIBERAR SCROLL Y FONDO */
.page-inventarios {
    overflow-y: auto !important;
    height: auto !important;
    background: radial-gradient(circle, var(--red-light) 0%, var(--red-pure) 100%);
    min-height: 100vh;
}

/* 2. CONTENEDOR PRINCIPAL */
.page-inventarios .inventory-container {
    padding: 60px 5% 150px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* 3. HEADER FLEX (LOGO 300PX) */
.page-inventarios .header-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    justify-content: flex-start;
}

.page-inventarios .logo-lpdb-top {
    width: 300px;
    height: auto;
    position: static;
}

.page-inventarios .header-text-group {
    display: flex;
    flex-direction: column;
}

.page-inventarios .user-welcome {
    font-size: 18px;
    font-weight: 600;
    color: var(--yellow);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.page-inventarios .texto-especial-banner {
    font-size: 75px;
    color: var(--white);
    line-height: 0.85;
    margin: 0;
}

/* 4. GRID ESTILO TETRIS (MASONRY) */
.page-inventarios .inventory-grid {
    column-count: 2; /* Crea dos columnas tipo revista/tetris */
    column-gap: 25px;
    width: 100%;
}

/* 5. BLOQUES DE CATEGORÍA */
.page-inventarios .inventory-block {
    break-inside: avoid; /* Evita que una categoría se parta en dos columnas */
    background-color: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 25px; /* Espacio vertical entre bloques */
    display: inline-block; /* Necesario para el flujo de columnas */
    width: 100%;
}

.page-inventarios .inventory-block h3 {
    color: var(--red-pure);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    border-bottom: 2px solid #f2f2f2;
    padding-bottom: 12px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* 6. ITEMS */
.page-inventarios .inventory-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f9f9f9;
}

.page-inventarios .inventory-item label {
    color: var(--black);
    font-weight: 600;
    font-size: 14px;
}

.page-inventarios .inventory-item input {
    width: 80px;
    padding: 8px;
    border: 2px solid #eee;
    border-radius: 10px;
    text-align: center;
    font-weight: 800;
    color: var(--red-pure);
}

/* 7. ACCIONES (BOTONES LIMPIOS) */
.page-inventarios .form-actions-bar {
    column-span: all; /* Rompe las columnas para centrar los botones al final */
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
}

.page-inventarios .btn-reportar-final {
    background-color: #000000;
    color: #ffffff;
    padding: 20px 50px;
    border-radius: 12px;
    border: none;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.page-inventarios .btn-reportar-final:hover {
    background-color: var(--yellow);
    color: #000000;
}

.page-inventarios .btn-cancelar {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.page-inventarios .btn-cancelar:hover {
    color: var(--yellow);
}

/* 8. FOOTER SISTEMÁTICO NEGRO */
.footer-reminder-system {
    background: #000000;
    padding: 18px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 2px solid var(--red-pure);
    z-index: 1000;
}

.system-logs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-family: 'Inter', monospace;
    font-size: 11px;
    color: var(--red-pure);
    letter-spacing: 1px;
}

.system-logs .credits {
    color: #ffffff;
    font-weight: 800;
    margin-left: 10px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .page-inventarios .inventory-grid { column-count: 1; }
    .page-inventarios .header-flex { flex-direction: column; text-align: center; }
}

/* ==========================================
   SISTEMA DE MERMAS REMINDER - ALINEACIÓN PRO
   ========================================== */

.page-mermas {
    overflow-y: auto !important;
    background: radial-gradient(circle, var(--red-light) 0%, var(--red-pure) 100%);
    min-height: 100vh;
}

.page-mermas .inventory-container {
    padding: 60px 5% 150px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* 1. HEADER ESTRUCTURA */
.page-mermas .header-flex {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 50px;
    justify-content: flex-start;
}

.page-mermas .logo-wrapper, 
.page-mermas .side-spacer {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column; /* Esto pone la fecha DEBAJO del logo */
    align-items: flex-start; /* Alinea ambos al borde izquierdo */
}

.page-mermas .logo-lpdb-top {
    width: 300px;
    height: auto;
    display: block;
    margin-top: 70px;    /* Aumenta este número para BAJAR el logo */
    margin-bottom: 60px; /* Espacio entre el logo y la fecha */
    margin-left: 60px;  /* Sube este valor para moverlo a la DERECHA */
}

.page-mermas .system-date-row {
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid var(--yellow);
    padding-left: 20px;
}

.page-mermas .header-text-group {
    display: flex;
    flex-direction: column;
}

.page-mermas .user-welcome {
    font-size: 16px;
    font-weight: 600;
    color: var(--yellow);
    margin-bottom: 20px; /* Espacio solicitado */
    letter-spacing: 1px;
    text-transform: uppercase;
}

.page-mermas .texto-especial-banner {
    color: var(--white);
    font-size: 65px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
    text-transform: uppercase;
}

/* 2. LAYOUT CUERPO (Formulario alineado con el texto) */
.page-mermas .inventory-grid {
    display: flex;
    gap: 60px; /* Mismo gap que el header para mantener la línea vertical */
    align-items: flex-start;
}

/* Espaciador para empujar el form a la derecha del logo */
.page-mermas .side-spacer {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

/* FECHA REUBICADA (Debajo del logo, lado izquierdo del form) */
.page-mermas .system-date-row {
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid var(--yellow);
    padding-left: 20px;
}

.page-mermas .label-date {
    color: var(--white);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1px;
}

.page-mermas .system-date-row input {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    outline: none;
    width: 160px;
}

/* FORMULARIO */
.page-mermas .inventory-block {
    background-color: var(--white);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 750px;
}

.page-mermas .inventory-block h3 {
    color: var(--red-pure);
    font-weight: 800;
    font-size: 14px;
    border-bottom: 2px solid #f2f2f2;
    padding-bottom: 15px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* 3. CAMPOS */
.page-mermas .row-flex { display: flex; gap: 20px; margin-bottom: 10px; }
.page-mermas .half { width: 50%; }
.page-mermas .inventory-item { display: flex; flex-direction: column; margin-bottom: 15px; }

.page-mermas label {
    font-size: 11px;
    font-weight: 800;
    color: #999;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.page-mermas select, 
.page-mermas input, 
.page-mermas textarea {
    padding: 14px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    background: #fafafa;
}

/* 4. BOTONES (Alineados con el formulario) */
.page-mermas .actions-container-wrapper {
    display: flex;
    gap: 60px;
}

.page-mermas .form-actions-bar {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    width: 100%;
    max-width: 750px;
}

.page-mermas .btn-reportar-final {
    background-color: #000;
    color: #fff;
    padding: 20px 50px;
    border-radius: 12px;
    border: none;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
    text-transform: uppercase;
}

.page-mermas .btn-reportar-final:hover { background-color: var(--yellow); color: #000; }
.page-mermas .btn-cancelar { color: #fff; font-weight: 600; text-decoration: none; }

/* AJUSTE ESPECÍFICO PARA EL BOTÓN DE REGISTRO INTERMEDIO */
.page-mermas .action-link-container {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.page-mermas .link-next {
    background: none;
    border: none;
    color: var(--red-pure);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Inter', sans-serif;
    padding: 0;
}

.page-mermas .link-next:hover { 
    color: var(--black); 
    transform: translateX(5px);
}

/* 5. FOOTER */
.footer-reminder-system {
    background: #000;
    padding: 18px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 2px solid var(--red-pure);
    z-index: 1000;
}

.system-logs {
    display: flex;
    justify-content: center;
    color: var(--red-pure);
    font-size: 11px;
}

/* 6. RESPONSIVE */
@media (max-width: 1100px) {
    .page-mermas .inventory-grid, .page-mermas .header-flex, .page-mermas .actions-container-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .page-mermas .side-spacer, .page-mermas .logo-wrapper { width: 100%; }
    .page-mermas .texto-especial-banner { white-space: normal; font-size: 45px; }
}
 /* Ajuste para el Footer si se está cortando */
        footer {
            width: 100% !important;
            padding: 20px 10px !important;
            text-align: center !important;
        }

        .btn-cancelar:hover {
            color: #FFC107 !important;
        }
    }

/* --- ESTÁNDAR DE MODALS LPDB (FONDO ROJO / LETRA BLANCA) --- */
.lpdb-modal {
    display: none; 
    position: fixed;
    z-index: 10000;
    left: 0; 
    top: 0;
    width: 100%; 
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #E63946 !important; /* Rojo de la marca */
    padding: 50px 40px;
    border-radius: 30px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
}

.logo-modal-white {
    width: 100px;
    height: auto;
    margin-bottom: 25px;
    filter: brightness(0) invert(1); 
}

.modal-content h2 {
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 26px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.modal-content p {
    color: rgba(255,255,255,0.9) !important;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 35px;
}

.modal-actions {
    display: flex;
    flex-direction: column; 
    gap: 12px;
}

.btn-confirm {
    background-color: #FFFFFF !important;
    color: #E63946 !important;
    border: none;
    padding: 18px;
    border-radius: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.btn-cancel {
    background: transparent !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
    padding: 15px;
    border-radius: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
}

.btn-confirm:hover {
    transform: scale(1.02);
}

/* =============Esto separa un poco la Fecha de la Sede sin romper el diseño */
.system-date-row {
    margin-bottom: 8px; 
    display: flex;
    align-items: center;
}

/* Esto asegura que el select se vea igual que el input de fecha */
.system-date-row select {
    background: transparent;
    border: none;
    color: inherit;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 12px;
    outline: none;
    cursor: pointer;
    text-transform: uppercase;
}

/* 1. FECHA Y SEDE: Letra blanca para que se vea sobre el fondo rojo del banner */
#fecha-merma, #sede-reporte {
    color: white !important; /* Blanca para resaltar sobre el fondo rojo */
    background: rgba(255, 255, 255, 0.1); /* Un fondo sutil para saber que es un campo */
    border: none;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    padding: 4px 8px;
    border-radius: 5px;
    outline: none;
}

/* 2. LAS OPCIONES: Letra roja sobre el fondo blanco que pone el navegador al abrirse */
#sede-reporte option {
    color: #e60000 !important; /* Rojo LPDB */
    background-color: white !important; /* Fondo blanco para las opciones */
    font-weight: 600;
}

/* Ajuste para el icono del calendario en la fecha para que sea visible */
#fecha-merma::-webkit-calendar-picker-indicator {
    filter: invert(1); /* Convierte el icono negro en blanco */
    cursor: pointer;
}


/* ============================================================
   ESTRUCTURA DE EMERGENCIA - ORDEN VERTICAL TOTAL (REVISADO)
   ============================================================ */

@media (max-width: 768px) {
    /* 1. FORZAR FLUJO VERTICAL */
    body, .inventory-container, .main-container, .split-container, .header-flex, .logo-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        height: auto !important;
        width: 100% !important;
        position: static !important;
        padding: 10px !important;
        overflow-x: hidden !important;
    }

    /* 2. INICIO: BIENVENIDO (Blanco, imponente y sin zoom) */
    .brand-side {
        order: -1;
    }
    h1.texto-especial-banner {
        font-size: 42px !important; 
        color: #FFFFFF !important;
        background: none !important;
        -webkit-text-fill-color: #FFFFFF !important;
        font-weight: 800 !important;
        text-align: center !important;
        /* Ajustamos los márgenes: 20px arriba y 60px abajo para dar aire */
        margin: 20px 0 40px 0 !important; 
        display: block !important;
        text-shadow: 2px 2px 10px rgba(0,0,0,0.5) !important;
        line-height: 1 !important;
    }
    
    .login-title {
        font-size: 24px !important;    /* Ajusta este valor a tu gusto */
        margin-bottom: 25px !important; /* Espacio entre el título y el primer input */
        text-align: center !important;
        color: #ffffff !important;      /* O el color que prefieras */
        font-weight: 700 !important;
    }

    input, select {
        font-size: 16px !important; /* Elimina el zoom y el baile lateral */
    }

    /* 3. LOGOS Y ENCABEZADOS */
    .logo-lpdb-top, .logo-top-left {
        width: 150px !important;
        margin: 20px 0 !important;
        position: static !important;
    }

    /* 4. TÍTULOS Y SEDES */
    .texto-especial-banner, .user-welcome, .system-date-row {
        width: 100% !important;
        text-align: center !important;
        font-size: 18px !important;
        margin: 10px 0 !important;
        position: static !important;
    }

    .system-date-row select {
        width: 100% !important;
        margin-top: 5px;
    }

    /* 5. PANEL: BOTÓN CERRAR SESIÓN */
    .btn-cerrar-sesion {
        width: 80% !important;
        margin: 20px auto !important;
    }

    /* 7. INVENTARIOS Y MERMAS */
    .inventory-grid {
        width: 100% !important;
        display: block !important;
    }
    .inventory-block {
        width: 100% !important;
        margin-bottom: 20px !important;
        box-sizing: border-box !important;
    }

    /* 8. FOOTER: ELIMINAR CORTES LATERALES (MERMAS E INVENTARIOS) */
    .footer-reminder-system {
        position: fixed !important; /* Lo pegamos al fondo del celular */
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background: #1a1a1a !important;
        padding: 15px 0 !important;
        z-index: 999 !important;
        margin: 0 !important;
        border: none !important;
    }

    /* Espacio extra al final del formulario para que el footer fijo no tape el último botón */
    #form-inventario, #form-mermas, .inventory-container {
        padding-bottom: 80px !important;
    }
}