/* public styles for WP Client Questions */
.wpcq-frontend {
    margin: 1rem 0;
    font-family: sans-serif;
}

.wpcq-question {
    margin-bottom: 1.5rem;
}

.wpcq-question label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.wpcq-answer-container {
    display: flex;
    align-items: flex-start;
}

.wpcq-question textarea.wpcq-answer {
    flex-grow: 1;
    margin-right: 0.5rem;
    min-height: 80px;
    resize: vertical;
    border: 1px solid #ccc;
    padding: 8px;
    font-size: 1rem;
}

.wpcq-record-btn {
    flex-shrink: 0;
    background-color: #6B7280; /* Neutral Gray */
    border: none;
    cursor: pointer;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.2s ease-in-out;
}

.wpcq-record-btn:hover,
.wpcq-record-btn:focus {
    background-color: #4A5568; /* Darker Gray */
    outline: none;
}

.wpcq-record-btn .wpcq-record-icon {
    width: 24px;
    height: 24px;
}

.wpcq-record-btn .wpcq-record-icon path {
    fill: #FFFFFF;
}

.wpcq-record-btn.recording {
    background-color: #E53E3E; /* Bright Red */
    animation: wpcq-pulse 1.5s infinite;
}

.wpcq-record-btn.recording:hover,
.wpcq-record-btn.recording:focus {
    background-color: #C53030; /* Darker Red */
}

@keyframes wpcq-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(229, 62, 62, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0);
    }
}

.wpcq-record-status {
    font-size: 0.8rem;
    color: #555;
    margin-top: 0.25rem;
}

.wpcq-submit {
    padding: 10px 15px;
    font-size: 1rem;
    cursor: pointer;
}

