.csm-question-textarea {
    width: 100%;
    padding: 20px;
    margin-bottom: 30px;
}

.csm-question-textarea h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.csm-textarea-container {
    width: 100%;
    position: relative;
}

.csm-textarea {
    width: 100%;
    min-height: 150px; /* Reduced from 250px to 150px */
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.6;
    resize: vertical;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.csm-textarea:focus {
    border-color: #007cba;
    box-shadow: 0 0 8px rgba(0, 124, 186, 0.2);
    outline: none;
}

.csm-character-counter {
    display: block;
    text-align: right;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

.csm-character-counter.warning {
    color: #e65100;
}

/* Slide-specific styling */
.csm-slide .csm-question-textarea {
    margin: 0;
    padding: 20px 0;
}

/* Hide original question heading when using textarea */
.csm-slide .csm-question-textarea + .csm-question h3 {
    display: none;
}
