/* Points de chaîne Twitch — layout & composants (coque : fs-config-shell.css) */

.cpr-hint {
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.5;
}

.cpr-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.cpr-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .cpr-filters-row {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        align-items: center;
    }
}

.cpr-filter-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.cpr-filter-field label {
    font-size: 0.875rem;
    color: #d1d5db;
    white-space: nowrap;
}

.cpr-filter-field select.input-field {
    min-width: 10rem;
}

.cpr-reward-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cpr-reward-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
}

.cpr-action-tile:has(input:checked) {
    border-color: rgb(249 115 22);
    background: rgba(249, 115, 22, 0.1);
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.3);
}

.cpr-action-category-btn {
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cpr-action-category-btn.active {
    background: rgba(249, 115, 22, 0.2);
    color: rgb(253 186 116);
    border-color: rgba(249, 115, 22, 0.5);
}

.cpr-action-category-content {
    display: none;
}

.cpr-action-category-content.active {
    display: block;
}

.cpr-permissions-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    min-height: 32px;
}

.cpr-permission-tag {
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid #ff6b35;
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cpr-permission-tag .remove {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    line-height: 1;
    font-weight: bold;
}

.cpr-permission-tag .remove:hover {
    color: white;
}

.cpr-empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: #9ca3af;
}

.cpr-empty-state i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #6b7280;
}

.fs-modal-tabs .tab-btn {
    flex: 1 1 0;
    justify-content: center;
    min-width: max-content;
}
