.audio-box {
    width: calc(100% - 30px);
    background-color: #f8f9fa;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 23px;
    /* box-shadow: 0px 2px 5px rgba(0,0,0,0.1); */
    font-family: Arial, sans-serif;
    margin: 20px 0;
    height: 48px;
}

.audio-box-header {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    width: 250px;
    text-align: right;
}

.audio-box-header img {
    height: 25px;
    margin-left: 10px;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.audio-controls button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 18px;
    -webkit-border-radius: 50%;
}

.audio-controls button:focus {
    outline: none;
}

.audio-progress {
    flex-grow: 1;
    height: 5px;
    border-radius: 5px;
    background: #ddd;
    position: relative;
    cursor: pointer;
}

.audio-progress .progress-bar {
    height: 100%;
    width: 0%;
    background-color: #007bff;
    border-radius: 5px;
}

.time-display {
    font-size: 14px;
    color: #333;
    min-width: 70px;
    text-align: right;
}

.volume-control {
    width: 70px;
}

.audio-box-header select, .audio-box-header select:focus-visible, .audio-box-header select:focus, .audio-box-header select:active {
    border: none;
    background: transparent;
    margin-right: 20px;
}

@media all and (max-width: 768px) {
    .audio-box {
        width: 100%;
    }

    .audio-box-header {
        width: auto;
    }
}
