@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap');

.impersonate-sticky-info,
body.skin-blue .impersonate-sticky-info,
body.skin-blue.dark .impersonate-sticky-info {
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    z-index: 9999;
    max-width: 520px;
    color: #ffffff;
    background-color: #111827;
    padding: 8px 14px;
    border: 1px solid #1f2937;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    font-weight: 500;
}

/* On mobile, dock the impersonation banner to the bottom so it doesn't
   cover the page header / breadcrumb at the top of the viewport. */
@media (max-width: 767px) {
    .impersonate-sticky-info,
    body.skin-blue .impersonate-sticky-info,
    body.skin-blue.dark .impersonate-sticky-info {
        top: auto !important;
        bottom: 10px !important;
        left: 10px !important;
        right: 10px !important;
        max-width: none !important;
        font-size: 13px !important;
        padding: 8px 12px !important;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.25) !important;
    }
}
.impersonate-sticky-info hr,
body.skin-blue .impersonate-sticky-info hr,
body.skin-blue.dark .impersonate-sticky-info hr {
    padding: 0;
    margin: 4px 0;
    color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.25);
    border: 0;
}

.impersonate-sticky-info a,
.impersonate-sticky-info a:hover,
body.skin-blue .impersonate-sticky-info a,
body.skin-blue .impersonate-sticky-info a:hover {
    color: #ffffff;
    font-weight: bold;
    text-decoration: underline;
}

.subscribers-table {
    overflow-x: scroll;
}

.subscribers-table table {
    margin-bottom: 0px;
    padding-bottom:0px;
}

.subscribers-table table td, .subscribers-table table th {
    max-width:300px;
}

.panel-tiny {float:left; max-width: 190px;margin-right:10px}
.panel-tiny .panel-heading {}
.panel-tiny .panel-body {min-height:70px; font-size: 12px}
.panel-tiny .panel-footer {}
.panel-tiny .panel-heading h3 {font-size: 14px; margin:0; padding:0}

#csv-import {}
#csv-import .counters {font-size:12px;}
#csv-import .counters .total-processed {font-weight:bold;}
#csv-import .counters .total {font-weight:bold;}
#csv-import .counters .success {font-weight:bold;}
#csv-import .counters .error {font-weight:bold;}
#csv-import .counters .percentage {font-weight:bold;}
#csv-import .alert{margin:0; padding:1px; margin-bottom:2px; font-size:12px}
#csv-import .log-info {}
#csv-import .log-errors {max-height: 460px; overflow-y: scroll}
#csv-import .progress {margin-bottom:2px;}

#csv-export {}
#csv-export .counters {font-size:12px;}
#csv-export .counters .total-processed {font-weight:bold;}
#csv-export .counters .total {font-weight:bold;}
#csv-export .counters .success {font-weight:bold;}
#csv-export .counters .error {font-weight:bold;}
#csv-export .counters .percentage {font-weight:bold;}
#csv-export .alert{margin:0; padding:1px; margin-bottom:2px; font-size:12px}
#csv-export .log-info {}
#csv-export .log-errors {max-height: 460px; overflow-y: scroll}
#csv-export .progress {margin-bottom:2px;}

.btn-spinner-xs-right {
    display:none;
    width:16px;
    height:16px;
    background:url(../img/grid-view-loading.gif);
    margin-right: 5px;
    margin-left: 5px;
    margin-top: 3px;
}
.btn-spinner-xs-right.active {
    display:block;
}

.subscribers-table .counter{
    font-size: 12px;
}

#Campaign_send_at.spinner {
    background-image: url(../img/grid-view-loading.gif);
    background-position: right center;
    background-repeat: no-repeat;
}

.panel-delivery-servers-pool .form-group .item,
.panel-campaign-attachments .form-group .item {
    border-left: 5px solid #1f2937;
    background: #eeeeee;
    padding: 3px;
    font-size: 13px;
    font-family: 'Noto Sans', sans-serif;
}

.MultiFile-list {
    padding-top:10px;
    font-family: 'Noto Sans', sans-serif;
    padding-bottom:20px;
}

header .dropdown-menu .menu h3 small.percentage {
    color:#000000!important;
    font-size:80%;
    font-family:Arial, Helvetica, sans-serif;
}

.price-plan-box-wrapper .box .box-header .box-title {
    padding: 10px 0px 5px 10px!important;
}

.price-plan-box-wrapper .box .box-header > .pull-right {
    padding: 10px 10px 5px 5px;
}

.price-plan-payment {
    position: relative;
    /* width: 90%; */
    /* margin: 10px auto; */
    background: #fff;
    border: 1px solid #f4f4f4;
    padding:10px;
}

.timeinfo {
    font-size: 12px;
    display:none;
    color:#ffffff;
    border-top: 1px solid #2c3b41;
    width: 100%;
    padding: 7px 10px 7px 6px;
}

.list-subscriber-actions-scrollbox { height: 175px; overflow-y:scroll}
.list-subscriber-actions-scrollbox .list-group-item {padding: 4px 7px 2px 7px;}

#emoji-list {
    width: 100%;
    display:none;
}

#emoji-list-wrapper {
    width:100%;
    max-height: 200px;
    overflow-y: scroll;
    font-size: 18px;
}

#emoji-list span {
    cursor: pointer;
    margin: 3px;
}

.list-fields-buttons a {
    margin-top: 5px;
    margin-bottom: 5px;
    min-width: 220px;
    text-align: left;
}

.survey-fields-buttons a {
    margin-top: 5px;
    margin-bottom: 5px;
    min-width: 220px;
    text-align: left;
}

.campaign-abtest-testers-wrapper .nav.nav-tabs {
    margin-bottom: 0;
}

.campaign-abtest-testers-wrapper .tab-content .box {
    box-shadow: none;
    -moz-box-shadow: none;
    border-radius: 0;
    border: 1px solid #f4f4f4;
    border-top: 0;
}

.warmup-plans-scrollable-container {
    max-height: 400px;
    overflow-y: scroll
}

/* ─── SenderWiz modern sidebar (GoPanel-style) ───────────── */
body.skin-blue .main-sidebar,
body.skin-blue .left-side {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-right: 1px solid #e5e7eb;
    font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    padding-top: 0 !important;
    top: 0 !important;
}
@media (min-width: 768px) {
    body.skin-blue .main-sidebar,
    body.skin-blue .left-side {
        position: fixed !important;
        height: 100vh !important;
    }
}
body.skin-blue .main-sidebar .sidebar {
    background: #ffffff !important;
    background-color: #ffffff !important;
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    min-height: 0;
    padding-bottom: 0 !important;
    overflow: hidden;
}
body.skin-blue .main-sidebar .sidebar > .sidebar-menu {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

/* Brand area — logo + app name, left-aligned, fixed height, divider */
body.skin-blue .main-sidebar .sw-brand {
    height: 56px;
    padding: 0 16px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 5;
    flex-shrink: 0;
}
body.skin-blue .main-sidebar .sw-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    min-width: 0;
}
body.skin-blue .main-sidebar .sw-brand-logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 6px;
}
body.skin-blue .main-sidebar .sw-brand-name {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Floating collapse toggle — sits on the right divider line, vertically centered */
body.skin-blue .main-sidebar { position: relative; }
body.skin-blue .main-sidebar .sw-sidebar-toggle {
    position: absolute;
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    z-index: 1040;
    transition: box-shadow 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
body.skin-blue .main-sidebar .sw-sidebar-toggle:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    color: #111827;
    border-color: #9ca3af;
}
body.skin-blue .main-sidebar .sw-sidebar-toggle i {
    font-size: 13px;
    line-height: 1;
    transition: transform 0.2s ease;
}
body.skin-blue.sidebar-collapse .main-sidebar .sw-sidebar-toggle i {
    transform: rotate(180deg);
}

/* ── Collapsed state: show only logo in brand, hide app name ── */
body.skin-blue.sidebar-collapse .main-sidebar .sw-brand {
    padding: 0;
    justify-content: center;
    overflow: hidden;
}
body.skin-blue.sidebar-collapse .main-sidebar .sw-brand-link {
    justify-content: center;
    gap: 0;
    width: 100%;
}
body.skin-blue.sidebar-collapse .main-sidebar .sw-brand-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
}
body.skin-blue.sidebar-collapse .main-sidebar .sw-brand-name {
    display: none;
}

