/* Products: productEdit (tabs + general form), productsList, categoryEdit */

/* ---------- productEdit: page frame ---------- */

body.admin-new-theme.productEdit-css .productEdit-section
{
    color: var(--adm-text);
}

body.admin-new-theme.productEdit-css #tabs.row
{
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    flex-wrap: wrap;
}

body.admin-new-theme.productEdit-css #tabs > .col-sm-9
{
    min-width: 0;
}

@media (min-width: 768px)
{
    body.admin-new-theme.productEdit-css #tabs > .selection-tabs
    {
        flex: 0 0 250px;
        width: 250px;
    }

    body.admin-new-theme.productEdit-css #tabs > .col-sm-9
    {
        flex: 1 1 0;
        width: auto;
    }
}

/* ---------- productEdit: tab bar (vertical, right side) ---------- */

body.admin-new-theme.productEdit-css .selection-tabs
{
    padding-left: 15px;
    position: sticky;
    top: 70px;
    z-index: 5;
}

body.admin-new-theme.productEdit-css .selection-tabs ul.navbar
{
    min-height: 0;
    margin: 0;
    padding: 6px;
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius-lg);
    box-shadow: var(--adm-shadow);
    max-height: calc(100vh - 90px);
    overflow-y: auto;
}

body.admin-new-theme.productEdit-css .selection-tabs ul li
{
    float: none;
    margin: 0 0 2px;
    padding: 0 !important;
    border: 0;
    border-radius: 8px !important;
    background: transparent;
    transition: background var(--adm-transition);
}

body.admin-new-theme.productEdit-css .selection-tabs ul li:hover
{
    background: var(--adm-surface-alt);
}

body.admin-new-theme.productEdit-css .selection-tabs ul li.ui-tabs-active,
body.admin-new-theme.productEdit-css .selection-tabs ul li.ui-state-active
{
    background: var(--adm-brand-tint);
}

body.admin-new-theme.productEdit-css .selection-tabs ul li.ui-tabs-active:before
{
    content: none;
}

body.admin-new-theme.productEdit-css .selection-tabs ul li a
{
    display: block;
    padding: 7px 12px;
    font-size: 13px;
    line-height: 1.35;
    color: var(--adm-muted) !important;
    text-decoration: none;
    transition: color var(--adm-transition);
}

body.admin-new-theme.productEdit-css .selection-tabs ul li:hover a
{
    color: var(--adm-text) !important;
}

body.admin-new-theme.productEdit-css .selection-tabs ul li.ui-tabs-active a,
body.admin-new-theme.productEdit-css .selection-tabs ul li.ui-state-active a
{
    color: var(--adm-brand) !important;
    font-weight: 600;
}

body.admin-new-theme.productEdit-css .selection-tabs ul li a:focus-visible
{
    outline: none;
    box-shadow: var(--adm-focus);
    border-radius: 8px;
}

/* ---------- productEdit: tab panels as cards ---------- */

body.admin-new-theme.productEdit-css #tabs .ui-tabs-panel
{
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius-lg);
    box-shadow: var(--adm-shadow);
    padding: 20px 24px;
    margin-bottom: 20px;
}

