/* Estilos para el tablero de precios de combustible */
.tpc-tablero-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    font-family: Arial, sans-serif;
}
.tpc-tablero {
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 500px;
}
.tpc-header {
    background-color: #c00;
    color: white;
    padding: 15px;
    text-align: center;
}
.tpc-header h2 {
    margin: 0;
    font-size: 1.8rem;
    text-transform: uppercase;
    color: white !important; /* Forzamos el color blanco */
}
.tpc-precios {
    padding: 20px;
}
.tpc-precio-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    background: #222;
    padding: 10px 15px;
    border-radius: 5px;
}
.tpc-precio-row:last-child {
    margin-bottom: 0;
}
.tpc-tipo {
    color: white !important; /* Forzamos el color blanco */
    font-size: 1.6rem;
    font-weight: bold;
    text-transform: uppercase;
}
.tpc-valor {
    background-color: #000;
    color: #ffcc00 !important; /* Forzamos el color amarillo */
    font-family: 'Courier New', monospace;
    font-size: 2.5rem;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 5px;
    min-width: 160px;
    text-align: right;
}

/* Nuevos estilos para el ticker */
.tpc-ticker-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
    background-color: #333;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.tpc-ticker-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.tpc-ticker-slides {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    transition: transform 1s ease;
}

.tpc-ticker-slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.tpc-ticker-slide .tpc-tablero {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Estilos para versión móvil */
@media (max-width: 600px) {
    .tpc-header h2 {
        font-size: 1.5rem;
        color: white !important; /* Aseguramos el color blanco en móvil */
    }
    
    .tpc-tipo {
        font-size: 1.3rem;
        color: white !important; /* Aseguramos el color blanco en móvil */
    }
    
    .tpc-valor {
        font-size: 2rem;
        min-width: 120px;
        color: #ffcc00 !important; /* Aseguramos el color amarillo en móvil */
    }
}