/**
 * Alternative Products — admin stylesheet.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License version 3.0
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 *
 * @author    Prestachamps
 * @copyright 2024-present Prestachamps
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
 */

:root {
    --ap-color-primary: #25b9d7;
    --ap-color-primary-dark: #1ca6c0;
    --ap-color-success: #3cbe8b;
    --ap-color-success-dark: #2ea272;
    --ap-color-danger: #e74c5c;
    --ap-color-danger-dark: #c73e4d;
    --ap-color-warning: #f5a623;
    --ap-color-warning-dark: #db8e17;
    --ap-color-info: #7360f2;
    --ap-color-text: #2c2f37;
    --ap-color-muted: #6b7280;
    --ap-color-border: #e3e7ed;
    --ap-color-bg: #f7f8fa;
    --ap-color-card: #ffffff;
    --ap-radius: 10px;
    --ap-radius-sm: 6px;
    --ap-shadow-sm: 0 1px 2px rgba(17, 24, 39, .05);
    --ap-shadow: 0 4px 14px rgba(17, 24, 39, .06);
    --ap-shadow-lg: 0 10px 30px rgba(17, 24, 39, .10);
    --ap-transition: .18s ease;
}

/* ------------------------------------------------------------------ */
/*  Panel override — modern card look for our panels only              */
/* ------------------------------------------------------------------ */
.ap-admin-wrap { font-size: 14px; color: var(--ap-color-text); }

/* ------------------------------------------------------------------ */
/*  Tabs (Settings / User Guide)                                       */
/* ------------------------------------------------------------------ */
.ap-admin-wrap .ap-tabs {
    display: flex;
    gap: 2px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    border-bottom: 2px solid var(--ap-color-border);
}
.ap-admin-wrap .ap-tabs > li { margin: 0; }
.ap-admin-wrap .ap-tabs > li > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ap-color-muted);
    text-decoration: none;
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: var(--ap-radius-sm) var(--ap-radius-sm) 0 0;
    margin-bottom: -2px;
    transition: color var(--ap-transition), background var(--ap-transition), border-color var(--ap-transition);
}
.ap-admin-wrap .ap-tabs > li > a:hover {
    color: var(--ap-color-primary-dark);
    background: rgba(37, 185, 215, .06);
}
.ap-admin-wrap .ap-tabs > li.active > a,
.ap-admin-wrap .ap-tabs > li > a.active {
    color: var(--ap-color-primary-dark);
    background: var(--ap-color-card);
    border-color: var(--ap-color-border);
    border-bottom-color: var(--ap-color-card);
}
.ap-admin-wrap .ap-tabs > li > a > i { font-size: 14px; }

.ap-admin-wrap .ap-tab-content > .tab-pane { display: none; }
.ap-admin-wrap .ap-tab-content > .tab-pane.active,
.ap-admin-wrap .ap-tab-content > .tab-pane.in.active { display: block; }

/* ------------------------------------------------------------------ */
/*  Two-column layout (Settings tab)                                   */
/* ------------------------------------------------------------------ */
.ap-admin-wrap .ap-layout-grid {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-bottom: 16px;
}
.ap-admin-wrap .ap-col-left,
.ap-admin-wrap .ap-col-right {
    min-width: 0;
}
.ap-admin-wrap .ap-col-left > .panel,
.ap-admin-wrap .ap-col-right > .panel {
    margin-bottom: 16px;
}
.ap-admin-wrap .ap-col-left > .panel:last-child,
.ap-admin-wrap .ap-col-right > .panel:last-child {
    margin-bottom: 0;
}
/* Stats and Bulk Tools: stack vertically in the narrow left column */
.ap-admin-wrap .ap-col-left .ap-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.ap-admin-wrap .ap-col-left .ap-stat__value { font-size: 22px; }
.ap-admin-wrap .ap-col-left .ap-bulk-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}
.ap-admin-wrap .ap-col-left .ap-bulk-card { padding: 12px; }