body.admin-new-theme.productEdit-css #tabs .ui-tabs-panel .ui-tabs-panel
{
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

body.admin-new-theme.productEdit-css #tabs > .col-sm-9 > #tabs-general.ui-tabs-panel
{
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

/* ---------- productEdit: general tab ---------- */

body.admin-new-theme.productEdit-css .productEditGeneral > .row,
body.admin-new-theme.productEdit-css #tab_general_products
{
    margin: 0 0 16px !important;
    padding: 20px 8px;
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius-lg);
    box-shadow: var(--adm-shadow);
}

body.admin-new-theme.productEdit-css #pictureGroup .large_thumbnail
{
    display: block;
    max-height: 260px;
    width: auto;
    margin: 0 auto;
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    background: var(--adm-surface-alt);
    object-fit: contain;
}

body.admin-new-theme.productEdit-css #statusGroup
{
    color: var(--adm-muted);
    line-height: 1.9;
}

body.admin-new-theme.productEdit-css #statusGroup ul
{
    margin: 6px 0 4px;
    padding: 6px;
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    background: var(--adm-surface-alt);
}

body.admin-new-theme.productEdit-css #statusGroup ul
{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 2px 6px;
}

body.admin-new-theme.productEdit-css #statusGroup ul li
{
    padding: 0 6px;
    border-radius: 6px;
}

body.admin-new-theme.productEdit-css #statusGroup ul li:has(#redirect301_url),
body.admin-new-theme.productEdit-css #statusGroup ul li:has(#available_from)
{
    grid-column: 1 / -1;
}

body.admin-new-theme.productEdit-css #statusGroup ul li:empty
{
    display: none;
}

body.admin-new-theme.productEdit-css #statusGroup ul li:has(input:checked)
{
    background: var(--adm-surface);
    box-shadow: var(--adm-shadow);
}

body.admin-new-theme.productEdit-css #statusGroup label
{
    margin: 0;
    font-weight: 400;
    color: var(--adm-text);
    cursor: pointer;
}

body.admin-new-theme.productEdit-css #statusGroup ul li:has(input:checked) label
{
    font-weight: 600;
    color: var(--adm-brand);
}

body.admin-new-theme.productEdit-css #statusGroup input[type="radio"],
body.admin-new-theme.productEdit-css #statusGroup input[type="checkbox"]
{
    accent-color: var(--adm-brand);
    margin-right: 4px;
}

body.admin-new-theme.productEdit-css #statusGroup input[type="text"]
{
    height: 28px;
    padding: 2px 8px;
    border: 1px solid var(--adm-border);
    border-radius: 6px;
    background: var(--adm-surface);
}

body.admin-new-theme.productEdit-css #tab_general_products .form-group
{
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--adm-surface-alt);
}

body.admin-new-theme.productEdit-css #tab_general_products .form-group:last-child
{
    border-bottom: 0;
}

/* visual breaks between the logical blocks of the long form */
body.admin-new-theme.productEdit-css #tab_general_products #priceGroup,
body.admin-new-theme.productEdit-css #tab_general_products #manufacturerGroup,
body.admin-new-theme.productEdit-css #tab_general_products #lengthGroup,
body.admin-new-theme.productEdit-css #tab_general_products #measurementunitGroup,
body.admin-new-theme.productEdit-css #tab_general_products #descriptionGroup
{
    margin-top: 14px;
    padding-top: 22px;
    border-top: 1px solid var(--adm-border);
}

body.admin-new-theme.productEdit-css #tab_general_products .control-label
{
    padding-top: 7px;
    font-size: 13px;
    font-weight: 500;
    color: var(--adm-muted);
}

body.admin-new-theme.productEdit-css #tab_general_products .form-control[readonly],
body.admin-new-theme.productEdit-css #tab_general_products .form-control[disabled]
{
    background: var(--adm-surface-alt);
    color: var(--adm-muted);
}

/* save / duplicate / delete: sticky action bar */
body.admin-new-theme.productEdit-css #tab_general_products + .row
{
    position: sticky;
    bottom: 0;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 12px 16px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius-lg);
    box-shadow: 0 -6px 18px -12px rgba(16, 24, 40, .25);
    backdrop-filter: blur(6px);
}

body.admin-new-theme.productEdit-css #tab_general_products + .row .productEditButton
{
    width: auto;
    float: none;
    padding: 0;
    text-align: left;
}

body.admin-new-theme.productEdit-css #tab_general_products + .row .productEditButton:first-child
{
    order: -1;
    margin-right: auto;
}

body.admin-new-theme.productEdit-css .productEditButton .btn
{
    margin: 0;
    min-width: 0;
}

body.admin-new-theme.productEdit-css .productEditButton label.btn-success
{
    padding: 9px 22px;
    background: var(--adm-brand);
    border-color: var(--adm-brand);
    color: #fff;
    font-weight: 600;
    border-radius: var(--adm-radius);
    box-shadow: var(--adm-shadow-raised);
    transition: background var(--adm-transition);
}

body.admin-new-theme.productEdit-css .productEditButton label.btn-success:hover,
body.admin-new-theme.productEdit-css .productEditButton label.btn-success:focus
{
    background: var(--adm-brand-strong);
    border-color: var(--adm-brand-strong);
    color: #fff;
}

body.admin-new-theme.productEdit-css .productEditButton label.btn-success:focus-visible
{
    outline: none;
    box-shadow: var(--adm-focus);
}

