/*!
 * ShipCycle brand layer  —  single source of truth for colour, type and components.
 * Source: "Brand Guidelines" PDF (purple #3C2966, green #35BD64, grey #E6E6E6, white, Montserrat).
 *
 * Rules for everyone who edits CSS in this project:
 *   - never write a colour hex in a stylesheet or view; use a token from this file;
 *   - never write a font-family or a px font-size; use --font-family and --fs-* ;
 *   - this file is loaded on every layout, so tokens are available everywhere.
 *
 * Fonts are loaded by <link> in each layout (Google Fonts, Montserrat 300-800).
 */

/* ===================================================================== TOKENS */
:root {
    /* ---- Brand palette (the ONLY four colours from the guidelines) ---- */
    --brand-purple: #3c2966;   /* primary: headers, text, buttons, dark surfaces */
    --brand-green:  #35bd64;   /* secondary / accent: calls to action, highlights, rules */
    --brand-grey:   #e6e6e6;   /* background tint: panels, borders, dividers */
    --brand-white:  #ffffff;   /* background: pages, cards, text on purple */

    /* ---- Roles ---- */
    --color-primary:    var(--brand-purple);
    --color-secondary:  var(--brand-green);
    --color-accent:     var(--brand-green);
    --color-bg:         var(--brand-white);
    --color-bg-alt:     var(--brand-grey);
    --color-text:       var(--brand-purple);
    --color-text-inverse: var(--brand-white);
    --color-on-accent:  var(--brand-purple);   /* white on green is only 2.4:1, purple on green is 5.3:1 */

    /* ---- Tints: the brand colours mixed with white. No new hues. ---- */
    --tint-purple-05: color-mix(in srgb, var(--brand-purple)  5%, var(--brand-white));
    --tint-purple-10: color-mix(in srgb, var(--brand-purple) 10%, var(--brand-white));
    --tint-purple-25: color-mix(in srgb, var(--brand-purple) 25%, var(--brand-white));
    --tint-green-15:  color-mix(in srgb, var(--brand-green)  15%, var(--brand-white));
    --text-muted:     color-mix(in srgb, var(--brand-purple) 68%, var(--brand-white));
    --surface-subtle: color-mix(in srgb, var(--brand-grey)   45%, var(--brand-white));
    --border-color:   var(--brand-grey);
    --border-strong:  var(--tint-purple-25);
    --focus-ring:     0 0 0 3px color-mix(in srgb, var(--brand-green) 45%, transparent);

    /* ---- Typography ---- */
    --font-family: 'Montserrat', sans-serif;
    --fw-thin: 100; --fw-extralight: 200; --fw-light: 300; --fw-regular: 400; --fw-medium: 500;
    --fw-semibold: 600; --fw-bold: 700; --fw-extrabold: 800; --fw-black: 900;
    --fw-body: var(--fw-regular);
    --fw-heading: var(--fw-semibold);   /* guidelines name the brand face "Montserrat Semi-Bold" */
    --fw-button: var(--fw-semibold);

    --fs-xs:  0.75rem;   /* FONT_SIZE_XS  */
    --fs-sm:  1rem;      /* FONT_SIZE_SM  */
    --fs-md:  1.25rem;   /* FONT_SIZE_MD  */
    --fs-lg:  1.5rem;    /* FONT_SIZE_LG  */
    --fs-xl:  1.75rem;   /* FONT_SIZE_XL  */
    --fs-xxl: 2rem;      /* FONT_SIZE_XXL */
    --fs-xxxl: 2.25rem;  /* FONT_SIZE_XXXL */

    --lh-tight: 1.2;     /* headings  (guidelines give none: our choice) */
    --lh-body:  1.5;     /* body text (guidelines give none: our choice) */

    /* ---- Shape & spacing (guidelines show flat, softly rounded shapes) ---- */
    --radius-sm: 6px;    /* buttons, inputs, badges */
    --radius-md: 8px;    /* cards, panels, dropdowns */
    --radius-lg: 16px;   /* large feature shapes (the guideline's rounded green corner) */
    --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
    --space-5: 24px; --space-6: 32px; --space-7: 48px;
    --shadow-pop: 0 8px 24px color-mix(in srgb, var(--brand-purple) 18%, transparent); /* menus & modals only */

    /* ---- Logo ---- */
    --logo-min-width: 60px;     /* never render the logo narrower than this (guidelines give no minimum: our choice) */
    --logo-clear: 12px;         /* clear space on every side (guidelines give none: our choice) */
    --header-h: 72px;           /* admin top bar: tall enough for the logo plus its clear space */
}