@media (max-width: 1199px) {
    .ap-admin-wrap .ap-layout-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .ap-admin-wrap .ap-col-left .ap-stats {
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    }
    .ap-admin-wrap .ap-col-left .ap-bulk-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

.ap-admin-wrap .panel,
#alternativeproducts-tab.panel,
body #alternativeproducts-tab.panel {
    border: 1px solid var(--ap-color-border);
    border-radius: var(--ap-radius);
    background: var(--ap-color-card);
    box-shadow: var(--ap-shadow-sm);
    margin-bottom: 18px;
    overflow: hidden;
}

.ap-admin-wrap .panel-heading,
#alternativeproducts-tab .panel-heading {
    background: linear-gradient(180deg, #fbfbfd 0%, #f5f6fa 100%);
    border-bottom: 1px solid var(--ap-color-border);
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ap-color-text);
    letter-spacing: .01em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ap-admin-wrap .panel-heading > i,
#alternativeproducts-tab .panel-heading > i {
    color: var(--ap-color-primary);
    font-size: 15px;
}
.ap-admin-wrap .panel-body,
#alternativeproducts-tab .panel-body {
    padding: 18px;
}

/* ------------------------------------------------------------------ */
/*  Stats grid                                                          */
/* ------------------------------------------------------------------ */
.ap-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
}
.ap-stat {
    position: relative;
    padding: 18px 18px 16px;
    border-radius: var(--ap-radius);
    background: var(--ap-color-card);
    border: 1px solid var(--ap-color-border);
    transition: transform var(--ap-transition), box-shadow var(--ap-transition);
    overflow: hidden;
}
.ap-stat::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--ap-color-primary);
    border-radius: var(--ap-radius) 0 0 var(--ap-radius);
}
.ap-stat:hover { transform: translateY(-2px); box-shadow: var(--ap-shadow); }
.ap-stat--info::before { background: var(--ap-color-info); }
.ap-stat--success::before { background: var(--ap-color-success); }
.ap-stat--warning::before { background: var(--ap-color-warning); }
.ap-stat--primary::before { background: var(--ap-color-primary); }

.ap-stat__value {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: var(--ap-color-text);
    margin: 0;
    letter-spacing: -.01em;
}
.ap-stat__label {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--ap-color-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.ap-stat__icon {
    position: absolute;
    right: 14px;
    top: 14px;
    font-size: 22px;
    opacity: .15;
    color: var(--ap-color-text);
}

/* ------------------------------------------------------------------ */
/*  Feature rules table                                                 */
/* ------------------------------------------------------------------ */
.ap-intro {
    background: #eef7fb;
    border-left: 3px solid var(--ap-color-primary);
    padding: 12px 14px;
    border-radius: var(--ap-radius-sm);
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.55;
    color: #315561;
}
.ap-intro small { display: block; margin-top: 6px; color: #5b7988; font-size: 12px; }

.ap-filter-group {
    display: inline-flex;
    gap: 0;
    margin-bottom: 14px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--ap-color-border);
    background: var(--ap-color-bg);
    padding: 3px;
}
.ap-filter-group .ap-filter-btn {
    padding: 6px 14px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: var(--ap-color-muted);
    border-radius: 999px;
    transition: all var(--ap-transition);
}
.ap-filter-group .ap-filter-btn:hover { color: var(--ap-color-text); }
.ap-filter-group .ap-filter-btn.is-active {
    background: var(--ap-color-card);
    color: var(--ap-color-text);
    box-shadow: var(--ap-shadow-sm);
}

#ap-cat-rules-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--ap-color-card);
    border-radius: var(--ap-radius-sm);
    overflow: hidden;
    border: 1px solid var(--ap-color-border);
}
#ap-cat-rules-table thead th {
    background: #f5f6fa;
    padding: 10px 14px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--ap-color-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--ap-color-border);
    text-align: left;
}
#ap-cat-rules-table tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f2f5;
    vertical-align: middle;
    font-size: 13px;
}
#ap-cat-rules-table tbody tr:last-child td { border-bottom: 0; }
#ap-cat-rules-table tbody tr:hover td { background: #fbfbfd; }
#ap-cat-rules-table tr.ap-configured td { background: linear-gradient(90deg, #ecf9f1 0%, transparent 100%); }
#ap-cat-rules-table tr.ap-configured:hover td { background: linear-gradient(90deg, #e1f5ea 0%, #fafafa 100%); }