@media (max-width: 767px)
{
    body.admin-new-theme.productEdit-css .selection-tabs
    {
        position: static;
        padding-left: 15px;
        margin-bottom: 12px;
    }

    body.admin-new-theme.productEdit-css .selection-tabs ul.navbar
    {
        max-height: none;
    }
}

/* ---------- productEdit: headings inside ajax tabs ---------- */

body.admin-new-theme.productEdit-css #tabs .ui-tabs-panel > h1,
body.admin-new-theme.productEdit-css #tabs .ui-tabs-panel > h2,
body.admin-new-theme.productEdit-css #tabs .ui-tabs-panel .page-header h1
{
    margin: 0 0 16px;
    padding: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--adm-text);
}

body.admin-new-theme.productEdit-css #tabs .ui-tabs-panel > h1 .btn
{
    margin-left: 8px;
    vertical-align: middle;
}

body.admin-new-theme.productEdit-css #tabs .ui-tabs-panel .alert
{
    border-radius: var(--adm-radius);
}

/* ---------- productEdit: pictures ---------- */

body.admin-new-theme.productEdit-css #product_pictures,
body.admin-new-theme.productEdit-css #gpsr_pictures
{
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

body.admin-new-theme.productEdit-css #product_pictures .product_picture .inner-wrapper,
body.admin-new-theme.productEdit-css #gpsr_pictures .product_picture .inner-wrapper
{
    height: 100%;
    justify-content: flex-start;
    overflow: hidden;
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    box-shadow: var(--adm-shadow);
    transition: border-color var(--adm-transition), box-shadow var(--adm-transition);
}

body.admin-new-theme.productEdit-css #product_pictures .product_picture .inner-wrapper:hover,
body.admin-new-theme.productEdit-css #gpsr_pictures .product_picture .inner-wrapper:hover
{
    border-color: var(--adm-brand-soft);
    box-shadow: var(--adm-shadow-raised);
}

body.admin-new-theme.productEdit-css #product_pictures .product_picture:first-of-type .inner-wrapper
{
    border-color: var(--adm-brand);
    box-shadow: 0 0 0 2px var(--adm-brand-tint);
}

body.admin-new-theme.productEdit-css #product_pictures .product_picture .inner-wrapper .picture-item,
body.admin-new-theme.productEdit-css #gpsr_pictures .product_picture .inner-wrapper .picture-item
{
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--adm-surface-alt);
    border-bottom: 1px solid var(--adm-border);
}

body.admin-new-theme.productEdit-css #product_pictures .product_picture .picture-item img,
body.admin-new-theme.productEdit-css #gpsr_pictures .product_picture .picture-item img
{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

body.admin-new-theme.productEdit-css #product_pictures .container-picture-actions,
body.admin-new-theme.productEdit-css #gpsr_pictures .container-picture-actions
{
    justify-content: center;
    gap: 6px;
    margin: 6px 0;
    font-size: 12px;
    color: var(--adm-muted);
}

body.admin-new-theme.productEdit-css #product_pictures .container-picture-actions .btn,
body.admin-new-theme.productEdit-css #gpsr_pictures .container-picture-actions .btn
{
    border-radius: 8px;
}

body.admin-new-theme.productEdit-css #product_pictures .product_picture .inner-wrapper.selected
{
    border-color: var(--adm-danger) !important;
    box-shadow: 0 0 0 2px var(--adm-danger-bg);
}

body.admin-new-theme.productEdit-css #product_pictures .inner-wrapper.new-picture,
body.admin-new-theme.productEdit-css #gpsr_pictures .inner-wrapper.new-picture
{
    min-height: 220px;
    justify-content: center;
    border: 1px dashed var(--adm-brand-soft);
    background: var(--adm-brand-tint);
    border-radius: var(--adm-radius);
    box-shadow: none;
}

body.admin-new-theme.productEdit-css #product_pictures .inner-wrapper.new-picture:hover,
body.admin-new-theme.productEdit-css #gpsr_pictures .inner-wrapper.new-picture:hover
{
    background: #ebe3fb;
}

body.admin-new-theme.productEdit-css #product_pictures .top-left
{
    top: 8px;
    left: 8px;
    z-index: 1;
    accent-color: var(--adm-brand);
}

body.admin-new-theme.productEdit-css #product_pictures .inner-wrapper.new-picture input[type="file"]
{
    max-width: 100%;
}

body.admin-new-theme.productEdit-css #product_pictures .inner-wrapper.new-picture
{
    font-size: 12px;
    line-height: 1.45;
    color: var(--adm-muted);
    overflow-wrap: anywhere;
}

/* ---------- productEdit: panels inside tabs (price, timeline, ...) ---------- */

body.admin-new-theme.productEdit-css #tabs .ui-tabs-panel .panel
{
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    box-shadow: var(--adm-shadow);
}

body.admin-new-theme.productEdit-css #tabs .ui-tabs-panel .panel > .panel-heading
{
    border-bottom-color: var(--adm-border);
    border-radius: var(--adm-radius) var(--adm-radius) 0 0;
}

body.admin-new-theme.productEdit-css #tabs .ui-tabs-panel .panel > .panel-heading h2,
body.admin-new-theme.productEdit-css #tabs .ui-tabs-panel .panel > .panel-heading h3
{
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--adm-text);
}

