* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fa;
    color: #252a34;
}

/* =========================
   MENU LATERAL
========================= */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;

    width: 260px;
    height: 100vh;

    background: #20242c;
    color: white;

    display: flex;
    flex-direction: column;

    z-index: 1000;
}

.sidebar-logo {
    min-height: 105px;

    padding: 18px 20px;

    display: flex;
    align-items: center;
    gap: 12px;

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-logo img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.sidebar-logo h2 {
    font-size: 18px;
    letter-spacing: 0.5px;
}

.sidebar-logo span {
    font-size: 12px;
    color: #aab1bd;
}

/* MENU */

.sidebar-menu {
    padding: 18px 12px;
    flex: 1;
    overflow-y: auto;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 12px 14px;
    margin-bottom: 5px;

    color: #c8ced8;
    text-decoration: none;

    font-size: 14px;

    border-radius: 8px;

    transition: 0.2s;
}

.sidebar-menu a span {
    width: 20px;
    text-align: center;
    font-size: 17px;
}

.sidebar-menu a:hover {
    background: rgba(255,255,255,0.07);
    color: white;
}

.sidebar-menu .menu-activo {
    background: #e52629;
    color: white;
}

/* SECCIONES */

.menu-separador {
    margin: 22px 14px 8px;

    color: #6f7783;

    font-size: 10px;
    font-weight: bold;

    letter-spacing: 1.2px;
}

/* FOOTER */

.sidebar-footer {
    padding: 18px 20px;

    border-top: 1px solid rgba(255,255,255,0.08);

    display: flex;
    flex-direction: column;
}

.sidebar-footer strong {
    font-size: 14px;
}

.sidebar-footer span {
    margin-top: 4px;

    color: #777f8c;
    font-size: 10px;
}


/* =========================
   CONTENIDO PRINCIPAL
========================= */

.contenido-principal {
    margin-left: 260px;
    min-height: 100vh;
}


/* HEADER */

.header-principal {
    height: 75px;

    background: white;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 30px;

    border-bottom: 1px solid #e6e8eb;
}

.header-principal h1 {
    font-size: 21px;
}

.header-principal p {
    color: #7b818a;
    font-size: 12px;
    margin-top: 4px;
}


/* CONTENIDO */

.contenedor {
    padding: 30px;
}

.bienvenida {
    background: white;

    padding: 30px;

    border-radius: 12px;

    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}

.bienvenida h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.bienvenida p {
    color: #707780;
}
/* =========================
   FILTROS DASHBOARD
========================= */

.filtros {
    background: white;

    display: flex;
    gap: 20px;

    padding: 20px;

    margin-bottom: 20px;

    border-radius: 12px;

    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}


.grupo-filtro {
    display: flex;
    flex-direction: column;

    width: 280px;
}


.grupo-filtro label {
    margin-bottom: 8px;

    font-size: 12px;
    font-weight: bold;

    color: #656c76;
}


.grupo-filtro select {
    height: 42px;

    padding: 0 12px;

    background: white;

    border: 1px solid #dce0e5;
    border-radius: 7px;

    font-size: 14px;

    outline: none;
}


.grupo-filtro select:focus {
    border-color: #1261a6;
}
/* =========================
   TARJETAS DASHBOARD
========================= */

.tarjetas-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}

.tarjeta-dashboard {
    position: relative;
    overflow: hidden;

    background: white;

    min-height: 145px;
    padding: 22px;

    border-radius: 12px;

    box-shadow: 0 3px 12px rgba(0,0,0,0.05);

    display: flex;
    flex-direction: column;

    border-left: 4px solid #5e6671;
}

.tarjeta-dashboard .etiqueta {
    color: #707780;

    font-size: 12px;
    font-weight: bold;

    text-transform: uppercase;
}

.tarjeta-dashboard strong {
    margin: 12px 0 8px;

    font-size: 34px;

    color: #252a34;
}

.tarjeta-dashboard small {
    color: #969ca5;
    font-size: 12px;
}


/* COLORES LIS */

.tarjeta-dashboard.disponible {
    border-left-color: #6cc24a;
}

.tarjeta-dashboard.disponible strong {
    color: #4d9f34;
}


.tarjeta-dashboard.uso {
    border-left-color: #1261a6;
}

.tarjeta-dashboard.uso strong {
    color: #1261a6;
}


.tarjeta-dashboard.vacio {
    border-left-color: #ed1c24;
}

.tarjeta-dashboard.vacio strong {
    color: #ed1c24;
}


.tarjeta-dashboard.cambios {
    border-left-color: #ffc629;
}


/* RESPONSIVE */

@media (max-width: 1100px) {

    .tarjetas-dashboard {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 700px) {

    .tarjetas-dashboard {
        grid-template-columns: 1fr;
    }

}
/* =========================================
   RECEPCIÓN Y ENTREGA GLP
========================================= */

.formulario-glp,
.resumen-glp {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}

.formulario-glp h2,
.resumen-glp h2 {
    font-size: 18px;
    margin-bottom: 6px;
}

.formulario-glp p {
    color: #7b818a;
    font-size: 13px;
}

.fila-formulario {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.campo-formulario {
    display: flex;
    flex-direction: column;
}

.campo-formulario label,
.campo-observaciones label {
    font-size: 12px;
    font-weight: bold;
    color: #656c76;
    margin-bottom: 8px;
}

.campo-formulario select,
.campo-formulario input,
.tabla-glp input,
.campo-observaciones textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #dce0e5;
    border-radius: 7px;
    font-size: 14px;
    outline: none;
}

.campo-formulario select:focus,
.campo-formulario input:focus,
.tabla-glp input:focus,
.campo-observaciones textarea:focus {
    border-color: #1261a6;
}

.titulo-seccion-glp {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.boton-agregar {
    border: none;
    background: #1261a6;
    color: white;
    padding: 11px 16px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: bold;
}

.boton-agregar:hover {
    opacity: 0.9;
}

.tabla-responsive {
    overflow-x: auto;
}

.tabla-glp {
    width: 100%;
    border-collapse: collapse;
}

.tabla-glp th {
    background: #f5f7fa;
    padding: 12px;
    text-align: left;
    font-size: 12px;
    color: #656c76;
    border-bottom: 1px solid #e4e7eb;
}

.tabla-glp td {
    padding: 10px 12px;
    border-bottom: 1px solid #edf0f2;
}

.tabla-glp th:first-child,
.tabla-glp td:first-child {
    width: 55px;
}

.tabla-glp th:last-child,
.tabla-glp td:last-child {
    width: 110px;
}

.boton-eliminar {
    border: none;
    background: #fbe9ea;
    color: #c51d24;
    padding: 9px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.resumen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.resumen-item {
    background: #f7f8fa;
    padding: 18px;
    border-radius: 9px;
    display: flex;
    flex-direction: column;
}

.resumen-item span {
    font-size: 12px;
    color: #747b85;
}

.resumen-item strong {
    font-size: 25px;
    margin: 7px 0 3px;
}

.resumen-item small {
    color: #969ca5;
}

.campo-observaciones {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.campo-observaciones textarea {
    resize: vertical;
    font-family: inherit;
}

.contenedor-guardar {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.boton-guardar {
    border: none;
    background: #e52629;
    color: white;
    padding: 13px 22px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.boton-guardar:hover {
    opacity: 0.9;
}

@media (max-width: 900px) {

    .fila-formulario {
        grid-template-columns: 1fr;
    }

    .resumen-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}