.ap-cat-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.ap-feature-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: var(--ap-color-success);
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    gap: 6px;
    line-height: 1;
}
.ap-feature-chip a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    padding: 0 2px;
    border-radius: 50%;
}
.ap-feature-chip a:hover { color: #fff; background: rgba(0,0,0,.15); }

.ap-add-feature-form { display: flex; gap: 6px; align-items: center; }
.ap-add-feature-form select {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid var(--ap-color-border);
    border-radius: var(--ap-radius-sm);
    font-size: 12px;
    background: #fff;
    min-height: 32px;
}
.ap-add-feature-form select:focus {
    outline: none;
    border-color: var(--ap-color-primary);
    box-shadow: 0 0 0 3px rgba(37, 185, 215, .18);
}

.ap-cat-name { font-weight: 600; color: var(--ap-color-text); }
.ap-cat-id { color: var(--ap-color-muted); font-size: 11px; margin-left: 4px; font-weight: 400; }
.ap-placeholder { color: var(--ap-color-muted); font-style: italic; font-size: 12px; }

/* ------------------------------------------------------------------ */
/*  Bulk tools                                                          */
/* ------------------------------------------------------------------ */
.ap-bulk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}
.ap-bulk-card {
    padding: 16px;
    background: var(--ap-color-card);
    border: 1px solid var(--ap-color-border);
    border-radius: var(--ap-radius);
    transition: box-shadow var(--ap-transition);
}
.ap-bulk-card:hover { box-shadow: var(--ap-shadow); }
.ap-bulk-card__title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--ap-color-text);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ap-bulk-card__title i { color: var(--ap-color-primary); font-size: 16px; }
.ap-bulk-card__desc {
    color: var(--ap-color-muted);
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 12px;
}

/* ------------------------------------------------------------------ */
/*  Modern buttons                                                      */
/* ------------------------------------------------------------------ */
.ap-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--ap-radius-sm);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--ap-transition);
    line-height: 1.3;
    background: #fff;
}
.ap-btn:hover { transform: translateY(-1px); }
.ap-btn:active { transform: translateY(0); }
.ap-btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.ap-btn i { font-size: 13px; }

