/**
 * Estilos para la pantalla de lista de items con precios en pesoras
 */

.Pantalla-Lista {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 1rem 0.5rem 1rem;
}

.Pantalla-Lista.active {
    display: flex;
}

.Pantalla-Lista h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: normal;
}

/* Selector de modo */
.lista-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-color);
}

.lista-selector select {
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
    border: 2px solid var(--text-color);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    font-weight: 600;
}

/* Contenedor de inputs */
.lista-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-color);
    flex-wrap: wrap;
}

.lista-inputs input[type="number"] {
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
    border: 2px solid var(--text-color);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    font-weight: 600;
    width: 60px;
    text-align: center;
}

.lista-inputs span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Contenedor de la lista */
.lista-items {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    max-height: 40vh;
    overflow-y: auto;
    padding: 0.5rem;
}

/* Scrollbar personalizado */
.lista-items::-webkit-scrollbar {
    width: 8px;
}

.lista-items::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.lista-items::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.lista-items::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Item individual - formato horizontal */
.lista-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 0.8rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    border: 2px solid var(--text-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.lista-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.lista-item img {
    width: 75px;
    height: 75px;
    min-width: 75px;
    object-fit: contain;    
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem;
}

/* Información del item */
.item-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    flex: 1;
    font-size: 1rem;
}

.item-info h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 600;
}

/* Precio en pesoras */
.item-precio {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.precio-pesoras {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}
