/* Admin feedback layout */
.feedback-stats-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.feedback-stats-summary > div {
    min-width: 0;
}

.feedback-stats-summary .text-xs {
    white-space: nowrap;
}

@media (min-width: 640px) {
    .feedback-stats-summary {
        gap: 1rem;
    }
}

.feedback-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.45rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #f97316;
    color: #fff;
    font-size: 0.72rem;
    line-height: 1;
    font-weight: 700;
}

.feedback-tab-badge.hidden {
    display: none;
}

.feedback-filter-bar {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #f8fafc;
}

.feedback-filter-button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 0;
    border-radius: 0.55rem;
    padding: 0.42rem 0.7rem;
    background: transparent;
    color: #64748b;
    font-size: 0.875rem;
    white-space: nowrap;
    cursor: pointer;
}

.feedback-filter-button strong {
    color: inherit;
    font-size: 0.75rem;
}

.feedback-filter-button:hover {
    background: #fff;
    color: #334155;
}

.feedback-filter-button.is-active {
    background: #fff;
    color: #ea580c;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

/* Compact admin feedback list */
#feedback-list-content article {
    padding: 0.9rem 1.25rem;
}

#feedback-list-content article > div {
    gap: 1rem;
}

#feedback-list-content article p.whitespace-pre-wrap {
    max-height: 6rem;
    overflow-y: auto;
    padding: 0.65rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: #f8fafc;
    line-height: 1.55;
}

#feedback-list-content article p.whitespace-pre-wrap::-webkit-scrollbar {
    width: 4px;
}

#feedback-list-content article p.whitespace-pre-wrap::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

#feedback-list-content article a.block.w-20.h-20 {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}

#feedback-list-content article .mt-4 {
    margin-top: 0.75rem;
}

#feedback-list-content article button {
    white-space: nowrap;
}

@media (min-width: 1024px) {
    #feedback-list-content article .lg\:w-72 {
        width: 13rem;
    }
}