.ap-btn--primary { background: var(--ap-color-primary); color: #fff; }
.ap-btn--primary:hover { background: var(--ap-color-primary-dark); color: #fff; }
.ap-btn--success { background: var(--ap-color-success); color: #fff; }
.ap-btn--success:hover { background: var(--ap-color-success-dark); color: #fff; }
.ap-btn--warning { background: var(--ap-color-warning); color: #fff; }
.ap-btn--warning:hover { background: var(--ap-color-warning-dark); color: #fff; }
.ap-btn--danger { background: var(--ap-color-danger); color: #fff; }
.ap-btn--danger:hover { background: var(--ap-color-danger-dark); color: #fff; }
.ap-btn--info { background: var(--ap-color-info); color: #fff; }
.ap-btn--info:hover { background: #5e4be0; color: #fff; }
.ap-btn--ghost { background: transparent; color: var(--ap-color-text); border-color: var(--ap-color-border); }
.ap-btn--ghost:hover { background: #f5f6fa; }

.ap-btn--sm { padding: 5px 10px; font-size: 12px; }
.ap-btn--xs { padding: 3px 8px; font-size: 11px; }
.ap-btn--icon { padding: 6px 8px; }

/* ------------------------------------------------------------------ */
/*  Progress bars & status                                              */
/* ------------------------------------------------------------------ */
.ap-progress {
    height: 8px;
    background: #eef1f6;
    border-radius: 999px;
    overflow: hidden;
    margin: 10px 0 6px;
}
.ap-progress__bar {
    height: 100%;
    background: linear-gradient(90deg, var(--ap-color-primary) 0%, var(--ap-color-info) 100%);
    border-radius: inherit;
    transition: width .3s ease;
    width: 0;
    position: relative;
    overflow: hidden;
}
.ap-progress__bar.is-animated::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,.35) 50%,
        transparent 100%);
    animation: ap-shimmer 1.2s linear infinite;
}
.ap-progress__bar.is-done { background: var(--ap-color-success); }
@keyframes ap-shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.ap-status { font-size: 12px; color: var(--ap-color-muted); margin: 4px 0 0; display: flex; gap: 6px; align-items: center; }
.ap-status--ok { color: var(--ap-color-success-dark); }
.ap-status--err { color: var(--ap-color-danger-dark); }
.ap-status--warn { color: var(--ap-color-warning-dark); }

/* ------------------------------------------------------------------ */
/*  Product tab (inside product edit page)                              */
/* ------------------------------------------------------------------ */
#alternativeproducts-tab .panel-heading {
    flex-wrap: wrap;
    row-gap: 8px;
}
#alternativeproducts-tab .panel-heading .ap-heading-sub {
    font-weight: 400;
    font-size: 12px;
    color: var(--ap-color-muted);
}
#alternativeproducts-tab .panel-heading .ap-heading-actions {
    margin-left: auto;
    display: flex;
    gap: 6px;
}

/* ------------------------------------------------------------------ */
/*  Search / autocomplete                                               */
/* ------------------------------------------------------------------ */
.ap-search-wrap { position: relative; max-width: 680px; margin-bottom: 14px; }
.ap-search-wrap .control-label { font-weight: 600; font-size: 12px; color: var(--ap-color-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; display: block; }

.ap-search-box { display: flex; gap: 8px; position: relative; }
.ap-search-box input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--ap-color-border);
    border-radius: var(--ap-radius-sm);
    font-size: 14px;
    background: #fff;
    transition: border-color var(--ap-transition), box-shadow var(--ap-transition);
}
.ap-search-box input[type="text"]:focus {
    outline: none;
    border-color: var(--ap-color-primary);
    box-shadow: 0 0 0 3px rgba(37, 185, 215, .18);
}

.ap-suggestions-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    list-style: none;
    margin: 4px 0 0;
    padding: 4px;
    background: #fff;
    border: 1px solid var(--ap-color-border);
    border-radius: var(--ap-radius);
    box-shadow: var(--ap-shadow-lg);
    min-width: 540px;
    max-height: 320px;
    overflow-y: auto;
}
.ap-suggestions-list li { list-style: none; margin: 0; }
.ap-suggestions-list li a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: var(--ap-color-text);
    text-decoration: none;
    font-size: 13px;
    border-radius: var(--ap-radius-sm);
    gap: 10px;
    transition: background var(--ap-transition);
}
.ap-suggestions-list li a:hover,
.ap-suggestions-list li a:focus { background: #eef7fb; color: var(--ap-color-primary-dark); }
.ap-suggestions-list li + li { margin-top: 1px; }

/* ------------------------------------------------------------------ */
/*  Product table                                                       */
/* ------------------------------------------------------------------ */
.ap-table {
    width: 100%;
    font-size: 13px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid var(--ap-color-border);
    border-radius: var(--ap-radius-sm);
    overflow: hidden;
}
.ap-table thead th {
    background: #f5f6fa;
    padding: 10px 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ap-color-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--ap-color-border);
    text-align: left;
}
.ap-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #f2f3f7;
    vertical-align: middle;
}
.ap-table tbody tr:last-child td { border-bottom: 0; }
.ap-table tbody tr:hover td { background: #fbfbfd; }
.ap-table code {
    background: #f5f6fa;
    color: #5c6472;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 11px;
}

.ap-drag-handle {
    cursor: grab;
    color: #aaa;
    text-align: center;
    width: 28px;
    user-select: none;
    transition: color var(--ap-transition);
}
.ap-drag-handle:hover { color: var(--ap-color-primary); }
.ap-drag-handle:active { cursor: grabbing; }
.ap-drag-placeholder {
    height: 48px;
    background: #eef7fb;
    border: 1px dashed var(--ap-color-primary);
    border-radius: var(--ap-radius-sm);
}

.ap-thumb {
    width: 38px; height: 38px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--ap-color-border);
    background: #fff;
}
.ap-no-img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    background: #f5f6fa;
    border-radius: 6px;
    color: #c4c9d1;
    border: 1px solid var(--ap-color-border);
}