/* ============================================================== BASE TYPE */
html { font-size: 16px; }
body,
button, input, select, textarea, optgroup,
.btn, .form-control, .table, .dropdown-menu, .modal, .card, .box, .nav, .navbar,
.select2-container, .dataTables_wrapper, .swal2-popup,
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .box-title, .card-title, .logo {
    font-family: var(--font-family) !important;
}
body {
    font-size: var(--fs-sm);
    font-weight: var(--fw-body);
    line-height: var(--lh-body);
    color: var(--color-text);
    background: var(--color-bg);
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: var(--fw-heading);
    line-height: var(--lh-tight);
    color: var(--color-text);
}
h1, .h1 { font-size: var(--fs-xxl); }
h2, .h2 { font-size: var(--fs-xl); }
h3, .h3 { font-size: var(--fs-lg); }
h4, .h4 { font-size: var(--fs-md); }
h5, .h5, h6, .h6 { font-size: var(--fs-sm); }
small, .small, .text-small { font-size: var(--fs-xs); }
b, strong, .font-weight-bold { font-weight: var(--fw-bold); }

a { color: var(--brand-purple); text-decoration: none; }
a:hover, a:focus { color: var(--brand-purple); text-decoration: underline; }
.text-muted { color: var(--text-muted) !important; }

/* ============================================================== BUTTONS */
body .btn {
    font-family: var(--font-family);
    font-size: var(--fs-xs);
    font-weight: var(--fw-button);
    line-height: var(--lh-body);
    border-radius: var(--radius-sm);
    border-width: 1px;
    box-shadow: none;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}body .btn-sm,
body .btn-group-sm > .btn { font-size: var(--fs-xs); }body .btn-lg,
body .btn-group-lg > .btn { font-size: var(--fs-xs); }body .btn:focus,
body .btn.focus { outline: 0; box-shadow: var(--focus-ring) !important; }

/* One small size (--fs-xs) on every button, whatever the page or plugin calls it */
body .btn, body .btn-lg, body .btn-sm, body button.btn, body a.btn, body input[type="submit"], body input[type="button"], body input[type="reset"],
body .btn-red, body .btn-red1, body .btn-blue1, body .btn-red-Submit, body .btn-signout, body .btn-profile,
body .dt-button, body .dataTables_wrapper .dt-buttons .btn, body .swal-button, body .swal2-styled, body .colvis .colvis-btn {
    font-size: var(--fs-xs) !important;
}

/* Primary: purple, flips to green on hover */
body .btn-primary,
body .btn-blue,
body .btn-blue1,
body .btn-cyan,
body .btn-search,
body .btn-Search,
body .btn-color-primary,
body .btn-primary-blue,
body .btn-view,
body .btn-dark,
body .btn-default.active {
    background-color: var(--brand-purple); border-color: var(--brand-purple); color: var(--brand-white);
}body .btn-primary:hover,
body .btn-blue:hover,
body .btn-blue1:hover,
body .btn-cyan:hover,
body .btn-search:hover,
body .btn-Search:hover,
body .btn-color-primary:hover,
body .btn-primary-blue:hover,
body .btn-view:hover,
body .btn-dark:hover {
    background-color: var(--brand-green); border-color: var(--brand-green); color: var(--color-on-accent); text-decoration: none;
}
/* Call to action (formerly the red buttons): green with purple text */
body .btn-red,
body .btn-red1,
body .btn-red-Submit,
body .btn-danger,
body .btn-refresh,
body .btn-success,
body .btn-accent {
    background-color: var(--brand-green); border-color: var(--brand-green); color: var(--color-on-accent);
}body .btn-red:hover,
body .btn-red1:hover,
body .btn-red-Submit:hover,
body .btn-danger:hover,
body .btn-refresh:hover,
body .btn-success:hover,
body .btn-accent:hover {
    background-color: var(--brand-purple); border-color: var(--brand-purple); color: var(--brand-white); text-decoration: none;
}
/* Quiet buttons: grey, or outlined purple */
body .btn-secondary,
body .btn-default,
body .btn-light,
body .btn-warning {
    background-color: var(--brand-grey); border-color: var(--brand-grey); color: var(--brand-purple);
}body .btn-secondary:hover,
body .btn-default:hover,
body .btn-light:hover,
body .btn-warning:hover {
    background-color: var(--brand-purple); border-color: var(--brand-purple); color: var(--brand-white); text-decoration: none;
}body .btn-info,
body .btn-edit,
body .btn-outline-primary,
body .btn-outline-info,
body .btn-outline-secondary,
body .btn-outline-dark {
    background-color: var(--brand-white); border-color: var(--brand-purple); color: var(--brand-purple);
}body .btn-info:hover,
body .btn-edit:hover,
body .btn-outline-primary:hover,
body .btn-outline-info:hover,
body .btn-outline-secondary:hover,
body .btn-outline-dark:hover {
    background-color: var(--brand-purple); border-color: var(--brand-purple); color: var(--brand-white); text-decoration: none;
}
/* Destructive row action: outlined purple (trash icon carries the meaning), fills on hover */
body .btn-delete {
    background-color: var(--brand-white); border-color: var(--brand-purple); color: var(--brand-purple);
}body .btn-delete:hover { background-color: var(--brand-purple); color: var(--brand-white); text-decoration: none; }body .btn-link { color: var(--brand-purple); }body .btn:disabled,
body .btn.disabled { opacity: .55; }


