/* Card container */
.audio-recorder-card {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

/* Microphone select */
.microphone-select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Canvas for visualizer */
.visualizer-canvas {
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Button container */
.audio-buttons {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
}

/* Base button styles */
.record-button, .stop-button, .save-button {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

/* Record button */
.record-button {
    background-color: #ff4d4d; /* Red */
    color: white;
}

/* Stop button */
.stop-button {
    background-color: #4d79ff; /* Blue */
    color: white;
}

/* Save button */
.save-button {
    background-color: #4dff4d; /* Green */
    color: black;
}

/* Audio player */
.audio-player {
    width: 100%;
}

/* Hover effects for buttons */
.record-button:hover, .stop-button:hover, .save-button:hover {
    opacity: 0.8;
}

/* Disable button styles */
.record-button:disabled, .stop-button:disabled, .save-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}