/* ── Collapsed state: center icons, tighter padding ── */
body.skin-blue.sidebar-collapse .main-sidebar .sidebar-menu {
    padding: 12px 6px;
    overflow: visible;
}
body.skin-blue.sidebar-collapse .main-sidebar .sidebar {
    overflow: visible !important;
}
body.skin-blue.sidebar-collapse .main-sidebar {
    overflow: visible;
}
body.skin-blue.sidebar-collapse .main-sidebar .sidebar-menu > li {
    position: relative;
}
body.skin-blue.sidebar-collapse .main-sidebar .sidebar-menu > li > a {
    justify-content: center;
    padding: 10px 0;
    gap: 0;
    overflow: visible;
}
body.skin-blue.sidebar-collapse .main-sidebar .sidebar-menu > li > a > span {
    display: none;
}
body.skin-blue.sidebar-collapse .main-sidebar .sidebar-menu > li:hover > a > span {
    display: inline-block;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 12px;
    padding: 6px 12px;
    background: #111827;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    pointer-events: none;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
}
/* Left-pointing arrow — small CSS triangle, flush against the pill's left edge */
body.skin-blue.sidebar-collapse .main-sidebar .sidebar-menu > li:hover > a::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    margin-left: 8px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 4px solid #111827;
    z-index: 1051;
    pointer-events: none;
}
/* Collapsed-state flyout submenu: show real submenu items on hover, with
   the parent's name as a header above the submenu panel. The header and
   submenu share a fixed width and stack flush so they read as a single
   panel. The ::before bridges keep the cursor inside <li>:hover while it
   crosses the 8px visual gap between the icon column and the panel. */
body.skin-blue.sidebar-collapse .main-sidebar .sidebar-menu > li.treeview:hover > a > span {
    display: inline-block;
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 8px;
    padding: 10px 14px;
    width: 220px;
    min-width: 220px;
    max-width: 220px;
    background: #ffffff;
    color: #111827 !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.25;
    border: 1px solid #e5e7eb;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    box-sizing: border-box;
    white-space: nowrap;
    z-index: 1051;
    flex: 0 0 auto !important;
    transform: none;
    /* Override the generic non-treeview tooltip rule's `pointer-events: none`
       so hovering this header keeps <li>:hover engaged and the popout open. */
    pointer-events: auto;
}
/* Invisible bridge: extends the <li>'s hover catchment into the 8px visual
   gap so the cursor doesn't lose <li>:hover while crossing it. */
body.skin-blue.sidebar-collapse .main-sidebar .sidebar-menu > li.treeview:hover::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 8px;
    background: transparent;
    z-index: 1052;
}
body.skin-blue.sidebar-collapse .main-sidebar .sidebar-menu > li.treeview:hover > a > span::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: -1px;
    left: -8px;
    width: 8px;
    background: transparent;
}
body.skin-blue.sidebar-collapse .main-sidebar .sidebar-menu > li.treeview:hover > a::after {
    display: none;
}
body.skin-blue.sidebar-collapse .main-sidebar .sidebar-menu > li.treeview > .treeview-menu {
    display: none !important;
    position: absolute;
    left: 100%;
    /* Sits exactly under the header (header height ≈ 40px), with a 1px
       overlap so the borders merge into a single line. */
    top: 39px;
    /* !important needed to beat the general `.treeview-menu { margin: 0 !important }`
       rule that ships with the layout. */
    margin-left: 8px !important;
    width: 220px;
    min-width: 220px;
    max-width: 220px;
    background: #ffffff !important;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 6px !important;
    box-sizing: border-box;
    z-index: 1050;
}
body.skin-blue.sidebar-collapse .main-sidebar .sidebar-menu > li.treeview > .treeview-menu::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -8px;
    width: 8px;
    background: transparent;
}
body.skin-blue.sidebar-collapse .main-sidebar .sidebar-menu > li.treeview:hover > .treeview-menu {
    display: block !important;
}
body.skin-blue.sidebar-collapse .main-sidebar .sidebar-menu > li.treeview > .treeview-menu > li > a {
    white-space: nowrap;
}

/* Sidebar menu container — fills flex to push profile to bottom */
body.skin-blue .main-sidebar .sidebar-menu {
    padding: 16px;
    background: #ffffff !important;
    font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    flex: 1 1 auto;
    overflow-y: auto;
}

/* Menu links — GoBilling sizing (text-sm font-medium, px-3 py-2.5, rounded-lg) */
body.skin-blue .main-sidebar .sidebar-menu > li > a,
body.skin-blue.dark .main-sidebar .sidebar-menu > li > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin: 2px 0;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-left: none !important;
    border-radius: 8px;
    color: #4b5563 !important;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.15s ease, color 0.15s ease;
}
body.skin-blue .main-sidebar .sidebar-menu > li > a > .nav-icon,
body.skin-blue.dark .main-sidebar .sidebar-menu > li > a > .nav-icon {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
    color: #4b5563;
    stroke: currentColor;
    margin: 0;
}
body.skin-blue .main-sidebar .sidebar-menu > li.active > a > .nav-icon,
body.skin-blue .main-sidebar .sidebar-menu > li > a:hover > .nav-icon {
    color: #111827;
}
body.skin-blue .main-sidebar .sidebar-menu > li > a > span {
    flex: 1;
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: inherit !important;
}

/* Hover */
body.skin-blue .main-sidebar .sidebar-menu > li > a:hover,
body.skin-blue.dark .main-sidebar .sidebar-menu > li > a:hover {
    background: #f9fafb !important;
    background-color: #f9fafb !important;
    color: #111827 !important;
}

/* Active */
body.skin-blue .main-sidebar .sidebar-menu > li.active > a,
body.skin-blue .main-sidebar .sidebar-menu > li.active:hover > a,
body.skin-blue.dark .main-sidebar .sidebar-menu > li.active > a,
body.skin-blue.dark .main-sidebar .sidebar-menu > li.active:hover > a {
    background: #f3f4f6 !important;
    background-color: #f3f4f6 !important;
    color: #111827 !important;
    font-weight: 600;
}
body.skin-blue .main-sidebar .sidebar-menu > li.active > a > i,
body.skin-blue .main-sidebar .sidebar-menu > li.active > a > .fa {
    color: #111827 !important;
}

/* Chevron for items with submenus */
body.skin-blue .main-sidebar .sidebar-menu > li > a > .pull-right-container {
    display: none;
}

/* Submenu (treeview) — white bg, black text, indented bullets */
body.skin-blue .main-sidebar .sidebar-menu .treeview-menu,
body.skin-blue.dark .main-sidebar .sidebar-menu .treeview-menu {
    background: #ffffff !important;
    background-color: #ffffff !important;
    padding: 2px 0 4px 0;
}
body.skin-blue .main-sidebar .sidebar-menu .treeview-menu > li > a,
body.skin-blue.dark .main-sidebar .sidebar-menu .treeview-menu > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px 7px 40px;
    margin: 1px 0;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-radius: 8px;
    color: #374151 !important;
    font-size: 13px;
    font-weight: 500;
}
body.skin-blue .main-sidebar .sidebar-menu .treeview-menu > li > a:hover {
    background: #f4f5f7 !important;
    background-color: #f4f5f7 !important;
    color: #111418 !important;
}
body.skin-blue .main-sidebar .sidebar-menu .treeview-menu > li.active > a {
    background: #eef0f3 !important;
    background-color: #eef0f3 !important;
    color: #111418 !important;
    font-weight: 600;
}
body.skin-blue .main-sidebar .sidebar-menu .treeview-menu > li > a > i,
body.skin-blue .main-sidebar .sidebar-menu .treeview-menu > li > a > .fa {
    color: #9ca3af !important;
    font-size: 7px !important;
}
body.skin-blue .main-sidebar .sidebar-menu .treeview-menu > li.active > a > i,
body.skin-blue .main-sidebar .sidebar-menu .treeview-menu > li.active > a > .fa {
    color: #111418 !important;
}

