.csb-group-questions-container {
    padding: 20px 25px;
}

.csb-group-questions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.csb-group-questions-header-left {
    flex: 1;
}

.csb-group-questions-header-left h4 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.csb-group-questions-header-right {
    flex-shrink: 0;
}

.csb-group-questions-header-right .btn {
    white-space: nowrap;
}

.csb-group-question-description {
    margin-bottom: 30px;
}

.csb-group-question-description-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.csb-group-question-description-header label {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.csb-group-question-description textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    background: #2d2d2f;
    border: 1px solid #3a3a3c;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    font-family: inherit;
    box-sizing: border-box;
}

.csb-group-question-description textarea:focus {
    outline: none;
    border-color: var(--event-primary-color, #4323FF);
    box-shadow: 0 0 0 2px rgba(67, 35, 255, 0.1);
}

.csb-group-question-lists {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 50px;
}

.csb-group-question-lists.empty {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #1e1e20;
    border: 2px dashed #3a3a3c;
    border-radius: 8px;
}

.csb-group-question-lists.empty h4 {
    font-size: 14px;
    font-weight: 500;
    color: #777e90;
    margin: 0;
}

.csb-group-question-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #2d2d2f;
    border: 1px solid #3a3a3c;
    border-radius: 8px;
    gap: 20px;
    transition: all 0.2s ease;
}

.csb-group-question-item:hover {
    border-color: #4a4a4c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.csb-group-question-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.csb-group-question-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.csb-group-question-item-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.csb-group-question-item-meta-item {
    font-size: 13px;
    color: #777e90;
}

.csb-group-question-item-meta-item strong {
    color: #fff;
}

.csb-group-question-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.csb-group-question-item-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.csb-group-question-item-action:hover {
    background: #3a3a3c;
}

.csb-group-question-item-action img {
    width: 18px;
    height: 18px;
    display: block;
}

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid #3a3a3c;
    border-top-color: var(--event-primary-color, #4323FF);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.loader.hidden {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .csb-group-questions-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .csb-group-questions-header-right {
        width: 100%;
    }
    
    .csb-group-questions-header-right .btn {
        width: 100%;
    }
    
    .csb-group-question-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .csb-group-question-item-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