/* Row action icons (view / edit / delete): beat the generic "table link" colour so the icon stays visible */
body .table a.btn-view, body .table a.btn-view .fa, body a.btn-view, body a.btn-view .fa { color: var(--brand-white) !important; }
body .table a.btn-edit, body .table a.btn-edit .fa, body a.btn-edit, body a.btn-edit .fa,
body .table a.btn-delete, body .table a.btn-delete .fa, body a.btn-delete, body a.btn-delete .fa { color: var(--brand-purple) !important; }
body a.btn-view { background: var(--brand-purple); border: 1px solid var(--brand-purple); }
body a.btn-edit, body a.btn-delete { background: var(--brand-white); border: 1px solid var(--brand-purple); }
body a.btn-view:hover { background: var(--brand-green); border-color: var(--brand-green); }
body a.btn-view:hover .fa, body .table a.btn-view:hover .fa { color: var(--color-on-accent) !important; }
body a.btn-edit:hover, body a.btn-delete:hover { background: var(--brand-purple); }
body a.btn-edit:hover .fa, body a.btn-delete:hover .fa, body .table a.btn-edit:hover .fa, body .table a.btn-delete:hover .fa { color: var(--brand-white) !important; }

/* ============================================================== FORMS */
label, .control-label { font-weight: var(--fw-semibold); color: var(--color-text); }
.form-control, .custom-select, .select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    font-family: var(--font-family);
    font-size: var(--fs-sm);
    line-height: var(--lh-body);
    color: var(--color-text);
    background-color: var(--brand-white);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    box-shadow: none;
}
.form-control::placeholder { color: var(--text-muted); opacity: 1; font-size: var(--fs-xs); }
/* One small size (--fs-xs) for every field and placeholder, admin and client (beats Bootstrap's 1rem and per-page overrides) */
body .form-control, body select.form-control, body .custom-select, body input[type="file"].form-control,
body .form-control::placeholder, body .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: var(--fs-xs) !important;
}
.form-control:focus, .custom-select:focus, .select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--brand-purple); box-shadow: var(--focus-ring); outline: 0;
}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control { background-color: var(--surface-subtle); }
.form-control.is-invalid, .has-error .form-control { border-color: var(--brand-purple); box-shadow: inset 4px 0 0 var(--brand-purple); }
.invalid-feedback, .help-block, .text-danger, .has-error .help-block { color: var(--brand-purple) !important; font-weight: var(--fw-semibold); }
.input-group-addon, .input-group-text { background: var(--surface-subtle); border-color: var(--border-strong); color: var(--color-text); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--brand-purple); }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--brand-purple); color: var(--brand-white); }
.select2-container--default .select2-selection--multiple .select2-selection__choice { background: var(--tint-purple-10); border: 1px solid var(--border-strong); color: var(--brand-purple); }
.datepicker table tr td.active, .datepicker table tr td.active:hover, .datepicker table tr td.active.active,
.datepicker table tr td span.active, .datepicker table tr td span.active:hover { background: var(--brand-purple) !important; color: var(--brand-white) !important; border-color: var(--brand-purple) !important; }
.datepicker table tr td.today, .datepicker table tr td.today:hover { background: var(--brand-green) !important; color: var(--color-on-accent) !important; }

