/* Voice Notes Styling */
.voice-notes-container {
    margin-bottom: 15px;
}

.voice-note-item {
    transition: all 0.3s ease;
}

.voice-note-item:hover {
    transform: translateY(-2px);
}

.voice-note-item .card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.voice-note-item .card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.voice-note-item audio {
    border-radius: 20px;
    background-color: #f8f9fa;
}

.voice-note-item audio::-webkit-media-controls-panel {
    background-color: #f8f9fa;
}

.voice-note-item .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
}

.voice-note-item .form-check {
    margin-bottom: 0;
}

.voice-note-item .form-check-input:checked ~ .form-check-label {
    font-weight: bold;
}

.add-voice-note, .remove-voice-note {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
}

.add-voice-note i, .remove-voice-note i {
    font-size: 1rem;
}

/* Animation for adding/removing voice notes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.voice-note-item {
    animation: fadeIn 0.3s ease-out;
}

/* Download button styling */
.voice-note-item .btn-outline-primary {
    transition: all 0.2s ease;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 5px;
}

.voice-note-item .btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
