/* Estilos para la grabación de audio */
.audio-recorder-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-recorder-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.audio-recorder-modal {
    background-color: #fff;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    position: relative;
    z-index: 2001;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.audio-recorder-header {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.audio-recorder-header h5 {
    margin: 0;
    font-size: 1.1rem;
}

.audio-recorder-body {
    padding: 20px;
    text-align: center;
}

.recorder-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

#start-recording-btn {
    width: 70px;
    height: 70px;
    margin-top: 15px;
}

.recording-indicator {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(220, 53, 69, 0.1);
    margin-bottom: 15px;
}

.recording-wave {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(220, 53, 69, 0.2);
    animation: pulse 1.5s infinite;
}

.recording-time {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc3545;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.audio-preview-container {
    width: 100%;
    margin: 15px 0;
}

#audio-preview {
    width: 100%;
}

/* Botón de grabación */
#record-audio-btn {
    color: #6c757d;
    transition: all 0.3s;
}

#record-audio-btn:hover {
    color: #dc3545;
}