/* assets/css/player-style.css - v1.7.1 - Fundo 100% Transparente */

.aia-player-container {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 10px 0;
    font-family: inherit;
    box-sizing: border-box;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aia-player-sticky {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    width: 90%;
    max-width: 800px;
    
    /* --- FUNDO 100% TRANSPARENTE TAMBÉM NO MODO STICKY --- */
    background: transparent;
    border: none;
    box-shadow: none;
    
    padding: 5px 15px;
    border-radius: 12px;
}

/* --- Linhas do Player --- */
.aia-player-title-row {
    padding: 0 10px;
    text-align: center; /* Centraliza o título */
}

.aia-player-controls-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.aia-player-title {
    font-size: 16px;
    font-weight: bold;
    color: inherit; /* Herda a cor do tema */
    margin: 0 0 5px 0;
}

/* --- Controles --- */
.aia-player-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    color: inherit; /* Herda a cor do tema */
    flex-shrink: 0;
}
.aia-player-button:hover {
    background-color: rgba(0, 0, 0, 0.1);
}
.aia-player-button svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

#aia-play-pause-btn {
    background-color: #0073aa; /* Cor de destaque do WordPress */
    color: #fff;
    padding: 10px;
}
#aia-play-pause-btn:hover {
    background-color: #005a87;
}
#aia-play-pause-btn svg {
    width: 24px;
    height: 24px;
}

/* --- Seção Central (Progresso) --- */
.current-time, .duration {
    font-size: 12px;
    color: inherit;
    white-space: nowrap;
    flex-shrink: 0;
}

.aia-progress-bar {
    flex-grow: 1;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    background: rgba(0,0,0,0.15);
    border-radius: 2.5px;
    outline: none;
    cursor: pointer;
}
.aia-progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 13px;
    height: 13px;
    background: #0073aa;
    border-radius: 50%;
}
.aia-progress-bar::-moz-range-thumb {
    width: 13px;
    height: 13px;
    background: #0073aa;
    border-radius: 50%;
    border: none;
}

/* --- Controles da Direita --- */
.aia-volume-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
#aia-volume-bar {
    -webkit-appearance: none;
    appearance: none;
    width: 0px; /* Começa escondido */
    height: 4px;
    background: #ccc;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    transition: width 0.3s ease;
}
.aia-volume-wrapper:hover #aia-volume-bar {
    width: 70px; /* Expande no hover */
    margin-left: 5px;
}
#aia-volume-bar::-webkit-slider-thumb { width: 12px; height: 12px; background: #0073aa; border-radius: 50%;}
#aia-volume-bar::-moz-range-thumb { width: 12px; height: 12px; background: #0073aa; border-radius: 50%; border: none; }


.aia-speed-dropdown-wrapper {
    position: relative;
    flex-shrink: 0;
}
#aia-speed-btn {
    font-size: 13px;
    font-weight: bold;
    width: 38px;
    height: 34px;
    border-radius: 8px;
    color: inherit;
}
.aia-speed-options-menu {
    display: none;
    position: absolute;
    bottom: 110%;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    z-index: 10;
    width: 100px;
    color: #333; /* Cor fixa para o menu para garantir legibilidade */
}
.aia-speed-options-menu span { display: block; padding: 8px 12px; font-size: 13px; cursor: pointer; text-align: center; }
.aia-speed-options-menu span:hover { background-color: #f0f0f0; }
.aia-speed-options-menu span.active { background-color: #0073aa; color: #fff; }

audio { display: none !important; }