/* audio-player.css */
/* Styling untuk komponen audio player */

.audio-player-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
}

.audio-play-button {
    background-color: #3b82f6; /* blue-500 */
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.audio-play-button:hover {
    background-color: #2563eb; /* blue-600 */
    transform: scale(1.05);
}

.audio-play-button:active {
    transform: scale(0.95);
}

.audio-status {
    font-size: 0.875rem;
    font-style: italic;
    padding: 2px 6px;
    border-radius: 4px;
    min-width: 80px;
    text-align: center;
}

.audio-status.loading {
    color: #3b82f6; /* blue-500 */
    background-color: #dbeafe; /* blue-100 */
}

.audio-status.playing {
    color: #16a34a; /* green-600 */
    background-color: #dcfce7; /* green-100 */
}

.audio-status.paused {
    color: #ea580c; /* orange-600 */
    background-color: #ffedd5; /* orange-100 */
}

.audio-status.stopped {
    color: #64748b; /* slate-500 */
    background-color: #f1f5f9; /* slate-100 */
}

.audio-status.error {
    color: #dc2626; /* red-600 */
    background-color: #fee2e2; /* red-100 */
}

/* Responsiveness */
@media (max-width: 640px) {
    .audio-player-container {
        gap: 6px;
        margin-left: 8px;
    }
    
    .audio-play-button {
        width: 32px;
        height: 32px;
    }
    
    .audio-status {
        font-size: 0.75rem;
        min-width: 70px;
        padding: 1px 4px;
    }
}