/* ============================================================== CARDS / BOXES */
.card, .box, .info-box, .small-box, .panel, .well {
    background: var(--brand-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: none;
    color: var(--color-text);
}
.card-header, .box-header, .panel-heading {
    background: var(--brand-white);
    border-bottom: 1px solid var(--border-color);
    border-top-left-radius: var(--radius-md); border-top-right-radius: var(--radius-md);
    color: var(--color-text);
}
.card-title, .box-title { font-weight: var(--fw-heading); color: var(--color-text); }
.card-footer, .box-footer { background: var(--surface-subtle); border-top: 1px solid var(--border-color); }
.box.box-primary, .box.box-info, .box.box-success, .box.box-warning, .box.box-danger,
.card-primary, .card-info, .card-success, .card-warning, .card-danger { border-top: 3px solid var(--brand-green); }
.callout, .callout.callout-info, .callout.callout-warning, .callout.callout-danger, .callout.callout-success {
    background: var(--tint-purple-05) !important; color: var(--color-text) !important;
    border: 1px solid var(--border-color); border-left: 5px solid var(--brand-purple); border-radius: var(--radius-sm);
}
.callout.callout-success { border-left-color: var(--brand-green); }

/* Page titles: purple heading with the brand's short green rule underneath */
.content-header > h1, .page-title { position: relative; padding-bottom: var(--space-3); font-size: var(--fs-lg); font-weight: var(--fw-heading); color: var(--color-text); }
.content-header > h1::after, .page-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; background: var(--brand-green); border-radius: 2px; }

/* ============================================================== TABLES */
.table { color: var(--color-text); font-size: var(--fs-xs); }
.table thead th, .table > thead > tr > th {
    background: var(--tint-purple-10); color: var(--brand-purple);
    border-bottom: 2px solid var(--tint-purple-25); font-weight: var(--fw-semibold);
}
.table thead th a, .table thead th i { color: inherit; }
.table td, .table th { border-color: var(--border-color); }
.table-striped tbody tr:nth-of-type(odd), .table-striped > tbody > tr:nth-of-type(odd) { background-color: var(--surface-subtle); }
.table-hover tbody tr:hover, .table-hover > tbody > tr:hover { background-color: var(--tint-green-15); }
.table-bordered, .table-bordered td, .table-bordered th { border-color: var(--border-color); }
.dataTables_wrapper .dataTables_filter input, .dataTables_wrapper .dataTables_length select { border: 1px solid var(--border-strong); border-radius: var(--radius-sm); }
.dataTables_wrapper .dataTables_info { color: var(--text-muted); font-size: var(--fs-xs); }
.dt-button, .dt-buttons .btn { background: var(--brand-green) !important; border-color: var(--brand-green) !important; color: var(--color-on-accent) !important; }
.dt-button:hover, .dt-buttons .btn:hover { background: var(--brand-purple) !important; border-color: var(--brand-purple) !important; color: var(--brand-white) !important; }