/* Hide the entire top white navbar (hamburger + icons) */
/* Top header bar — white, thin border, profile menu pushed right */
body.skin-blue .main-header {
    display: block !important;
    font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
body.skin-blue .main-header .navbar {
    background: #ffffff !important;
    height: 56px;
    min-height: 56px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
    box-shadow: none;
}
body.skin-blue .main-header .navbar-custom-menu {
    float: right;
}
body.skin-blue .main-header .navbar-custom-menu > .nav > li > a {
    color: #4b5563;
    padding: 18px 14px;
}
body.skin-blue .main-header .navbar-custom-menu > .nav > li > a:hover,
body.skin-blue .main-header .navbar-custom-menu > .nav > li > a:focus {
    background: #f3f4f6;
    color: #111827;
}
body.skin-blue .main-header .sidebar-toggle {
    color: #4b5563;
    padding: 18px 14px;
}
body.skin-blue .main-header .sidebar-toggle:hover {
    background: #f3f4f6;
    color: #111827;
}

/* Move breadcrumb to the left, slightly larger */
body.skin-blue .content-header > .breadcrumb {
    float: left !important;
    right: auto !important;
    left: 15px !important;
    font-size: 15px !important;
}

/* Primary buttons — dark slate instead of blue */
body.skin-blue .btn-primary,
body.skin-blue.dark .btn-primary {
    background-color: #1f2937 !important;
    border-color: #1f2937 !important;
    color: #ffffff !important;
}
body.skin-blue .btn-primary:hover,
body.skin-blue .btn-primary:focus,
body.skin-blue .btn-primary:active,
body.skin-blue .btn-primary.active,
body.skin-blue .open .dropdown-toggle.btn-primary,
body.skin-blue.dark .btn-primary:hover,
body.skin-blue.dark .btn-primary:focus,
body.skin-blue.dark .btn-primary:active,
body.skin-blue.dark .btn-primary.active {
    background-color: #111827 !important;
    border-color: #111827 !important;
    color: #ffffff !important;
}
body.skin-blue .btn-primary[disabled],
body.skin-blue .btn-primary.disabled {
    background-color: #4b5563 !important;
    border-color: #4b5563 !important;
    opacity: 0.65;
}

/* Links — black instead of blue (breadcrumb, inline links) */
body.skin-blue .content-wrapper a,
body.skin-blue .content-wrapper a:visited {
    color: #111827;
}
body.skin-blue .content-wrapper a:hover,
body.skin-blue .content-wrapper a:focus {
    color: #000000;
    text-decoration: underline;
}
body.skin-blue .content-header > .breadcrumb > li > a,
body.skin-blue .content-header > .breadcrumb > li > a:visited {
    color: #111827 !important;
    font-weight: 500;
}
body.skin-blue .content-header > .breadcrumb > li.active,
body.skin-blue .content-header > .breadcrumb > li.active > a {
    color: #6b7280 !important;
}

/* Keep button text white — don't let the link rule override it */
body.skin-blue .content-wrapper .btn,
body.skin-blue .content-wrapper .btn:hover,
body.skin-blue .content-wrapper .btn:focus,
body.skin-blue .content-wrapper .btn-primary,
body.skin-blue .content-wrapper .btn-primary:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}
body.skin-blue .content-wrapper .btn-default,
body.skin-blue .content-wrapper .btn-default:hover {
    color: #111827 !important;
}

/* Icon-only square buttons in box-headers for: Refresh, Upload template, Overflow trigger.
   Match both `title` (pre-tooltip-init) and `data-original-title` (post-tooltip-init). */
body.skin-blue .box-header .btn[title="Refresh"],
body.skin-blue .box-header .btn[data-original-title="Refresh"],
body.skin-blue .box-header .btn[title="Upload template"],
body.skin-blue .box-header .btn[data-original-title="Upload template"],
body.skin-blue .box-header .btn[title="Import"],
body.skin-blue .box-header .btn[data-original-title="Import"],
body.skin-blue .box-header .sw-overflow-trigger {
    font-size: 0 !important;
    padding: 0 !important;
    width: 34px !important;
    height: 34px !important;
    line-height: 34px !important;
    text-align: center !important;
    vertical-align: middle;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
body.skin-blue .box-header .btn[title="Refresh"] > i,
body.skin-blue .box-header .btn[title="Refresh"] > .fa,
body.skin-blue .box-header .btn[title="Refresh"] > .glyphicon,
body.skin-blue .box-header .btn[data-original-title="Refresh"] > i,
body.skin-blue .box-header .btn[data-original-title="Refresh"] > .fa,
body.skin-blue .box-header .btn[data-original-title="Refresh"] > .glyphicon,
body.skin-blue .box-header .btn[title="Upload template"] > i,
body.skin-blue .box-header .btn[title="Upload template"] > .fa,
body.skin-blue .box-header .btn[title="Upload template"] > .glyphicon,
body.skin-blue .box-header .btn[data-original-title="Upload template"] > i,
body.skin-blue .box-header .btn[data-original-title="Upload template"] > .fa,
body.skin-blue .box-header .btn[data-original-title="Upload template"] > .glyphicon,
body.skin-blue .box-header .btn[title="Import"] > i,
body.skin-blue .box-header .btn[title="Import"] > .fa,
body.skin-blue .box-header .btn[title="Import"] > .glyphicon,
body.skin-blue .box-header .btn[data-original-title="Import"] > i,
body.skin-blue .box-header .btn[data-original-title="Import"] > .fa,
body.skin-blue .box-header .btn[data-original-title="Import"] > .glyphicon,
body.skin-blue .box-header .sw-overflow-trigger > i {
    font-size: 15px !important;
    margin: 0 !important;
}

/* Overflow dropdown menu styling */
body.skin-blue .sw-overflow-menu {
    margin-left: 6px;
}
body.skin-blue .sw-overflow-menu-list {
    padding: 6px !important;
    min-width: 220px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.10), 0 8px 10px -6px rgba(0,0,0,0.05);
}
/* Buttons pulled into the dropdown: flatten to full-width menu items */
body.skin-blue .sw-overflow-menu-list > li > .btn,
body.skin-blue .sw-overflow-menu-list > li > .dropdown > .btn,
body.skin-blue .sw-overflow-menu-list > li > .dropdown > a.btn,
body.skin-blue .sw-overflow-menu-list > li > .btn-group > .btn,
body.skin-blue .sw-overflow-menu-list > li > .btn-group > a.btn {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #111827 !important;
    font-weight: 500;
    font-size: 14px !important;
    padding: 8px 12px !important;
    border-radius: 6px;
    text-align: left;
    white-space: normal;
    justify-content: flex-start !important;
}
body.skin-blue .sw-overflow-menu-list > li > .btn:hover,
body.skin-blue .sw-overflow-menu-list > li > .dropdown > .btn:hover,
body.skin-blue .sw-overflow-menu-list > li > .btn-group > .btn:hover {
    background: #f3f4f6 !important;
    color: #111827 !important;
}
/* Override the icon-only square rule above (font-size:0; width:34px) when the
   same button is pulled into the overflow menu. The icon-only selector uses an
   attribute ([title="Import"] etc.) so it wins on specificity over the plain
   .sw-overflow-menu-list > li > .btn rule and hides the label. Re-match the
   attribute here to tie specificity and win on source order. */
