/* Azure Speech Post Reader — Public Styles */

.aspr-player {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    margin: 16px 0;
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.aspr-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.aspr-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    color: #333;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.aspr-btn:hover {
    background: #f0f0f0;
    border-color: #aaa;
}

.aspr-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.aspr-btn-play {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.aspr-btn-play:hover {
    background: #005a87;
    border-color: #005a87;
}

.aspr-btn-play:disabled {
    background: #0073aa;
    border-color: #0073aa;
}

.aspr-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.aspr-status {
    flex: 1 1 auto;
    min-width: 0;
    color: #666;
    font-size: 13px;
}

.aspr-status-loading {
    color: #0073aa;
}

.aspr-status-error {
    color: #d63638;
}

.aspr-progress {
    width: 100%;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 4px;
}

.aspr-progress-bar {
    height: 100%;
    width: 0%;
    background: #0073aa;
    border-radius: 2px;
    transition: width 0.25s linear;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .aspr-player {
        padding: 10px 12px;
    }

    .aspr-btn-label {
        display: none;
    }

    .aspr-btn {
        padding: 8px 10px;
    }
}