/* ============================================================== NAV / HEADER / SIDEBAR / FOOTER */
/* Header is a white surface (as before), so it carries the purple-tag logo; the sidebar is purple. */
#admin_panel .navbar, .skin-blue .main-header .navbar, .skin-blue .main-header .logo, .main-header .navbar, .main-header .logo,
.skin-blue .main-header .logo:hover { background: var(--brand-white); border: 0; }
.main-header { border-bottom: 1px solid var(--border-color); }
.skin-blue .main-header .navbar .sidebar-toggle, .skin-blue .main-header .navbar .nav > li > a, .main-header .navbar .nav > li > a { color: var(--brand-purple); }
.skin-blue .main-header .navbar .sidebar-toggle:hover, .skin-blue .main-header .navbar .nav > li > a:hover,
.skin-blue .main-header .navbar .nav .open > a { background: var(--tint-green-15); color: var(--brand-purple); }
.main-header .logo { display: flex; align-items: center; justify-content: center; height: var(--header-h); line-height: 1; padding: 0 var(--logo-clear); }
.main-header .logo a { display: flex; align-items: center; justify-content: center; height: 100%; }
.main-header .logo img.brand-logo { height: 48px; width: auto; min-width: var(--logo-min-width); display: block; object-fit: contain; }
.main-header .navbar { min-height: var(--header-h); }
.main-header .navbar .sidebar-toggle { height: var(--header-h); display: flex; align-items: center; padding: 0 var(--space-4); }
.main-header .navbar-custom-menu > .navbar-nav > li > a, .main-header .navbar-right > li > a { padding-top: calc((var(--header-h) - 20px) / 2); padding-bottom: calc((var(--header-h) - 20px) / 2); line-height: 20px; }
/* Header and sidebar stay in place while the page content scrolls; a long menu scrolls inside the sidebar. */
.main-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1030; }
.content-wrapper, .right-side { padding-top: var(--header-h); }   /* the fixed header no longer takes space in the flow */
.main-sidebar, .left-side {
    position: fixed; top: 0; bottom: 0; left: 0; height: 100vh; min-height: 0;
    padding-top: var(--header-h); overflow-y: auto; overscroll-behavior: contain; z-index: 810;
}
@media (max-width: 767px) {
    /* single-row header on phones so the fixed bar does not eat the screen */
    .main-header { display: flex; }
    .main-header .logo { width: auto !important; flex: 0 0 auto; float: none; }
    .main-header .navbar { width: auto !important; flex: 1 1 auto; float: none; margin: 0 !important; }
    .main-header .navbar-custom-menu { margin-left: auto; }
}
.sidebar-mini.sidebar-collapse .main-header .logo img.brand-logo { display: none; }   /* collapsed rail is 50px: too narrow for the logo */

.skin-blue .main-sidebar, .skin-blue .left-side, .main-sidebar { background: var(--brand-purple); }
.skin-blue .sidebar a, .skin-blue .sidebar-menu > li > a, .skin-blue .sidebar-menu > li > a > .fa { color: var(--brand-white); font-weight: var(--fw-medium); }
.skin-blue .sidebar-menu > li:hover > a, .skin-blue .sidebar-menu > li.active > a, .skin-blue .sidebar-menu > li.menu-open > a {
    background: var(--brand-green); color: var(--color-on-accent); border-left-color: var(--brand-green);
}
.skin-blue .sidebar-menu > li:hover > a > .fa, .skin-blue .sidebar-menu > li.active > a > .fa { color: var(--color-on-accent); }
.skin-blue .sidebar-menu > li > .treeview-menu { background: var(--brand-purple); margin: 0; }
.skin-blue .treeview-menu > li > a { color: var(--brand-white); opacity: .9; }
.skin-blue .treeview-menu > li.active > a, .skin-blue .treeview-menu > li > a:hover { color: var(--brand-green); opacity: 1; }
.skin-blue .sidebar-menu > li.header { background: var(--brand-purple); color: var(--brand-grey); }
.content-wrapper, .right-side, .skin-blue .wrapper { background: var(--brand-white); }
.main-footer { background: var(--brand-white); border-top: 1px solid var(--border-color); color: var(--color-text); font-size: var(--fs-xs); }

