/* Estilos de la Barra Indicadora de Inventario */

.barra-indicadora-container {
    width: 100%;
    max-width: 600px;
    /* Ajusta según necesidad */
    margin: 0px auto;
    font-family: Arial, sans-serif;
}

.barra-contenedora {
    width: 100%;
    height: 14px;
    background-color: #12151e;
    /* Fondo oscuro y azulado para la parte vacía */
    border-radius: 20px;
    position: relative;
    box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.6), 0px 0px 0px 1px rgba(255, 255, 255, 0.05);
    margin-bottom: 12px;
    overflow: visible;
    /* Permitir que el "thumb" sobresalga y el brillo salga del contenedor */
}

.barra-progreso {
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, #ff2a2a 0%, #ff8c00 100%);
    position: relative;
    display: flex;
    align-items: center;
    box-shadow: 0 0 15px 2px rgba(255, 60, 0, 0.5);
    /* Glow radiante principal */
    transition: width 1s ease-in-out;
    min-width: 14px;
    /* Asegura que el punto quepa dentro al 0% */
}

/* Patrón de líneas diagonales superpuestas a la barra */
.barra-progreso::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background-image: repeating-linear-gradient(-45deg,
            rgba(255, 255, 255, 0.15),
            rgba(255, 255, 255, 0.15) 10px,
            transparent 10px,
            transparent 20px);
    z-index: 1;
}

/* El punto blanco brillante ("thumb") al final de la barra */
.barra-thumb {
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    right: 0px;
    top: 1px;
    box-shadow: 0 0 8px 3px rgba(255, 255, 255, 0.8), 0 0 12px 6px rgba(255, 200, 150, 0.4);
    z-index: 2;
}

.barra-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.barra-status {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.barra-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 5px rgba(255, 204, 102, 0.8);
}

.barra-porcentaje {
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.5px;
}