[data-location="grid"][data-page="Food_Pack_Priority_dashboard"][data-location="grid"][data-page="Food_Pack_Priority_dashboard"][data-location="grid"][data-page="Food_Pack_Priority_dashboard"] > tbody > tr > td > *[data-itemtype="dashboard-item"],
[data-location="grid"][data-page="Food_Pack_Priority_dashboard"][data-location="grid"][data-page="Food_Pack_Priority_dashboard"][data-location="grid"][data-page="Food_Pack_Priority_dashboard"] > tbody > tr > td > *[data-itemtype="dashboard-group"] {
  margin: calc(16px / 2);
}
[data-page="Food_Pack_Priority_dashboard"][data-itemid="page_image_ash8f23hr"] {
  width: 400px;
}


.rank-wrapper {
    max-width: 750px;
    padding: 20px;
}

.rank-wrapper h3 {
    margin-top: 0;
    font-weight: 600;
}

.rank-note {
    color: #666;
    margin-bottom: 15px;
}

#foodpack-sortable {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.foodpack-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    padding: 14px 16px;
    margin-bottom: 8px;
    cursor: move;
    border-radius: 6px;
}

.foodpack-row:hover {
    background: #f8f8f8;
}

.drag-handle {
    font-size: 22px;
    cursor: move;
    color: #333;
}

.priority-badge {
    width: 35px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

.foodpack-info {
    flex: 1;
}

.foodpack-placeholder {
    height: 55px;
    border: 2px dashed #999;
    background: #f5f5f5;
    margin-bottom: 8px;
    border-radius: 6px;
}

#save-ranking {
    margin-top: 10px;
}

#ranking-message {
    margin-top: 12px;
    font-weight: 600;
}

.rank-success {
    color: green;
}

.rank-error {
    color: red;
}