.nav-tabs > li > a, .nav-tabs .nav-link { color: var(--brand-purple); font-weight: var(--fw-semibold); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.nav-tabs > li.active > a, .nav-tabs .nav-link.active { color: var(--brand-purple); border-bottom: 3px solid var(--brand-green); background: var(--brand-white); }
.nav-pills > li.active > a, .nav-pills .nav-link.active { background: var(--brand-purple); color: var(--brand-white); }
.pagination > li > a, .page-link { color: var(--brand-purple); border-color: var(--border-color); }
.pagination > .active > a, .page-item.active .page-link { background: var(--brand-purple); border-color: var(--brand-purple); color: var(--brand-white); }
.pagination > li > a:hover, .page-link:hover { background: var(--brand-green); border-color: var(--brand-green); color: var(--color-on-accent); }
.dropdown-menu { border: 1px solid var(--border-color); border-radius: var(--radius-md); box-shadow: var(--shadow-pop); }
.dropdown-menu > li > a, .dropdown-item { color: var(--color-text); }
.dropdown-menu > li > a:hover, .dropdown-item:hover { background: var(--tint-green-15); color: var(--color-text); }
.modal-content { border: 0; border-radius: var(--radius-md); box-shadow: var(--shadow-pop); }
.modal-header { background: var(--brand-purple); color: var(--brand-white); border-bottom: 0; border-top-left-radius: var(--radius-md); border-top-right-radius: var(--radius-md); }
.modal-header .modal-title, .modal-header .close { color: var(--brand-white); opacity: 1; text-shadow: none; }
.modal-footer { border-top: 1px solid var(--border-color); }

/* ============================================================== ALERTS / BADGES / PROGRESS */
.alert { border-radius: var(--radius-sm); border: 1px solid var(--border-color); border-left-width: 5px; color: var(--color-text) !important; }
.alert-success, .alert-info, .alert-primary { background-color: var(--tint-green-15) !important; border-color: var(--brand-green) !important; }
.alert-warning, .alert-danger, .alert-error { background-color: var(--tint-purple-10) !important; border-color: var(--brand-purple) !important; }
.alert h4, .alert .icon, .alert a { color: var(--brand-purple) !important; }
.alert .close { color: var(--color-text); opacity: .7; text-shadow: none; }
.badge, .label { font-family: var(--font-family); font-weight: var(--fw-semibold); border-radius: 999px; }
.badge-primary, .badge-dark, .label-primary, .label-info, .bg-blue, .bg-light-blue, .bg-navy { background: var(--brand-purple) !important; color: var(--brand-white) !important; }
.badge-success, .label-success, .bg-green, .bg-olive, .bg-teal { background: var(--brand-green) !important; color: var(--color-on-accent) !important; }
.badge-secondary, .badge-warning, .badge-danger, .badge-info, .badge-light, .label-warning, .label-danger, .label-default,
.bg-red, .bg-yellow, .bg-orange, .bg-aqua, .bg-gray { background: var(--brand-grey) !important; color: var(--brand-purple) !important; }
.progress-bar, .progress-bar-primary { background-color: var(--brand-purple); }
.progress-bar-success { background-color: var(--brand-green); }
.text-red, .text-danger, .text-yellow, .text-orange { color: var(--brand-purple) !important; }
.text-green, .text-success { color: var(--brand-purple) !important; }
.text-aqua, .text-blue, .text-light-blue, .text-primary { color: var(--brand-purple) !important; }
hr { border-top-color: var(--border-color); }

/* ============================================================== STRAY BOOTSTRAP / ADMINLTE BLUES */
.bg-primary, .bg-info, .bg-dark { background-color: var(--brand-purple) !important; color: var(--brand-white) !important; }
.bg-success, .bg-warning, .bg-danger, .bg-secondary, .bg-light { background-color: var(--brand-grey) !important; color: var(--brand-purple) !important; }
.border-primary, .border-info { border-color: var(--brand-purple) !important; }
.custom-control-input:checked ~ .custom-control-label::before { background-color: var(--brand-purple); border-color: var(--brand-purple); }
.list-group-item.active { background: var(--brand-purple); border-color: var(--brand-purple); color: var(--brand-white); }
.breadcrumb > li > a, .breadcrumb-item a { color: var(--brand-purple); }
.breadcrumb-item.active, .breadcrumb > .active { color: var(--text-muted); }
::selection { background: var(--brand-green); color: var(--brand-purple); }
.sweet-alert .sa-confirm-button-container .confirm, .swal2-confirm { background-color: var(--brand-purple) !important; color: var(--brand-white) !important; border-radius: var(--radius-sm) !important; }
.sweet-alert h2, .swal2-title { color: var(--brand-purple); font-family: var(--font-family); }

/* ============================================================== LOGO (ShipCycle) */
/* Dark/purple surfaces use shipcycle-logo-on-dark.png; white surfaces use shipcycle-logo-on-light.png.
   Never stretch it, never recolour it, keep --logo-clear of empty space around it, and never go below --logo-min-width. */
.brand-logo { display: inline-block; height: auto; min-width: var(--logo-min-width); max-width: 100%; object-fit: contain; }
.brand-logo-wrap { display: inline-flex; padding: var(--logo-clear); }

@media print { .main-header, .main-sidebar { display: none; } }

/* ============================================================== SCROLLBARS (slim) */
html, body, .main-sidebar, .sidebar, .table-responsive, .dropdown-menu, .modal, .colvis-list, .select2-results__options {
    scrollbar-width: thin;
    scrollbar-color: var(--tint-purple-25) transparent;
}
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--tint-purple-25); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-purple); }
.main-sidebar { scrollbar-color: color-mix(in srgb, var(--brand-white) 35%, transparent) transparent; }
.main-sidebar::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--brand-white) 35%, transparent); }
.main-sidebar::-webkit-scrollbar-thumb:hover { background: var(--brand-green); }
