.diazdata-player-card {
    max-width: 380px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 16px;
    background: #e9f8f3; /* se sobreescribe desde Elementor */
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Carátula cuadrada con esquinas redondeadas */
.diazdata-player-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 12px;
    border-radius: 18px;
    overflow: hidden;
    background: transparent; /* respeta transparencia del logo */
}

.diazdata-player-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Zona de textos + eq con altura fija */
.diazdata-player-meta {
    min-height: 120px; /* ajusta si necesitas más espacio */
}

.diazdata-player-station {
    font-weight: 600;
    margin-bottom: 4px;
    /* color se controla desde Elementor */
}

.diazdata-player-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0a9a4a;
    font-size: 14px;
    margin-bottom: 4px;
}

.diazdata-player-live-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0a9a4a;
}

/* Ecualizador animado */
.diazdata-player-eq {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 4px 0 8px;
    height: 18px;       /* altura fija para que no cambie el alto del player */
    align-items: flex-end;
}

.diazdata-player-eq .bar {
    width: 3px;
    height: 6px;
    background-color: #00b66c; /* se sobreescribe desde Elementor */
    animation: diazdata-equalize 1s infinite;
}

.diazdata-player-eq .bar2 { animation-delay: 0.1s; }
.diazdata-player-eq .bar3 { animation-delay: 0.2s; }
.diazdata-player-eq .bar4 { animation-delay: 0.3s; }

@keyframes diazdata-equalize {
    0%, 100% { height: 6px; }
    50%      { height: 16px; }
}

.diazdata-player-now {
    font-size: 14px;
    color: #333;  /* se puede sobrescribir desde Elementor */
    margin-bottom: 16px;
}

/* Controles: botón redondo + volumen */
.diazdata-player-controls {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.diazdata-player-btn {
    width: 64px;
    height: 64px;
    border-radius: 50% !important;
    border: none;
    background: #00b66c; /* se sobreescribe desde Elementor */
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.diazdata-player-volume {
    width: 80%;
}

/* Base del slider */
.diazdata-player-volume-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: #d0d0d0;
    outline: none;
    cursor: pointer;
}

/* Barra en navegadores WebKit */
.diazdata-player-volume-range::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #00b66c 0%, #00b66c 50%, #d0d0d0 50%);
}

/* Thumb (botón redondo) WebKit */
.diazdata-player-volume-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00b66c;
    border: 2px solid #ffffff;
    box-shadow: 0 0 4px rgba(0,0,0,0.25);
    margin-top: -5px; /* centrar sobre la pista */
}

/* Firefox */
.diazdata-player-volume-range::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: #d0d0d0;
}

.diazdata-player-volume-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00b66c;
    border: 2px solid #ffffff;
    box-shadow: 0 0 4px rgba(0,0,0,0.25);
}