/* ------------------------------------------------------------------ */
/*  Badges                                                              */
/* ------------------------------------------------------------------ */
.ap-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1.4;
    color: #fff;
}
.ap-badge-manual { background: var(--ap-color-success); }
.ap-badge-auto   { background: var(--ap-color-warning); }
.ap-badge-other  { background: var(--ap-color-muted); }
.ap-badge-count {
    background: #eef7fb;
    color: var(--ap-color-primary-dark);
    padding: 3px 10px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    margin-left: auto;
}

/* ------------------------------------------------------------------ */
/*  Alerts / banners                                                    */
/* ------------------------------------------------------------------ */
.ap-alert {
    padding: 10px 14px;
    border-radius: var(--ap-radius-sm);
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid transparent;
}
.ap-alert i { flex: 0 0 auto; margin-top: 2px; font-size: 14px; }
.ap-alert--info    { background: #eef7fb; color: #1b5c72; border-color: #c7e4ee; }
.ap-alert--info i  { color: var(--ap-color-primary); }
.ap-alert--success { background: #ebfaf1; color: #1b6641; border-color: #c4ecd2; }
.ap-alert--success i { color: var(--ap-color-success); }
.ap-alert--warning { background: #fff4e0; color: #7a4a04; border-color: #f5d8a1; }
.ap-alert--warning i { color: var(--ap-color-warning); }
.ap-alert--danger  { background: #fdecee; color: #822533; border-color: #f5c1c7; }
.ap-alert--danger i { color: var(--ap-color-danger); }

.alert-sm { padding: 6px 10px; font-size: 12px; margin: 0; }

/* ------------------------------------------------------------------ */
/*  FAQ accordion                                                       */
/* ------------------------------------------------------------------ */
.ap-faq-item {
    border-bottom: 1px solid var(--ap-color-border);
    padding: 0;
}
.ap-faq-item:last-child { border-bottom: 0; }
.ap-faq-q {
    cursor: pointer;
    margin: 0;
    padding: 14px 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ap-color-text);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color var(--ap-transition);
}
.ap-faq-q:hover { color: var(--ap-color-primary-dark); }
.ap-faq-q .ap-faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    background: #eef7fb;
    color: var(--ap-color-primary);
    border-radius: 50%;
    font-size: 10px;
    transition: transform var(--ap-transition), background var(--ap-transition);
    flex: 0 0 auto;
}
.ap-faq-item.is-open .ap-faq-icon {
    transform: rotate(90deg);
    background: var(--ap-color-primary);
    color: #fff;
}
.ap-faq-a {
    padding: 0 4px 14px 34px;
    font-size: 13px;
    color: #4c5461;
    line-height: 1.6;
    display: none;
}
.ap-faq-item.is-open .ap-faq-a { display: block; }
.ap-faq-a strong { color: var(--ap-color-text); }
.ap-faq-a ol { margin: 0 0 8px; padding-left: 20px; }
.ap-faq-a ol li { margin-bottom: 4px; }
.ap-faq-a .ap-alert { margin-top: 10px; margin-bottom: 0; font-size: 12px; }

/* ------------------------------------------------------------------ */
/*  Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 767px) {
    .ap-admin-wrap .panel-body,
    #alternativeproducts-tab .panel-body { padding: 12px; }
    #ap-cat-rules-table thead { display: none; }
    #ap-cat-rules-table tbody td { display: block; padding: 6px 10px; border: 0; }
    #ap-cat-rules-table tbody tr { display: block; margin-bottom: 10px; border: 1px solid var(--ap-color-border); border-radius: var(--ap-radius-sm); }
}

/* ------------------------------------------------------------------ */
/*  BC fallbacks for themes that still load old rules                   */
/* ------------------------------------------------------------------ */
#ap-bulk-progress .progress { height: 8px; margin-bottom: 4px; }