/* ---------- productEdit: tags as a grid of chips ---------- */

body.admin-new-theme.productEdit-css #tabs .ui-tabs-panel ul:has(> li > input.product-tag)
{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.admin-new-theme.productEdit-css #tabs .ui-tabs-panel li:has(> input.product-tag)
{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    transition: border-color var(--adm-transition), background var(--adm-transition);
}

body.admin-new-theme.productEdit-css #tabs .ui-tabs-panel li:has(> input.product-tag):hover
{
    border-color: var(--adm-brand-soft);
}

body.admin-new-theme.productEdit-css #tabs .ui-tabs-panel li:has(> input.product-tag:checked)
{
    background: var(--adm-brand-tint);
    border-color: var(--adm-brand);
}

body.admin-new-theme.productEdit-css #tabs .ui-tabs-panel li > input.product-tag
{
    flex: 0 0 auto;
    margin: 0;
    accent-color: var(--adm-brand);
}

body.admin-new-theme.productEdit-css #tabs .ui-tabs-panel li > input.product-tag + label
{
    flex: 1 1 auto;
    margin: 0;
    padding: 8px 0;
    font-weight: 500;
    color: var(--adm-text);
    cursor: pointer;
    overflow-wrap: anywhere;
}

body.admin-new-theme.productEdit-css #tabs .ui-tabs-panel li > input.product-tag:checked + label
{
    color: var(--adm-brand);
    font-weight: 600;
}

/* ---------- productsList: toolbar (sort + pagination) ---------- */

body.admin-new-theme.productsList-css .sort_product_list label,
body.admin-new-theme.productsList-css .top-paginate .paginate-info
{
    font-size: 13px;
    font-weight: 500;
    color: var(--adm-muted);
}

body.admin-new-theme.productsList-css .top-paginate .paginate-info b,
body.admin-new-theme.productsList-css .top-paginate .paginate-info strong
{
    color: var(--adm-text);
}

/* ---------- productsList: filters ---------- */

body.admin-new-theme.productsList-css .product-filters-wrapper
{
    margin: 0 15px;
    background: var(--adm-surface);
    border-radius: var(--adm-radius-lg);
}

body.admin-new-theme.productsList-css .product-filters-wrapper.product-filters-active
{
    margin-bottom: 16px;
    border: 1px solid var(--adm-border);
    box-shadow: var(--adm-shadow);
}

body.admin-new-theme.productsList-css .product-filters-wrapper form
{
    padding: 20px 20px 8px;
    background: transparent;
}

body.admin-new-theme.productsList-css .product-filters-wrapper .control-label,
body.admin-new-theme.productsList-css .product-filters-wrapper label
{
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--adm-muted);
}

body.admin-new-theme.productsList-css .product-filters-wrapper .form-group
{
    margin-bottom: 12px;
}

body.admin-new-theme.productsList-css .close-filter-wrapper
{
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 18px;
    line-height: 32px;
    color: var(--adm-muted);
    border-radius: var(--adm-radius);
    transition: background var(--adm-transition), color var(--adm-transition);
}

body.admin-new-theme.productsList-css .close-filter-wrapper:hover
{
    background: var(--adm-surface-alt);
    color: var(--adm-text);
}

