/* Форма отзыва */
.bb-feedback-form-wrap {
    max-width: 700px;
    margin: 30px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bb-feedback-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bb-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bb-form-label {
    font-weight: 600;
    font-size: 15px;
    color: #1f2937;
}

.bb-form-label.required::after {
    content: " *";
    color: #dc2626;
}

/* Интерактивные звездочки */
.bb-rating-stars {
    display: flex;
    gap: 8px;
    padding: 12px 0;
}

.bb-stars-interactive {
    display: flex;
    gap: 4px;
    font-size: 36px;
    cursor: pointer;
}

.bb-stars-interactive .bb-star {
    transition: all 0.2s ease;
    color: #d1d5db;
}

.bb-stars-interactive .bb-star.filled {
    color: #fbbf24;
}

.bb-stars-interactive .bb-star:hover,
.bb-stars-interactive .bb-star:hover ~ .bb-star {
    color: #fbbf24;
    transform: scale(1.1);
}

/* Статичные звездочки */
.bb-stars-static {
    display: inline-flex;
    gap: 2px;
    font-size: 18px;
}

.bb-stars-static .bb-star.filled {
    color: #fbbf24;
}

.bb-stars-static .bb-star.empty {
    color: #d1d5db;
}

/* Теги */
.bb-tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

.bb-tag-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bb-tag-checkbox:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.bb-tag-checkbox input[type="checkbox"] {
    cursor: pointer;
}

.bb-tag-checkbox input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: #3b82f6;
}

/* Текстовое поле */
.bb-feedback-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.bb-feedback-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

/* Кнопки */
.bb-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bb-btn-primary {
    background: #3b82f6;
    color: #fff;
}

.bb-btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.bb-btn-primary:active {
    transform: translateY(0);
}

.bb-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bb-btn-loading {
    display: none;
}

.bb-btn.loading .bb-btn-text {
    display: none;
}

.bb-btn.loading .bb-btn-loading {
    display: inline;
}

/* Сообщения об ошибках */
.bb-form-error {
    display: none;
    color: #dc2626;
    font-size: 14px;
}

.bb-form-error.active {
    display: block;
}

.bb-form-messages {
    padding: 16px;
    border-radius: 8px;
    display: none;
}

.bb-form-messages.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.bb-form-messages.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Уведомления */
.bb-feedback-notice {
    padding: 16px 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.bb-feedback-notice.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.bb-feedback-notice.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Адаптивность */
@media (max-width: 768px) {
    .bb-feedback-form-wrap {
        padding: 20px;
        margin: 20px;
    }
    
    .bb-tags-grid {
        grid-template-columns: 1fr;
    }
    
    .bb-stars-interactive {
        font-size: 32px;
    }
}