/* Contenedor Principal */
.pe-liquid-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    font-family: 'Inter', sans-serif;
    max-width: 450px;
    margin: 20px auto;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.pe-liquid-card:hover {
    transform: translateY(-5px);
}

.pe-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.pe-info h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0;
    letter-spacing: 1px;
}

.pe-info h2 {
    font-size: 1.5rem;
    color: #1f2937;
    margin: 5px 0 10px 0;
    font-weight: 800;
}

/* Etiquetas de datos */
.pe-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pe-pill {
    font-size: 0.9rem;
    color: #4b5563;
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
}

.pe-trend {
    font-size: 0.85rem;
    font-weight: 600;
}
.pe-trend.up { color: #10b981; }
.pe-trend.down { color: #ef4444; }

/* --- ANIMACIÓN DE OLA LÍQUIDA --- */
.pe-wave-container {
    width: 100px;
    height: 100px;
    position: relative;
}

.pe-wave-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #eef2ff;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
    border: 4px solid #fff;
    outline: 2px solid #e5e7eb;
}

.pe-wave {
    position: absolute;
    left: 0;
    width: 200%;
    height: 200%;
    background-color: #3b82f6; /* Color del agua */
    border-radius: 40%;
    animation: wave-rotate 6s linear infinite;
    left: -50%;
    opacity: 0.8;
}

.pe-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-size: 1.4rem;
    font-weight: 900;
    color: #1f2937;
    text-shadow: 0 2px 10px rgba(255,255,255,0.8);
    mix-blend-mode: multiply; /* Truco visual para contraste */
}

@keyframes wave-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Área del gráfico inferior */
.pe-chart-area {
    margin-top: 10px;
    height: 60px;
    width: 100%;
}