body.skin-blue .sw-overflow-menu-list > li > .btn[title="Refresh"],
body.skin-blue .sw-overflow-menu-list > li > .btn[data-original-title="Refresh"],
body.skin-blue .sw-overflow-menu-list > li > .btn[title="Upload template"],
body.skin-blue .sw-overflow-menu-list > li > .btn[data-original-title="Upload template"],
body.skin-blue .sw-overflow-menu-list > li > .btn[title="Import"],
body.skin-blue .sw-overflow-menu-list > li > .btn[data-original-title="Import"] {
    font-size: 14px !important;
    padding: 8px 12px !important;
    width: 100% !important;
    height: auto !important;
    line-height: 1.5 !important;
    text-align: left !important;
    justify-content: flex-start !important;
}
body.skin-blue .sw-overflow-menu-list > li > .btn-group {
    display: block !important;
    width: 100%;
    position: relative;
}
/* Nested submenu (e.g. Toggle columns) inside the overflow menu: flyout to the left */
body.skin-blue .sw-overflow-menu-list > li > .btn-group > .dropdown-menu {
    top: 0 !important;
    right: 100% !important;
    left: auto !important;
    margin-right: 4px;
    min-width: 240px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.10), 0 8px 10px -6px rgba(0,0,0,0.05);
    padding: 6px !important;
}
body.skin-blue .sw-overflow-menu-list > li > .btn-group.open > .dropdown-menu {
    display: block !important;
}
/* Constrain icon size inside the overflow dropdown. Needed on pages where
   gb-table.css is not loaded (e.g. form/update pages without a listing). */
body.skin-blue .sw-overflow-menu-list .gb-menu-svg-icon,
body.skin-blue .sw-overflow-menu-list .fa,
body.skin-blue .sw-overflow-menu-list .glyphicon,
body.skin-blue .sw-overflow-menu-list > li > .btn > i,
body.skin-blue .sw-overflow-menu-list > li > .dropdown > .btn > i,
body.skin-blue .sw-overflow-menu-list > li > .btn-group > .btn > i {
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    stroke-width: 2;
    color: #6b7280;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    font-size: 15px !important;
    line-height: 1 !important;
}
body.skin-blue .sw-overflow-menu-list > li > .btn:hover .gb-menu-svg-icon,
body.skin-blue .sw-overflow-menu-list > li > .btn:hover > i {
    color: #111827;
}
body.skin-blue .sw-overflow-menu-list > li > .btn-group > .dropdown-toggle .caret {
    display: none !important;
}
body.skin-blue .sw-overflow-menu-list > li > .btn-group > .dropdown-toggle {
    position: relative;
    padding-right: 28px !important;
}
body.skin-blue .sw-overflow-menu-list > li > .btn-group > .dropdown-toggle::after {
    content: "\f105"; /* fa-angle-right */
    font-family: "FontAwesome";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #6b7280;
    font-weight: 400;
    line-height: 1;
}
body.skin-blue .sw-overflow-menu-list > li > .btn-group.open > .dropdown-toggle::after {
    color: #111827;
}
body.skin-blue .sw-overflow-menu-list > li > .btn > i,
body.skin-blue .sw-overflow-menu-list > li > .btn > .fa,
body.skin-blue .sw-overflow-menu-list > li > .btn > .glyphicon {
    font-size: 14px !important;
    width: 16px;
    text-align: center;
    color: #4b5563 !important;
    margin: 0 !important;
}
/* If the item wraps a .dropdown (e.g. Toggle columns), keep its sub-menu visible */
body.skin-blue .sw-overflow-menu-list .dropdown {
    width: 100%;
}
/* Toolbar icon-only buttons (Import/Upload) pulled into the overflow menu:
   the .box-header .pull-right .gb-toolbar-btn rule in gb-table.css forces a
   36x36 bordered square; undo that here so they look like flat menu rows. */
body.skin-blue .box-header .pull-right .sw-overflow-menu-list .gb-toolbar-btn,
body.skin-blue .box-header .pull-right .sw-overflow-menu-list .btn.gb-toolbar-btn {
    width: 100% !important;
    height: auto !important;
    border: none !important;
    border-radius: 6px !important;
    background: transparent !important;
    padding: 8px 12px !important;
    justify-content: flex-start !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}
body.skin-blue .box-header .pull-right .sw-overflow-menu-list .gb-toolbar-btn:hover,
body.skin-blue .box-header .pull-right .sw-overflow-menu-list .btn.gb-toolbar-btn:hover {
    background: #f3f4f6 !important;
    border-color: transparent !important;
}
/* The .gb-ico span uses mask-image and is sized 16x16 by default — keep it,
   but ensure it sits inline with the label text. */
body.skin-blue .sw-overflow-menu-list .gb-toolbar-btn .gb-ico {
    flex: 0 0 20px;
    width: 20px !important;
    height: 20px !important;
}

/* ─── New template dropdown (drag-drop-editor extension) ───────────── */
body.skin-blue .box-header .dde-new-group {
    position: relative;
    display: inline-block;
}
body.skin-blue .box-header .dde-new-group > .dropdown-menu {
    min-width: 100%;
    width: auto;
    padding: 6px !important;
    margin-top: 4px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.10), 0 8px 10px -6px rgba(0,0,0,0.05);
}
body.skin-blue .box-header .dde-new-group > .dropdown-menu > li > a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px !important;
    border-radius: 6px;
    color: #111827 !important;
    background: transparent !important;
    font-weight: 500;
    font-size: 14px !important;
    white-space: nowrap;
}
body.skin-blue .box-header .dde-new-group > .dropdown-menu > li > a:hover,
body.skin-blue .box-header .dde-new-group > .dropdown-menu > li > a:focus {
    background: #f3f4f6 !important;
    color: #111827 !important;
}
body.skin-blue .box-header .dde-new-group > .dropdown-menu > li > a > i,
body.skin-blue .box-header .dde-new-group > .dropdown-menu > li > a > .fa,
body.skin-blue .box-header .dde-new-group > .dropdown-menu > li > a > .glyphicon {
    font-size: 14px !important;
    width: 16px;
    text-align: center;
    color: #4b5563 !important;
    margin: 0 !important;
}

/* Dashboard big counter numbers — black, not blue */
body.skin-blue .content-wrapper .box .big-text,
body.skin-blue .content-wrapper .box h1,
body.skin-blue .content-wrapper .box h2.big,
body.skin-blue .content-wrapper .info-box-number,
body.skin-blue .content-wrapper .description-block .description-header {
    color: #111827 !important;
}
body.skin-blue .content-wrapper .text-primary,
body.skin-blue .content-wrapper .text-info {
    color: #111827 !important;
}

/* ─── Sidebar notification row (above profile) ───────────── */
body.skin-blue .main-sidebar .sw-notify {
    padding: 0 16px 6px 16px;
}
body.skin-blue .main-sidebar .sw-notify-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #4b5563 !important;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none !important;
    transition: background-color 0.15s ease, color 0.15s ease;
}
body.skin-blue .main-sidebar .sw-notify-link > .sw-notify-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}
body.skin-blue .main-sidebar .sw-notify-link > .sw-notify-icon-wrap > i {
    font-size: 19px;
    line-height: 1;
    color: #4b5563 !important;
}
body.skin-blue .main-sidebar .sw-notify-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: #dc2626;
    color: #ffffff !important;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    box-shadow: 0 0 0 2px #ffffff;
}
body.skin-blue .main-sidebar .sw-notify-link:hover {
    background: #f9fafb;
    color: #111827 !important;
}
body.skin-blue.sidebar-collapse .main-sidebar .sw-notify {
    padding: 0 0 6px 0;
    text-align: center;
}
body.skin-blue.sidebar-collapse .main-sidebar .sw-notify-link {
    justify-content: center;
    padding: 10px 0;
}
body.skin-blue.sidebar-collapse .main-sidebar .sw-notify-link > span {
    display: none;
}

