.feedback-dialog-wrapper {
    padding: 8px 4px;
    font-family: inherit;
}

.feedback-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.feedback-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.feedback-header-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.feedback-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 4px 0;
}

.feedback-subtitle {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 0;
}

.feedback-rating-section,
.feedback-category-section,
.feedback-text-section {
    margin-bottom: 20px;
}

.feedback-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
}

.optional-tag {
    font-weight: 400;
    color: #9ca3af;
    font-size: 0.78rem;
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.star-btn {
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    transition: transform 0.1s ease;
    line-height: 1;
}

/* SVG loaded via <img> ignores CSS color — use filter instead */
.star-btn img {
    filter: brightness(0) invert(82%);
    transition: filter 0.15s ease;
    display: block;
}

.star-btn:hover,
.star-btn.star-hovered {
    transform: scale(1.12);
}

.star-btn:hover img,
.star-btn.star-hovered img,
.star-btn.star-selected img {
    /* Converts black SVG → amber #f59e0b */
    filter: invert(72%) sepia(73%) saturate(574%) hue-rotate(356deg) brightness(103%) contrast(93%);
}

.rating-label-text {
    min-height: 20px;
}

.rating-selected-text {
    font-size: 0.82rem;
    color: #f59e0b;
    font-weight: 600;
}

.rating-placeholder {
    font-size: 0.82rem;
    color: #9ca3af;
}

/* Category Chips */
.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    padding: 5px 14px;
    border-radius: 20px;
    border: 1.5px solid #e5e7eb;
    background: #f9fafb;
    color: #374151;
    font-size: 0.80rem;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.chip:hover {
    border-color: #1a73e8;
    color: #1a73e8;
    background: #f0f7ff;
}

.chip.chip-selected {
    border-color: #1a73e8;
    background: #1a73e8;
    color: #ffffff;
}

/* Text Area */
.feedback-textarea {
    width: 100%;
}

.char-count {
    text-align: right;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 4px;
}

/* Validation */
.feedback-validation {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #dc2626;
    font-size: 0.82rem;
    margin-bottom: 14px;
    padding: 8px 12px;
    background: #fef2f2;
    border-radius: 6px;
    border: 1px solid #fecaca;
}

/* Actions */
.feedback-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.feedback-btn-skip {
    min-width: 80px;
}

.feedback-btn-submit {
    min-width: 150px;
}