/* ---------- productsList: status tabs (keep the meaning dots) ---------- */

body.admin-new-theme.productsList-css .product-list-tabs
{
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0 0 8px;
    border-bottom: 0;
}

body.admin-new-theme.productsList-css .product-list-tabs > li
{
    float: none;
    margin: 0;
    padding: 0;
}

body.admin-new-theme.productsList-css .product-list-tabs > li.active
{
    overflow: visible;
}

body.admin-new-theme.productsList-css .product-list-tabs > li > a
{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--adm-muted);
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius-pill);
    box-shadow: none;
    transition: border-color var(--adm-transition), color var(--adm-transition), background var(--adm-transition);
}

body.admin-new-theme.productsList-css .product-list-tabs > li > a:hover
{
    color: var(--adm-text);
    background: var(--adm-surface);
    border-color: var(--adm-brand-soft);
}

body.admin-new-theme.productsList-css .product-list-tabs > li.active > a,
body.admin-new-theme.productsList-css .product-list-tabs > li.active > a:hover,
body.admin-new-theme.productsList-css .product-list-tabs > li.active > a:focus
{
    color: var(--adm-brand);
    font-weight: 600;
    background: var(--adm-brand-tint);
    border-color: var(--adm-brand);
    box-shadow: none;
}

body.admin-new-theme.productsList-css .product-list-tabs > li > a:before
{
    width: 8px;
    height: 8px;
}

/* ---------- productsList: list card + rows ---------- */

body.admin-new-theme.productsList-css .products-list .tabel_afisare_produse
{
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius-lg);
    border-collapse: separate;
    border-spacing: 0;
    background: var(--adm-surface);
    box-shadow: var(--adm-shadow);
}

body.admin-new-theme.productsList-css .products-list .tabel_afisare_produse > tbody > tr.hideItemForWMS > td
{
    padding: 10px 14px;
    background: var(--adm-surface-alt);
    border-top: 0;
    border-bottom: 1px solid var(--adm-border);
    border-radius: var(--adm-radius-lg) var(--adm-radius-lg) 0 0;
}

body.admin-new-theme.productsList-css .products-list .tabel_afisare_produse #check_all,
body.admin-new-theme.ProductManagement-css .tabel_rand_produs .product-checkbox
{
    accent-color: var(--adm-brand);
}

body.admin-new-theme.productsList-css .products-list .tabel_afisare_produse #check_all + label
{
    font-size: 13px;
    font-weight: 500;
    color: var(--adm-muted);
}