/* ─── Bottom profile card ─────────────────────────────────── */
body.skin-blue .main-sidebar .sw-profile {
    position: relative;
    padding: 12px;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    margin-top: auto;
    flex-shrink: 0;
}
body.skin-blue .main-sidebar .sw-profile-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
body.skin-blue .main-sidebar .sw-profile-card:hover,
body.skin-blue .main-sidebar .sw-profile-card.open {
    background: #f3f4f6;
}
body.skin-blue .main-sidebar .sw-profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
body.skin-blue .main-sidebar .sw-profile-info {
    flex: 1;
    min-width: 0;
}
body.skin-blue .main-sidebar .sw-profile-name {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
body.skin-blue .main-sidebar .sw-profile-email {
    margin: 0;
    font-size: 11px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
body.skin-blue .main-sidebar .sw-profile-chevron {
    color: #9ca3af;
    width: 16px !important;
    height: 16px !important;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
body.skin-blue .main-sidebar .sw-profile-card.open .sw-profile-chevron {
    transform: rotate(180deg);
}

/* Profile dropdown — opens upward */
body.skin-blue .main-sidebar .sw-profile-menu {
    position: absolute;
    bottom: calc(100% - 8px);
    left: 12px;
    right: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
    z-index: 100;
}
body.skin-blue .main-sidebar .sw-profile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
body.skin-blue .main-sidebar .sw-profile-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #111827 !important;
    text-decoration: none !important;
    transition: background-color 0.15s ease;
}
body.skin-blue .main-sidebar .sw-profile-menu-item > span {
    color: #111827 !important;
}
body.skin-blue .main-sidebar .sw-profile-menu-item > .nav-icon {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
    color: #111827;
    stroke: currentColor;
}
body.skin-blue .main-sidebar .sw-profile-menu-item.sw-profile-menu-signout > .nav-icon {
    color: #dc2626;
}
body.skin-blue .main-sidebar .sw-profile-menu-item.sw-profile-menu-signout > span {
    color: #dc2626 !important;
}
body.skin-blue .main-sidebar .sw-profile-menu-item:hover {
    background: #f3f4f6;
    color: #111827 !important;
}
body.skin-blue .main-sidebar .sw-profile-menu-item.sw-profile-menu-signout {
    color: #dc2626 !important;
}
body.skin-blue .main-sidebar .sw-profile-menu-item.sw-profile-menu-signout > i {
    color: #dc2626;
}
body.skin-blue .main-sidebar .sw-profile-menu-item.sw-profile-menu-signout:hover {
    background: #fef2f2;
}
body.skin-blue .main-sidebar .sw-profile-menu-sep {
    height: 1px;
    background: #e5e7eb;
    margin: 4px 0;
}

/* Collapsed sidebar: only show avatar */
body.skin-blue.sidebar-collapse .main-sidebar .sw-profile {
    padding: 12px 0;
    text-align: center;
}
body.skin-blue.sidebar-collapse .main-sidebar .sw-profile-card {
    justify-content: center;
    padding: 4px;
}
body.skin-blue.sidebar-collapse .main-sidebar .sw-profile-info,
body.skin-blue.sidebar-collapse .main-sidebar .sw-profile-chevron {
    display: none;
}

/* Collapsed: toggle stays vertically centered on the divider (same as expanded). */

/* Collapsed: profile dropdown becomes a flyout anchored to the right of the
   avatar card, aligned with its bottom edge. Pure CSS — no JS change. */
body.skin-blue.sidebar-collapse .main-sidebar .sw-profile {
    position: relative;
    overflow: visible;
}
body.skin-blue.sidebar-collapse .main-sidebar .sw-profile-menu {
    position: absolute;
    top: auto;
    bottom: 8px;
    left: calc(100% + 10px);
    right: auto;
    min-width: 200px;
    padding: 6px;
    transform: translateX(-4px);
}
body.skin-blue.sidebar-collapse .main-sidebar .sw-profile-menu.open {
    transform: translateX(0);
}
body.skin-blue.sidebar-collapse .main-sidebar .sw-profile-menu-item {
    white-space: nowrap;
}
body.skin-blue.sidebar-collapse .main-sidebar .sw-profile-menu-item > span {
    display: inline-block;
    white-space: nowrap;
}
body.skin-blue.sidebar-collapse .main-sidebar .sw-profile-menu-sep {
    display: block !important;
}

/* ─────────────────────────────────────────────────────────────
   Black-accent overrides — repaints every AdminLTE "blue" accent
   to the same slate-black used on primary buttons (#1f2937 /
   #111827). Scoped to body.skin-blue so the existing skin stays
   active but no blue hues leak through.
   ───────────────────────────────────────────────────────────── */

/* Links — anchors default to dark slate (not AdminLTE blue) */
body.skin-blue a,
body.skin-blue.dark a {
    color: #1f2937;
}
body.skin-blue a:hover,
body.skin-blue a:focus,
body.skin-blue.dark a:hover,
body.skin-blue.dark a:focus {
    color: #111827;
}

/* Bootstrap/AdminLTE "primary" text + background helpers */
body.skin-blue .text-primary,
body.skin-blue .text-blue,
body.skin-blue .text-light-blue {
    color: #1f2937 !important;
}
body.skin-blue .bg-primary,
body.skin-blue .bg-blue,
body.skin-blue .bg-light-blue,
body.skin-blue .label-primary,
body.skin-blue .label-info {
    background-color: #1f2937 !important;
    border-color: #1f2937 !important;
    color: #ffffff !important;
}

/* Callout/alert-info — light neutral with left accent stripe */
body.skin-blue .callout.callout-info,
body.skin-blue .alert-info {
    background-color: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-left: 3px solid #111827 !important;
    color: #111827 !important;
    border-radius: 6px !important;
    padding: 12px 16px !important;
    font-family: inherit !important;
}
body.skin-blue .callout.callout-info > p,
body.skin-blue .alert-info > p,
body.skin-blue .callout.callout-info a,
body.skin-blue .alert-info a {
    color: #111827 !important;
}

/* Boxes: box-primary header/border */
body.skin-blue .box.box-primary,
body.skin-blue.dark .box.box-primary {
    border-top-color: #1f2937 !important;
}
body.skin-blue .box.borderless,
body.skin-blue.dark .box.borderless,
body.skin-blue .box.box-primary.borderless,
body.skin-blue.dark .box.box-primary.borderless {
    border-top: 0 !important;
    border-top-color: transparent !important;
}
body.skin-blue .box.box-solid.box-primary,
body.skin-blue .box.box-solid.box-primary > .box-header {
    background-color: #1f2937 !important;
    border-color: #1f2937 !important;
    color: #ffffff !important;
}

/* Tabs — active/underline accent */
body.skin-blue .nav-tabs-custom > .nav-tabs > li.active,
body.skin-blue .nav-tabs-custom.tab-primary > .nav-tabs > li.active,
body.skin-blue.dark .nav-tabs-custom > .nav-tabs > li.active,
body.skin-blue.dark .nav-tabs-custom.tab-primary > .nav-tabs > li.active {
    border-top-color: #1f2937 !important;
}
body.skin-blue .nav-tabs-custom > .nav-tabs > li > a:hover,
body.skin-blue .nav-tabs-custom > .nav-tabs > li.active > a,
body.skin-blue .nav-tabs-custom > .nav-tabs > li.active > a:hover {
    color: #111827 !important;
}

/* Progress bars */
body.skin-blue .progress-bar-primary,
body.skin-blue .progress-bar-light-blue {
    background-color: #1f2937 !important;
}

/* Pagination */
body.skin-blue .pagination > .active > a,
body.skin-blue .pagination > .active > a:hover,
body.skin-blue .pagination > .active > a:focus,
body.skin-blue .pagination > .active > span {
    background-color: #1f2937 !important;
    border-color: #1f2937 !important;
    color: #ffffff !important;
}
body.skin-blue .pagination > li > a,
body.skin-blue .pagination > li > span {
    color: #1f2937;
}

/* Form controls — focus ring */
body.skin-blue .form-control:focus,
body.skin-blue .select2-container--default.select2-container--focus .select2-selection {
    border-color: #1f2937 !important;
    box-shadow: 0 0 0 2px rgba(31, 41, 55, 0.12) !important;
}

/* Checkboxes / radios (iCheck blue variant commonly used) */
body.skin-blue .icheckbox_square-blue.checked,
body.skin-blue .iradio_square-blue.checked,
body.skin-blue .icheckbox_minimal-blue.checked,
body.skin-blue .iradio_minimal-blue.checked {
    filter: grayscale(1) brightness(0.3);
}

/* Breadcrumb links */
body.skin-blue .breadcrumb > li > a {
    color: #1f2937;
}
body.skin-blue .breadcrumb > .active {
    color: #6b7280;
}

/* Any remaining .btn-info (often shown as secondary blue) */
body.skin-blue .btn-info,
body.skin-blue.dark .btn-info {
    background-color: #374151 !important;
    border-color: #374151 !important;
    color: #ffffff !important;
}
body.skin-blue .btn-info:hover,
body.skin-blue .btn-info:focus,
body.skin-blue .btn-info:active {
    background-color: #1f2937 !important;
    border-color: #1f2937 !important;
}

/* ─── Profile menu in top navbar (moved from sidebar bottom) ─────── */
body.skin-blue .main-header .navbar-custom-menu .sw-profile-nav {
    padding: 8px 10px 8px 4px;
}
body.skin-blue .main-header .sw-profile {
    position: relative;
    padding: 0;
    border: 0;
    background: transparent;
}
body.skin-blue .main-header .sw-profile-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 10px 4px 4px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
body.skin-blue .main-header .sw-profile-card:hover,
body.skin-blue .main-header .sw-profile-card.open {
    background: #f3f4f6;
}
body.skin-blue .main-header .sw-profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
body.skin-blue .main-header .sw-profile-info {
    min-width: 0;
    max-width: 180px;
    line-height: 1.2;
}
body.skin-blue .main-header .sw-profile-name {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.skin-blue .main-header .sw-profile-email {
    margin: 0;
    font-size: 11px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.skin-blue .main-header .sw-profile-chevron {
    color: #9ca3af;
    width: 16px !important;
    height: 16px !important;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
body.skin-blue .main-header .sw-profile-card.open .sw-profile-chevron {
    transform: rotate(180deg);
}
/* Dropdown opens downward, anchored to the right edge */
body.skin-blue .main-header .sw-profile-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
    z-index: 1050;
}
body.skin-blue .main-header .sw-profile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
body.skin-blue .main-header .sw-profile-menu-item,
body.skin-blue .main-header .sw-profile-menu-item:hover,
body.skin-blue .main-header .sw-profile-menu-item:focus,
body.skin-blue .main-header .sw-profile-menu-item:visited {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #111827 !important;
    text-decoration: none !important;
    transition: background-color 0.15s ease;
}
body.skin-blue .main-header .sw-profile-menu-item > span {
    color: #111827 !important;
}
body.skin-blue .main-header .sw-profile-menu-item > .nav-icon {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
    color: #111827;
    stroke: currentColor;
}
body.skin-blue .main-header .sw-profile-menu-item:hover,
body.skin-blue .main-header .sw-profile-menu-item:focus {
    background: #f3f4f6 !important;
    background-color: #f3f4f6 !important;
    color: #111827 !important;
}
body.skin-blue .main-header .sw-profile-menu-item .sw-profile-menu-extlink {
    margin-left: auto;
    width: 14px !important;
    height: 14px !important;
    color: #6b7280;
    flex-shrink: 0;
}
body.skin-blue .main-header .sw-profile-menu-item:hover > span,
body.skin-blue .main-header .sw-profile-menu-item:focus > span {
    color: #111827 !important;
}
body.skin-blue .main-header .sw-profile-menu-item.sw-profile-menu-signout,
body.skin-blue .main-header .sw-profile-menu-item.sw-profile-menu-signout > span {
    color: #dc2626 !important;
}
body.skin-blue .main-header .sw-profile-menu-item.sw-profile-menu-signout > .nav-icon {
    color: #dc2626;
}
body.skin-blue .main-header .sw-profile-menu-item.sw-profile-menu-signout:hover {
    background: #fef2f2;
}
body.skin-blue .main-header .sw-profile-menu-sep {
    height: 1px;
    background: #e5e7eb;
    margin: 4px 0;
}
/* Hide name/email on narrow screens, keep avatar only */
@media (max-width: 767px) {
    body.skin-blue .main-header .sw-profile-info,
    body.skin-blue .main-header .sw-profile-chevron {
        display: none;
    }
}

/* ---------- Modern native <select> styling (global) ----------
 * Applies the GoBilling-style dropdown look (rounded border, custom SVG
 * caret, blue focus ring) to every native <select> in the customer app —
 * form pages (create/update), modals, sidebars, anywhere a <select> appears.
 *
 * Scope: .wrapper is AdminLTE's top-level wrapper on every authenticated
 * customer page, so this covers the whole app without depending on which
 * skin (skin-blue / skin-black / …) the user has selected.
 *
 * Exclusion: .select2-hidden-accessible — Select2 wraps the native <select>
 * and hides it, but the element still exists; we skip it and style the
 * Select2 container instead (below).
 *
 * !important is needed because AdminLTE's .form-control rules and Bootstrap
 * defaults load at the same priority bucket and sometimes win on equal
 * specificity depending on source order.
 */
.wrapper select.form-control:not(.select2-hidden-accessible),
.wrapper select:not(.form-control):not(.select2-hidden-accessible) {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    padding: 8px 32px 8px 12px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    height: 38px !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 12px 12px !important;
    color: #111827 !important;
    box-shadow: none !important;
    cursor: pointer;
}
.wrapper select.form-control:not(.select2-hidden-accessible):focus,
.wrapper select:not(.form-control):not(.select2-hidden-accessible):focus {
    border-color: #2563eb !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}
.wrapper select.form-control:not(.select2-hidden-accessible):disabled,
.wrapper select:not(.form-control):not(.select2-hidden-accessible):disabled {
    background-color: #f9fafb !important;
    color: #9ca3af !important;
    cursor: not-allowed;
}
/* Smaller size variant (matches Bootstrap .input-sm usage) */
.wrapper select.form-control.input-sm:not(.select2-hidden-accessible) {
    height: 30px !important;
    padding: 4px 28px 4px 10px !important;
    font-size: 12px !important;
}

/* ---------- Modern Select2 styling (default theme) ----------
 * Many dropdowns in the app are Select2-wrapped for searchability
 * (e.g. the "List" picker on campaign forms, timezone pickers, etc.),
 * instantiated without `theme: 'gb'` so they render with Select2's default
 * look, which AdminLTE then overrides with its own gradient/old-style.
 * We restyle `.select2-container--default` here to match the modern
 * dropdown look used elsewhere, including a clean search box inside
 * the dropdown panel.
 *
 * The existing `select2-container--gb` theme in gb-table.css is unaffected
 * (different class); pages that opt-in to `theme: 'gb'` keep that look.
 */

/* When Select2 replaces a native form-control inside a Bootstrap .form-group
 * (our auto-init via app.js), make the container behave like a block-level
 * form field so it fills the column width and the label stacks above it,
 * matching the original native-<select> layout. */
.wrapper .form-group > .select2-container--default,
.wrapper .form-group .select2-container--default.select2-container {
    display: block !important;
    width: 100% !important;
}

/* Selection box (closed state) */
.wrapper .select2-container--default .select2-selection--single,
.wrapper .select2-container--default .select2-selection--multiple {
    min-height: 38px !important;
    height: auto !important;
    background: #fff !important;
    background-image: none !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.wrapper .select2-container--default.select2-container--focus .select2-selection,
.wrapper .select2-container--default.select2-container--open .select2-selection {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

/* Single selection: rendered text + arrow */
.wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px !important;
    padding: 0 32px 0 12px !important;
    color: #111827 !important;
    font-size: 14px !important;
    display: flex;
    align-items: center;
    height: 38px !important;
}
.wrapper .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6b7280 !important;
}
.wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
    width: 28px !important;
    right: 2px !important;
    top: 50% !important;
    transform: translateY(-50%);
    background: transparent !important;
    pointer-events: none;
}
.wrapper .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border: none !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 12px 12px !important;
    transition: transform .15s ease;
}
.wrapper .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    transform: translate(-50%, -50%) rotate(180deg);
}

/* Multi-select chips */
.wrapper .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 4px 8px !important;
}
.wrapper .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #1d4ed8 !important;
    border-radius: 4px !important;
    padding: 2px 8px !important;
    margin: 3px 4px 0 0 !important;
    font-size: 12px !important;
}
.wrapper .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #1d4ed8 !important;
    margin-right: 4px !important;
}

