.voice-player-box {
    background-color: #f0f8ff;
    border-left: 5px solid #0077cc;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 24px 0;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.voice-player-box:hover {
    border-left-color: #005fa3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.voice-player-box::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 20px;
    width: 20px;
    height: 30px;
    background-image: linear-gradient(
        to right,
        #0077cc 2px,
        transparent 2px
    );
    background-size: 4px 100%;
    background-repeat: repeat-x;
    opacity: 0.5;
    animation: waveMove 1s linear infinite;
}

@keyframes waveMove {
    0% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
    100% { transform: translateY(0); }
}

.voice-player-box select,
.voice-player-box button {
    margin-right: 10px;
    padding: 8px 14px;
    font-size: 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.voice-player-box select {
    background-color: #ffffff;
    border: 1px solid #0077cc;
    color: #0077cc;
}

.voice-player-box button {
    background-color: #0077cc;
    color: #fff;
}

.voice-player-box button:hover {
    background-color: #005fa3;
}

.voice-player-header {
    font-size: 16px;
    margin-bottom: 12px;
    color: #004a80;
}

.voice-player-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    top: 16px;
    right: 16px;
    box-shadow: 0 0 4px rgba(0,0,0,0.15);
}
.aavr-player {
    display: flex;
    flex-direction: column;
    background-color: #f0f8ff;
    border: 2px dashed #0077cc;
    padding: 16px;
    margin: 20px 0;
    border-radius: 10px;
    position: relative;
    transition: all 0.3s ease-in-out;
}
.aavr-player:hover {
    border-color: #005fa3;
    box-shadow: 0 0 10px rgba(0, 119, 204, 0.2);
}
.aavr-thumbnail {
    position: absolute;
    top: 16px;
    right: 16px;
    border-radius: 50%;
    overflow: hidden;
    width: 60px;
    height: 60px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.aavr-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.aavr-header-text {
    margin-bottom: 12px;
    padding-right: 80px; /* Avoid overlap with image */
    font-size: 16px;
}


.aavr-thumbnail {
    float: right;
    margin-left: 15px;
    border-radius: 50%;
    overflow: hidden;
    width: 60px;
    height: 60px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
.aavr-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.aavr-thumbnail {
    float: right;
    margin-left: 15px;
    margin-top: 5px;
    border-radius: 50%;
    overflow: hidden;
    width: 50px;
    height: 50px;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
    flex-shrink: 0;
}
.aavr-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