body.admin-new-theme.productsList-css .products-list .products-table-wrapper
{
    border-top: 0;
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs
{
    margin: 0;
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs > tbody > tr.product > td
{
    padding: 12px 10px;
    border-top: 0;
    border-bottom: 1px solid var(--adm-border);
    vertical-align: middle;
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs > tbody > tr.product:last-of-type > td
{
    border-bottom: 0;
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs > tbody > tr.product:hover > td
{
    background: #fafbfe;
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs .col_checkbox
{
    width: 36px;
    padding-left: 14px;
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs .col_poza
{
    width: 96px;
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs .col_poza img
{
    width: 72px;
    height: 72px;
    max-height: none;
    object-fit: contain;
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs .col_poza img::before
{
    background-color: var(--adm-surface-alt);
    background-size: 22px;
    border-radius: var(--adm-radius);
    opacity: .7;
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs .col_info
{
    font-size: 13px;
    color: var(--adm-muted);
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs .col_info li
{
    margin: 0 0 2px;
    line-height: 1.5;
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs .col_info li b
{
    font-weight: 600;
    color: var(--adm-text);
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs .col_info li:first-child
{
    margin-bottom: 4px;
    font-size: 14px;
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs .col_info li:first-child b a
{
    color: var(--adm-text);
    text-decoration: none;
    transition: color var(--adm-transition);
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs .col_info li:first-child b a:hover
{
    color: var(--adm-brand);
    text-decoration: underline;
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs .col_info .children-button
{
    margin-top: 4px;
    padding: 3px 10px;
    font-weight: 500;
    color: var(--adm-brand);
    background: var(--adm-brand-tint);
    border: 1px solid transparent;
    border-radius: var(--adm-radius-pill);
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs .col_info .children-button:hover
{
    border-color: var(--adm-brand-soft);
}

/* status button: keep the meaning colours, calmer shape */
body.admin-new-theme.ProductManagement-css .tabel_rand_produs .btnStatus
{
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--adm-radius-pill);
    box-shadow: none;
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs .btnStatus .caret
{
    margin-left: 4px;
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs .dropdown-menu
{
    padding: 4px;
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    box-shadow: 0 12px 28px -12px rgba(16, 24, 40, .25);
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs .dropdown-menu > li > a.btn
{
    display: block;
    text-align: left;
    padding: 6px 10px;
    border: 0;
    border-radius: 6px;
    box-shadow: none;
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs .dropdown-menu > li > a.btn:hover
{
    background: var(--adm-surface-alt);
}

/* row actions: one tidy column of equal buttons */
body.admin-new-theme.ProductManagement-css .tabel_rand_produs .col_actiuni
{
    width: 130px;
    padding-right: 14px;
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs .col_actiuni br
{
    display: none;
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs .col_actiuni .btn
{
    display: block;
    width: 100%;
    margin: 0 0 4px;
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 8px;
}

body.admin-new-theme.ProductManagement-css .tabel_rand_produs .col_actiuni .btn:last-of-type
{
    margin-bottom: 0;
}

/* ---------- categoryEdit ---------- */

body.admin-new-theme.categoryEdit-css .categories-module #tabs > .nav-tabs
{
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin: 0 0 16px;
    padding: 4px;
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius-lg);
    box-shadow: var(--adm-shadow);
}

body.admin-new-theme.categoryEdit-css .categories-module #tabs > .nav-tabs > li
{
    float: none;
    margin: 0;
}

body.admin-new-theme.categoryEdit-css .categories-module #tabs > .nav-tabs > li > a
{
    margin: 0;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--adm-muted);
    border: 0;
    border-radius: var(--adm-radius);
    background: transparent;
    transition: background var(--adm-transition), color var(--adm-transition);
}

body.admin-new-theme.categoryEdit-css .categories-module #tabs > .nav-tabs > li > a:hover
{
    color: var(--adm-text);
    background: var(--adm-surface-alt);
}

body.admin-new-theme.categoryEdit-css .categories-module #tabs > .nav-tabs > li.active > a,
body.admin-new-theme.categoryEdit-css .categories-module #tabs > .nav-tabs > li.active > a:hover,
body.admin-new-theme.categoryEdit-css .categories-module #tabs > .nav-tabs > li.active > a:focus
{
    color: var(--adm-brand);
    font-weight: 600;
    background: var(--adm-brand-tint);
    border: 0;
}

body.admin-new-theme.categoryEdit-css .categories-module #tabs > .tab-content
{
    padding: 20px 24px;
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius-lg);
    box-shadow: var(--adm-shadow);
}

body.admin-new-theme.categoryEdit-css .edit_category_section > h2
{
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 500;
    color: var(--adm-muted);
}

body.admin-new-theme.categoryEdit-css .edit_category_section > h2 strong
{
    font-weight: 600;
    color: var(--adm-text);
}

body.admin-new-theme.categoryEdit-css .edit_category_section .form-horizontal > .form-group
{
    margin-bottom: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--adm-surface-alt);
}

body.admin-new-theme.categoryEdit-css .edit_category_section .form-horizontal > .form-group > label
{
    padding-top: 7px;
    font-size: 13px;
    font-weight: 500;
    color: var(--adm-muted);
}

body.admin-new-theme.categoryEdit-css .edit_category_section .form-horizontal > .form-group:last-child
{
    position: sticky;
    bottom: 0;
    z-index: 10;
    margin: 12px -24px -20px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, .94);
    border-top: 1px solid var(--adm-border);
    border-bottom: 0;
    border-radius: 0 0 var(--adm-radius-lg) var(--adm-radius-lg);
    backdrop-filter: blur(6px);
}

body.admin-new-theme.categoryEdit-css .edit_category_section .form-horizontal > .form-group:last-child input[type="submit"]
{
    padding: 9px 22px;
    font-weight: 600;
    border-radius: var(--adm-radius);
    box-shadow: var(--adm-shadow-raised);
}

body.admin-new-theme.categoryEdit-css .edit_category_section input[type="checkbox"]
{
    accent-color: var(--adm-brand);
}