/* Dropdown panel (opens below/above the selection) */
.select2-container--default .select2-dropdown {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 6px 10px -5px rgba(0, 0, 0, 0.06) !important;
    background: #fff !important;
    overflow: hidden !important;
    margin-top: 4px;
}
.select2-container--default .select2-dropdown--above {
    margin-top: 0;
    margin-bottom: 4px;
}

/* Search box inside the dropdown */
.select2-container--default .select2-search--dropdown {
    padding: 8px !important;
    border-bottom: 1px solid #f3f4f6 !important;
    background: #fff !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    font-size: 13px !important;
    outline: none !important;
    width: 100% !important;
    box-shadow: none !important;
    height: 34px !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

/* Results list */
.select2-container--default .select2-results__options {
    padding: 4px !important;
    max-height: 360px;
    overflow-y: auto;
}
.select2-container--default .select2-results__option {
    padding: 8px 12px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    color: #111827 !important;
    line-height: 1.3 !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
}
.select2-container--default .select2-results__option[aria-selected=true] {
    background: #f3f4f6 !important;
    color: #111827 !important;
    font-weight: 500;
}
.select2-container--default .select2-results__option[aria-selected=true].select2-results__option--highlighted {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
}
.select2-container--default .select2-results__message {
    padding: 8px 12px !important;
    color: #6b7280 !important;
    font-size: 13px !important;
}

/* ============================================================
 * SW Mobile fixes (<768px)
 * Off-canvas sidebar, hamburger toggle, overflow fixes
 * ============================================================ */

@media (max-width: 767px) {
    body.skin-blue .main-sidebar,
    body.skin-blue .left-side {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        z-index: 1042 !important;
        width: 260px !important;
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.08);
        transform: translateX(-260px) !important;
        -webkit-transform: translateX(-260px) !important;
        transition: transform 0.25s ease-in-out !important;
    }
    body.skin-blue .main-sidebar .sidebar {
        height: 100vh !important;
        max-height: 100vh !important;
    }
    body.skin-blue.sidebar-open .main-sidebar,
    body.skin-blue.sidebar-open .left-side {
        transform: translateX(0) !important;
        -webkit-transform: translateX(0) !important;
    }
    body.skin-blue .content-wrapper,
    body.skin-blue .right-side,
    body.skin-blue .main-footer {
        margin-left: 0 !important;
        transform: none !important;
        -webkit-transform: none !important;
    }
    body.skin-blue .main-sidebar .sw-sidebar-toggle {
        display: none !important;
    }
    body.skin-blue.sidebar-open::after {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1041;
        animation: swSidebarFade 0.2s ease;
    }
    @keyframes swSidebarFade {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    body.skin-blue .sw-mobile-nav-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin: 8px 0 8px 8px;
        background: transparent;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        color: #374151;
        cursor: pointer;
        float: left;
        flex: 0 0 auto;
    }
    body.skin-blue .sw-mobile-nav-toggle:hover {
        background: #f3f4f6;
        color: #111827;
    }
    body.skin-blue .sw-mobile-nav-toggle i {
        font-size: 18px;
    }
    /* Mobile header: hamburger + search + bell + profile in one row */
    body.skin-blue .main-header .navbar {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        padding: 0 8px !important;
    }
    body.skin-blue .main-header .navbar-custom-menu {
        float: none !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin-left: 8px !important;
    }
    body.skin-blue .main-header .navbar-custom-menu > .nav.navbar-nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        margin: 0 !important;
        gap: 4px !important;
    }
    body.skin-blue .main-header .navbar-custom-menu > .nav.navbar-nav > li.sw-header-search {
        width: auto !important;
        flex: 1 1 0 !important;
        min-width: 80px !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    body.skin-blue .main-header .sw-header-search-box {
        height: 36px !important;
        padding: 0 8px !important;
    }
    body.skin-blue .main-header .sw-header-search-input {
        font-size: 13px !important;
        min-width: 0 !important;
    }
    body.skin-blue .main-header .navbar-custom-menu > .nav.navbar-nav > li.messages-menu,
    body.skin-blue .main-header .navbar-custom-menu > .nav.navbar-nav > li.sw-profile-nav {
        flex: 0 0 auto !important;
    }
    body.skin-blue .main-header .navbar-custom-menu > .nav > li > a {
        padding: 14px 8px !important;
    }
    /* Profile dropdown — compact, pinned to viewport right so it never overflows */
    body.skin-blue .main-header .sw-profile-nav .sw-profile-menu,
    body.skin-blue .main-header .sw-profile-menu {
        position: fixed !important;
        top: 60px !important;
        right: 12px !important;
        left: auto !important;
        min-width: 0 !important;
        width: 180px !important;
        max-width: 180px !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        z-index: 1100 !important;
        padding: 4px !important;
    }
    body.skin-blue .main-header .sw-profile-menu-item {
        padding: 8px 10px !important;
        font-size: 13px !important;
        gap: 8px !important;
    }
    body.skin-blue .main-header .sw-profile-menu-item > .nav-icon {
        width: 16px !important;
        height: 16px !important;
    }
    /* Breadcrumb — keep readable */
    body.skin-blue .content-header {
        padding: 12px 12px 8px !important;
        clear: both !important;
        position: relative !important;
        z-index: 1 !important;
    }
    body.skin-blue .content-header > .breadcrumb {
        font-size: 13px !important;
        white-space: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
    }
    body.skin-blue .content-header > h1 {
        margin: 0 0 6px !important;
    }
    body.skin-blue .main-header .navbar {
        min-height: 56px;
    }
    body.skin-blue .main-header .navbar-custom-menu {
        float: right;
    }
    body.skin-blue .content-wrapper .box,
    body.skin-blue .content-wrapper .panel {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    /* Tables get horizontal scroll, but NOT box-body (would shrink-wrap content) */
    body.skin-blue .content-wrapper .table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    body.skin-blue .content-wrapper .box-body {
        width: 100% !important;
    }
    body.skin-blue .content-wrapper table {
        min-width: auto;
    }
    /* Toolbar: row 1 full-width search; row 2 action buttons. */
    body.skin-blue .gb-toolbar,
    body.skin-blue .box-header > .pull-right,
    body.skin-blue .box-header > .pull-left {
        float: none !important;
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px !important;
        margin-bottom: 8px !important;
    }
    /* Right-side toolbar — action icons right-align. "+ New X" flex-grows
       to keep itself on the left when present. .pull-left (page heading)
       stays left-aligned. */
    body.skin-blue .gb-toolbar,
    body.skin-blue .box-header > .pull-right {
        justify-content: flex-end !important;
    }
    body.skin-blue .box-header > .pull-left {
        justify-content: flex-start !important;
    }
    body.skin-blue .gb-toolbar-search-wrap,
    body.skin-blue .gb-toolbar-search-wrap input,
    body.skin-blue .box-header .gb-toolbar-search-wrap,
    body.skin-blue .box-header .gb-toolbar-search-wrap input {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    /* "New" / primary CTA grows to fill row; exclude legacy icon-only
       primaries. Bootstrap moves [title] -> [data-original-title]. */
    body.skin-blue .box-header .gb-toolbar-newbtn,
    body.skin-blue .box-header .btn.btn-primary:not([title="Refresh"]):not([title="Info"]):not([title="Import"]):not([title="Export"]):not([data-original-title="Refresh"]):not([data-original-title="Info"]):not([data-original-title="Import"]):not([data-original-title="Export"]),
    body.skin-blue .gb-toolbar .gb-toolbar-newbtn,
    body.skin-blue .gb-toolbar .btn.btn-primary:not([title="Refresh"]):not([title="Info"]):not([title="Import"]):not([title="Export"]):not([data-original-title="Refresh"]):not([data-original-title="Info"]):not([data-original-title="Import"]):not([data-original-title="Export"]) {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        white-space: nowrap !important;
    }
    /* Keep legacy icon-only buttons compact on mobile */
    body.skin-blue .box-header .btn.btn-primary.btn-flat[title="Refresh"],
    body.skin-blue .box-header .btn.btn-primary.btn-flat[title="Info"],
    body.skin-blue .box-header .btn.btn-primary.btn-flat[title="Import"],
    body.skin-blue .box-header .btn.btn-primary.btn-flat[title="Export"],
    body.skin-blue .box-header .btn.btn-primary.btn-flat[data-original-title="Refresh"],
    body.skin-blue .box-header .btn.btn-primary.btn-flat[data-original-title="Info"],
    body.skin-blue .box-header .btn.btn-primary.btn-flat[data-original-title="Import"],
    body.skin-blue .box-header .btn.btn-primary.btn-flat[data-original-title="Export"],
    body.skin-blue .gb-toolbar .btn.btn-primary.btn-flat[title="Refresh"],
    body.skin-blue .gb-toolbar .btn.btn-primary.btn-flat[title="Info"],
    body.skin-blue .gb-toolbar .btn.btn-primary.btn-flat[title="Import"],
    body.skin-blue .gb-toolbar .btn.btn-primary.btn-flat[title="Export"],
    body.skin-blue .gb-toolbar .btn.btn-primary.btn-flat[data-original-title="Refresh"],
    body.skin-blue .gb-toolbar .btn.btn-primary.btn-flat[data-original-title="Info"],
    body.skin-blue .gb-toolbar .btn.btn-primary.btn-flat[data-original-title="Import"],
    body.skin-blue .gb-toolbar .btn.btn-primary.btn-flat[data-original-title="Export"] {
        flex: 0 0 auto !important;
        width: 36px !important;
        height: 36px !important;
    }
    /* Email templates ".btn-group.dde-new-group" — let it grow like other
       New buttons but tighten the toolbar gap so the extra Upload icon +
       overflow ... still fit on the same row. */
    body.skin-blue .box-header .dde-new-group,
    body.skin-blue .gb-toolbar .dde-new-group {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        white-space: nowrap !important;
    }
    /* Tighter gap on mobile so 5-button toolbars (templates) fit on one row */
    body.skin-blue .gb-lists-page .box-header .pull-right {
        gap: 4px !important;
    }
    /* Dropdown wrappers (".btn-group.gb-toolbar-newbtn" on delivery-servers,
       ".btn-group.dde-new-group" on email templates) — make the inner button
       fill the wrapper so it visually matches plain "+ New X" buttons. */
    body.skin-blue .box-header .gb-toolbar-newbtn > .btn,
    body.skin-blue .box-header .dde-new-group > .btn,
    body.skin-blue .gb-toolbar .gb-toolbar-newbtn > .btn,
    body.skin-blue .gb-toolbar .dde-new-group > .btn {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 6px !important;
    }
    /* Dropdown menu items inside the New X dropdown stay left-aligned with
       their icons (normal dropdown UX). The button label above is centered. */
    body.skin-blue .box-header .gb-toolbar-newbtn .dropdown-menu > li > a,
    body.skin-blue .box-header .dde-new-group .dropdown-menu > li > a,
    body.skin-blue .gb-toolbar .gb-toolbar-newbtn .dropdown-menu > li > a,
    body.skin-blue .gb-toolbar .dde-new-group .dropdown-menu > li > a {
        text-align: left !important;
    }
    body.skin-blue .box-header .btn.btn-default,
    body.skin-blue .box-header .sw-overflow-trigger,
    body.skin-blue .gb-toolbar .btn.btn-default,
    body.skin-blue .gb-toolbar .sw-overflow-trigger {
        flex: 0 0 auto !important;
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    body.skin-blue .box-header {
        padding: 12px !important;
    }
    body.skin-blue .content {
        padding: 12px !important;
    }
    body.skin-blue .content-header {
        padding: 12px 15px !important;
    }
    body.skin-blue .content-header > h1 {
        font-size: 18px !important;
    }
    /* Toggle columns (and other nested submenus) inside the overflow menu:
       on mobile the left-flyout (`right: 100%`) gets cut off the viewport.
       Render the submenu inline below its parent so it stays on-screen. */
    body.skin-blue .sw-overflow-menu-list > li > .btn-group > .dropdown-menu {
        position: static !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        margin: 4px 0 0 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-height: 60vh;
        overflow-y: auto;
        box-shadow: none !important;
        border: 1px solid #e5e7eb !important;
    }
    /* Flip the indicator from right-arrow to a down-caret on mobile */
    body.skin-blue .sw-overflow-menu-list > li > .btn-group > .dropdown-toggle::after {
        content: "\f107"; /* fa-angle-down */
    }
    body.skin-blue .sw-overflow-menu-list > li > .btn-group.open > .dropdown-toggle::after {
        content: "\f106"; /* fa-angle-up */
    }
}

@media (min-width: 768px) {
    body.skin-blue .sw-mobile-nav-toggle {
        display: none !important;
    }
}

/* SW Mobile form column stacking + input fitting */
@media (max-width: 767px) {
    body.skin-blue .content-wrapper [class*="col-sm-"],
    body.skin-blue .content-wrapper [class*="col-md-"],
    body.skin-blue .content-wrapper [class*="col-lg-"] {
        width: 100% !important;
        float: none !important;
    }
    body.skin-blue .content-wrapper .col-xs-6 {
        width: 50% !important;
        float: left !important;
    }
    body.skin-blue .content-wrapper .col-xs-12 {
        width: 100% !important;
        float: none !important;
    }
    body.skin-blue .content-wrapper .form-control,
    body.skin-blue .content-wrapper select.form-control,
    body.skin-blue .content-wrapper textarea.form-control {
        max-width: 100% !important;
        width: 100% !important;
    }
    /* Welcome card on dashboard — flex layout often forces overflow */
    body.skin-blue .content-wrapper .box-body > .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Campaign wizard — match the dark-slate theme instead of AdminLTE blue.
   The chevron is built from CSS borders so each state needs its own
   border-left override to keep the arrow tip the right color. */
body.skin-blue .box-footer .wizard {
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: none !important;
}
body.skin-blue .box-footer .wizard ul li {
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}
body.skin-blue .box-footer .wizard ul li a {
    color: #6b7280 !important;
    text-decoration: none !important;
}
body.skin-blue .box-footer .wizard ul li .chevron {
    border-left-color: #ffffff !important;
}
body.skin-blue .box-footer .wizard ul li .chevron:before {
    border-left-color: #f3f4f6 !important;
}
body.skin-blue .box-footer .wizard ul li.complete {
    background: #1f2937 !important;
    color: #ffffff !important;
}
body.skin-blue .box-footer .wizard ul li.complete a,
body.skin-blue .box-footer .wizard ul li.complete a:hover,
body.skin-blue .box-footer .wizard ul li.complete a:focus {
    color: #ffffff !important;
}
body.skin-blue .box-footer .wizard ul li.complete .chevron:before {
    border-left-color: #1f2937 !important;
}
body.skin-blue .box-footer .wizard ul li.active {
    background: #ffffff !important;
    color: #1f2937 !important;
    font-weight: 600 !important;
}
body.skin-blue .box-footer .wizard ul li.active a,
body.skin-blue .box-footer .wizard ul li.active a:hover,
body.skin-blue .box-footer .wizard ul li.active a:focus {
    color: #1f2937 !important;
}
body.skin-blue .box-footer .wizard ul li.active .chevron:before {
    border-left-color: #ffffff !important;
}

