/* V2.9.42 - Admin Reward History: CSP-safe thumbnails and action controls */
#adminRewardHistoryExactTable .admin-reward-thumb {
    display: block;
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #d8e4dc;
    background: #f6faf7;
}
#adminRewardHistoryExactTable td:nth-child(3),
#adminRewardHistoryExactTable th:nth-child(3) {
    width: 92px;
    min-width: 92px;
}
#adminRewardHistoryExactTable .reward-history-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 170px;
}
#adminRewardHistoryExactTable .reward-history-actions .btn {
    white-space: nowrap;
    padding: 8px 10px;
}
#adminRewardHistoryExactTable .reward-status-active {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 700;
    background: #e8f7ee;
    color: #166534;
}
#adminRewardHistoryExactTable .reward-status-deleted {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 700;
    background: #f3f4f6;
    color: #6b7280;
}
.reward-current-image-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 12px;
    min-height: 0;
}
.reward-current-image-box:empty { display: none; }
.reward-current-image-box .admin-reward-thumb { flex: 0 0 auto; }
.reward-current-image-box span { font-size: 12px; color: #52605a; }
.reward-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
@media (max-width: 640px) {
    #adminRewardHistoryExactTable .admin-reward-thumb {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        max-width: 58px !important;
    }
    #adminRewardHistoryExactTable td:nth-child(3),
    #adminRewardHistoryExactTable th:nth-child(3) {
        width: 74px;
        min-width: 74px;
    }
}

#adminRewardHistoryExactTable img.admin-reward-thumb { max-height: 64px !important; }
