body{
    background:#f8fafc!important;
}

/* Notice */
.dashboard-alert{

    background:linear-gradient(
        135deg,
        #ff8a00,
        #ff6b00
    );

    color:#fff;

    padding:18px 24px;

    border-radius:18px;

    margin-bottom:25px;

    box-shadow:
    0 10px 25px rgba(255,138,0,.25);

    font-weight:600;
}

.dashboard-alert span{
    font-weight:700;
    margin-right:10px;
}

/* Hero */
.welcome-hero{
    background:#fff7f0;
    border:1px solid #ffe2c2;
    border-radius:24px;
    padding:35px 40px;
    min-height:180px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    box-shadow:0 8px 30px rgba(0,0,0,.05);
}

.welcome-content h1{
    color:#fff;
    font-size:42px;
    font-weight:700;
}

.welcome-content p{
    color:rgba(255,255,255,.9);
    font-size:16px;
}

/* Logo */
.modern-logo{

    max-height:52px;

}

.topbar{
    background:#fff!important;
    height:70px;
    box-shadow:0 2px 15px rgba(0,0,0,.05);
}

/* Sidebar */
.left-sidebar{

    background:#fff!important;

    border-right:1px solid #eef2f7;

    box-shadow:
    0 0 25px rgba(0,0,0,.04);

}

.sidebar-nav ul li a{

    border-radius:14px;

    margin:6px 10px;

}

.sidebar-nav ul li.active>a,
.sidebar-nav ul li.selected>a{

    background:
    linear-gradient(
      135deg,
      #ff8a00,
      #ffb347
    )!important;

    color:#fff!important;

}

/* Footer */

.modern-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px;

    background:#fff;

    border-top:1px solid #eef2f7;

}



.dashboard-top-grid{
    display:grid;
    grid-template-columns:2fr 1.3fr;
    gap:20px;
    margin-bottom:25px;
}

.welcome-hero{
    background:#fff7f0;
    border:1px solid #ffe2c2;
    border-radius:24px;
    min-height:220px;
    padding:35px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.hero-illustration{
    font-size:80px;
}

.dashboard-stats{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.dashboard-card,
.dashboard-stats .alert{
    background:#fff !important;
    border:none !important;
    border-radius:22px !important;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

@media(max-width:992px){
    .dashboard-top-grid{
        grid-template-columns:1fr;
    }
}



.left-sidebar{
    width:260px !important;
    background:#ffffff !important;
    border-right:1px solid #eef2f7;
    box-shadow:0 0 30px rgba(0,0,0,.04);
}

.page-wrapper{
    margin-left:260px !important;
}.navbar-brand{
    padding:18px 15px !important;
    height:auto !important;
}

.modern-logo{
    max-width:180px;
    width:100%;
    height:auto;
}.sidebar-nav ul li{
    margin-bottom:8px;
}

.sidebar-nav ul li a{
    height:54px;
    display:flex;
    align-items:center;
    border-radius:16px;
    margin:0 12px;
    transition:.3s;
}


.sidebar-nav #sidebarnav .sidebar-item.selected>.sidebar-link {
    border-radius:16px !important;
}
.sidebar-nav {
    padding-top: 25px;
}

.sidebar-nav ul li a:hover{
    background:#f8fafc;
    transform:translateX(4px);
}

.sidebar-nav ul li.active>a,
.sidebar-nav ul li.selected>a,
.sidebar-nav ul li.current>a{

    background:linear-gradient(
        135deg,
        #ff8a00,
        #ff9f1a
    ) !important;

    color:#fff !important;

    box-shadow:
    0 10px 25px rgba(255,138,0,.25);
}.sidebar-nav i,
.sidebar-nav .feather-icon{

    width:20px;
    margin-right:12px;

}.nav-small-cap{

    margin-top:25px;
    margin-bottom:10px;

    font-size:12px;
    font-weight:700;

    color:#94a3b8;
    letter-spacing:1px;
}

.sidebar-nav #sidebarnav .sidebar-item .sidebar-link {
    padding: 12px 15px;
}


.page-breadcrumb {
    padding: 0px 35px 0;
}
.page-wrapper>.container-fluid {
    padding: 15px 35px;
}


/*header updat*/
/* ===========================================================
   WEBTOOLSBD - FLOATING ROUNDED HEADER (aMember custom theme)
   Load AFTER your theme stylesheet.
   Requires class="topbar wt-modern-header" on the header.
   Existing Bootstrap dropdown/sidebar behavior is preserved.
   =========================================================== */

/* Preserve theme's 80px header/sidebar geometry */
.wt-modern-header {
    background: transparent !important;
    border: 0;
    box-shadow: none;
}

.wt-modern-header .top-navbar {
    min-height: 80px;
}

/* Logo remains within the existing sidebar/header width */
.wt-modern-header .top-navbar .navbar-header {
    background: #ffffff;
}

.wt-modern-header .top-navbar .navbar-header .navbar-brand {
    height: 80px;
}

.wt-modern-header .top-navbar .navbar-header img.modern-logo {
    max-width: 210px;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Clean, rounded user-profile pill */
.wt-modern-header .top-navbar .navbar-nav > .nav-item > a.wt-profile-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 5px 13px 5px 6px;
    line-height: 1.2;
    border: 1px solid #e8edf3;
    border-radius: 999px;
    background: #f7f9fc;
    color: #334155;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.wt-modern-header .top-navbar .navbar-nav > .nav-item > a.wt-profile-trigger:hover,
.wt-modern-header .top-navbar .navbar-nav > .nav-item.show > a.wt-profile-trigger {
    background: #ffffff;
    border-color: #fed7aa;
    box-shadow: 0 3px 12px rgba(249, 140, 23, .09);
}

.wt-modern-header .wt-profile-avatar {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid #ffffff;
}

.wt-modern-header .wt-profile-label {
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.2;
}

.wt-modern-header .wt-profile-hello {
    color: #94a3b8;
    font-weight: 400;
}

.wt-modern-header .wt-profile-name {
    color: #253148;
    font-weight: 500;
}

.wt-modern-header .wt-profile-chevron {
    width: 16px;
    height: 16px;
    color: #9ba7b8;
    margin-left: 3px;
    transition: transform .2s ease;
}

.wt-modern-header .wt-profile-dropdown.show .wt-profile-chevron {
    transform: rotate(180deg);
}

/* Rounded dropdown for My Profile / Logout */
.wt-modern-header .wt-account-menu {
    min-width: 215px;
    padding: 8px;
    margin-top: 10px;
    border: 1px solid #edf0f5;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(25, 35, 55, .12);
    overflow: hidden;
}

.wt-modern-header .wt-account-menu .dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 11px;
    border-radius: 9px;
    font-size: 13px;
    color: #364152;
    font-weight: 400;
}

.wt-modern-header .wt-account-menu .dropdown-item svg {
    width: 17px;
    height: 17px;
    margin-right: 10px !important;
    margin-left: 0 !important;
    color: #718096;
}

.wt-modern-header .wt-account-menu .dropdown-item:hover,
.wt-modern-header .wt-account-menu .dropdown-item:focus {
    background: #fff4e6;
    color: #e57a07;
}

.wt-modern-header .wt-account-menu .dropdown-item:hover svg {
    color: #e57a07;
}

.wt-modern-header a:focus-visible {
    outline: 2px solid #f7931e;
    outline-offset: 3px;
}

/* Floating capsule to the right of the existing logo / sidebar */
@media (min-width: 768px) {
    .wt-modern-header .top-navbar .navbar-header {
        border-radius: 0 0 16px 0;
        border-right: 1px solid #eef0f4;
        box-shadow: 0 5px 18px rgba(24, 39, 65, .045);
    }

    .wt-modern-header .top-navbar .navbar-collapse {
        align-items: center;
        align-self: center;
        min-height: 62px;
        margin-top: 9px;
        margin-bottom: 9px;
        margin-right: 16px;
        padding: 0 12px 0 10px;
        border: 1px solid #e9edf2;
        border-radius: 18px;
        background: #ffffff !important;
        box-shadow: 0 6px 22px rgba(24, 39, 65, .065);
    }

    .wt-modern-header .wt-header-actions {
        align-items: center;
    }
}

/* Mobile: preserve the existing collapsible navbar behavior */
@media (max-width: 767.98px) {
    .wt-modern-header .top-navbar .navbar-header {
        min-height: 80px;
        padding: 0 10px;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 4px 18px rgba(24, 39, 65, .07);
    }

    .wt-modern-header .top-navbar .navbar-header .navbar-brand {
        flex: 1 1 auto;
        justify-content: center;
        height: 80px;
        padding: 0 6px;
    }

    .wt-modern-header .top-navbar .navbar-header img.modern-logo {
        max-width: min(190px, 46vw);
        max-height: 45px;
    }

    .wt-modern-header .nav-toggler,
    .wt-modern-header .topbartoggler {
        display: flex !important;
        justify-content: center;
        align-items: center;
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        padding: 0 !important;
        background: #f4f6f9;
        border-radius: 11px;
        color: #475569;
        text-decoration: none;
    }

    /* Override original fixed-sidebar rule: its mobile menu top is 80px */
    #main-wrapper[data-layout=vertical][data-header-position=fixed][data-sidebar-position=fixed]
    .wt-modern-header .top-navbar .navbar-collapse,
    #main-wrapper[data-layout=vertical][data-sidebar-position=fixed]
    .wt-modern-header .top-navbar .navbar-collapse,
    .wt-modern-header .top-navbar .navbar-collapse {
        position: absolute;
        top: 80px;
        left: 10px;
        right: 10px;
        width: auto;
        margin: 0;
        padding: 12px;
        border: 1px solid #e9edf2;
        border-radius: 16px;
        background: #ffffff !important;
        box-shadow: 0 12px 28px rgba(24, 39, 65, .12);
    }

    .wt-modern-header .wt-header-actions {
        justify-content: flex-end;
    }

    .wt-modern-header .top-navbar .navbar-nav > .nav-item > a.wt-profile-trigger {
        padding: 5px 7px;
    }

    .wt-modern-header .top-navbar .wt-account-menu {
        width: 220px;
        min-width: 0;
        max-width: calc(100vw - 44px);
        right: 0;
        left: auto;
        margin-top: 8px;
        border-radius: 14px;
    }
}

/* ===========================================================
   COMPATIBILITY: the exact existing HTML the user provided.
   If you only add wt-modern-header to <header class="topbar">,
   the original avatar/username markup will keep working.
   =========================================================== */

.wt-modern-header .top-navbar .navbar-nav.float-right > .nav-item > a.nav-link.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 5px 13px 5px 6px;
    line-height: 1.2;
    border: 1px solid #e8edf3;
    border-radius: 999px;
    background: #f7f9fc;
    color: #334155;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.wt-modern-header .top-navbar .navbar-nav.float-right > .nav-item > a.nav-link.dropdown-toggle:hover,
.wt-modern-header .top-navbar .navbar-nav.float-right > .nav-item.show > a.nav-link.dropdown-toggle {
    background: #ffffff;
    border-color: #fed7aa;
    box-shadow: 0 3px 12px rgba(249, 140, 23, .09);
}

.wt-modern-header .navbar-nav.float-right .nav-link.dropdown-toggle > img.rounded-circle {
    width: 36px;
    height: 36px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.wt-modern-header .navbar-nav.float-right .nav-link.dropdown-toggle > span.ml-2 {
    margin-left: 2px !important;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.2;
}

.wt-modern-header .navbar-nav.float-right .nav-link.dropdown-toggle > span.ml-2 > span:first-child {
    color: #94a3b8;
    font-weight: 400;
}

.wt-modern-header .navbar-nav.float-right .nav-link.dropdown-toggle > span.ml-2 > span.text-dark {
    color: #253148 !important;
    font-weight: 500;
}

.wt-modern-header .navbar-nav.float-right .nav-link.dropdown-toggle > span.ml-2 > svg {
    width: 16px;
    height: 16px;
    margin-left: 3px;
    color: #9ba7b8;
    transition: transform .2s ease;
}

.wt-modern-header .navbar-nav.float-right .nav-item.show .nav-link.dropdown-toggle > span.ml-2 > svg {
    transform: rotate(180deg);
}

.wt-modern-header .navbar-nav.float-right .dropdown-menu.user-dd {
    min-width: 215px;
    padding: 8px;
    margin-top: 10px;
    border: 1px solid #edf0f5;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(25, 35, 55, .12);
    overflow: hidden;
}

.wt-modern-header .navbar-nav.float-right .dropdown-menu.user-dd .dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 11px;
    border-radius: 9px;
    font-size: 13px;
    color: #364152;
    font-weight: 400;
}

.wt-modern-header .navbar-nav.float-right .dropdown-menu.user-dd .dropdown-item > svg {
    width: 17px;
    height: 17px;
    margin-right: 10px !important;
    margin-left: 0 !important;
    color: #718096;
}

.wt-modern-header .navbar-nav.float-right .dropdown-menu.user-dd .dropdown-item:hover,
.wt-modern-header .navbar-nav.float-right .dropdown-menu.user-dd .dropdown-item:focus {
    background: #fff4e6;
    color: #e57a07;
}

.wt-modern-header .navbar-nav.float-right .dropdown-menu.user-dd .dropdown-item:hover > svg {
    color: #e57a07;
}

@media (max-width: 767.98px) {
    .wt-modern-header .top-navbar .navbar-nav.float-right > .nav-item > a.nav-link.dropdown-toggle {
        padding: 5px 7px;
    }

    .wt-modern-header .top-navbar .navbar-nav.float-right .dropdown-menu.user-dd {
        width: 220px;
        min-width: 0;
        max-width: calc(100vw - 44px);
        right: 0;
        left: auto;
        margin-top: 8px;
        border-radius: 14px;
    }
}







/* ================================================================
   WEBTOOLSBD - MODERN ROUNDED SIDEBAR
   aMember Pro / WebToolsBD custom theme
   Add: class="left-sidebar wt-modern-sidebar" to your existing <aside>
   Load this stylesheet AFTER the original theme CSS.
   Header and existing menu links / JS stay unchanged.
   ================================================================ */

/* Keep the theme's original sidebar width, position and toggling behavior. */
#main-wrapper .left-sidebar.wt-modern-sidebar {
    box-sizing: border-box;
    padding: 90px 9px 13px;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
}

/* The actual floating white rounded sidebar card. */
#main-wrapper .left-sidebar.wt-modern-sidebar > .scroll-sidebar {
    position: relative;
    box-sizing: border-box;
    height: 100%;
    min-height: 0;
    padding: 14px 8px 18px;
    border: 1px solid #e9edf3;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(30, 45, 70, 0.065);
    background-clip: padding-box;
}

#main-wrapper .wt-modern-sidebar .sidebar-nav {
    padding-top: 0;
}

/* Menu items: compact, modern, consistently rounded. */
#main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .sidebar-item > .sidebar-link {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 43px;
    width: auto;
    margin: 3px 5px;
    padding: 10px 11px;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    color: #586579 !important;
    font-size: 13.5px;
    line-height: 1.35;
    font-weight: 400;
    text-decoration: none;
    opacity: 1;
    transition: background-color .2s ease, color .2s ease,
                transform .2s ease, box-shadow .2s ease;
}

/* Consistent icons - Font Awesome & Feather SVG. */
#main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .sidebar-item > .sidebar-link i,
#main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .sidebar-item > .sidebar-link svg {
    box-sizing: content-box;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0 10px 0 0 !important;
    color: #97a4b6;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    transition: color .2s ease;
}

#main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .sidebar-item > .sidebar-link svg {
    stroke-width: 1.9;
}

#main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .sidebar-item > .sidebar-link .hide-menu {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Soft orange hover only on inactive links. */
#main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .sidebar-item:not(.selected) > .sidebar-link:not(.active):hover,
#main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .sidebar-item:not(.selected) > .sidebar-link:not(.active):focus-visible {
    background: #fff4e7;
    color: #e57f11 !important;
    box-shadow: none;
    transform: translateX(2px);
}

#main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .sidebar-item:not(.selected) > .sidebar-link:not(.active):hover i,
#main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .sidebar-item:not(.selected) > .sidebar-link:not(.active):hover svg {
    color: #ef8d20;
}

/* Current page: keep WebToolsBD's orange identity. */
#main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .sidebar-item.selected > .sidebar-link,
#main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .sidebar-item > .sidebar-link.active {
    opacity: 1;
    color: #ffffff !important;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffa029 0%, #f7931e 100%);
    box-shadow: 0 5px 12px rgba(247, 147, 30, .20);
    font-weight: 500;
    transform: none;
}

#main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .sidebar-item.selected > .sidebar-link i,
#main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .sidebar-item.selected > .sidebar-link svg,
#main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .sidebar-item > .sidebar-link.active i,
#main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .sidebar-item > .sidebar-link.active svg {
    color: #ffffff !important;
}

/* Section divider and extension heading. */
#main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .list-divider {
    display: block;
    height: 1px;
    margin: 13px 13px;
    background: #e9edf3;
    opacity: 1;
}

#main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .nav-small-cap {
    display: flex;
    align-items: center;
    margin: 13px 10px 6px;
    padding: 5px 7px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .6px;
    color: #7a8797;
    opacity: 1;
}

#main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .sidebar-item .sidebar-link sup {
    position: relative;
    top: -.05em;
    margin-left: 3px;
    font-size: 10px;
    font-weight: 500;
    vertical-align: baseline;
}

#main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .sidebar-item > .sidebar-link:focus-visible {
    outline: 2px solid #f7931e;
    outline-offset: 2px;
}

/* Mini sidebar: preserve the original 65px collapsed mode on desktop. */
@media (min-width: 768px) {
    #main-wrapper[data-layout="vertical"][data-sidebartype="mini-sidebar"]
    .left-sidebar.wt-modern-sidebar:not(:hover) {
        padding-left: 5px;
        padding-right: 5px;
    }

    #main-wrapper[data-layout="vertical"][data-sidebartype="mini-sidebar"]
    .left-sidebar.wt-modern-sidebar:not(:hover) > .scroll-sidebar {
        padding-left: 2px;
        padding-right: 2px;
    }

    #main-wrapper[data-layout="vertical"][data-sidebartype="mini-sidebar"]
    .left-sidebar.wt-modern-sidebar:not(:hover) .sidebar-nav #sidebarnav > .sidebar-item > .sidebar-link {
        justify-content: center;
        margin: 3px 1px;
        padding: 10px 0;
    }

    #main-wrapper[data-layout="vertical"][data-sidebartype="mini-sidebar"]
    .left-sidebar.wt-modern-sidebar:not(:hover) .sidebar-nav #sidebarnav > .sidebar-item > .sidebar-link i,
    #main-wrapper[data-layout="vertical"][data-sidebartype="mini-sidebar"]
    .left-sidebar.wt-modern-sidebar:not(:hover) .sidebar-nav #sidebarnav > .sidebar-item > .sidebar-link svg {
        margin: 0 !important;
    }

    /* The native theme expands the mini-sidebar on hover. */
    #main-wrapper[data-layout="vertical"][data-sidebartype="mini-sidebar"]
    .left-sidebar.wt-modern-sidebar:hover {
        padding-left: 9px;
        padding-right: 9px;
    }
}

/* Mobile: maintain the theme's native slide-in menu and 80px header. */
@media (max-width: 767.98px) {
    #main-wrapper .left-sidebar.wt-modern-sidebar {
        padding: 89px 8px 10px;
    }

    #main-wrapper .left-sidebar.wt-modern-sidebar > .scroll-sidebar {
        padding: 11px 7px 15px;
        border-radius: 16px;
        box-shadow: 0 12px 28px rgba(30, 45, 70, .12);
    }

    #main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .sidebar-item > .sidebar-link {
        min-height: 43px;
        margin: 3px 4px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #main-wrapper .wt-modern-sidebar .sidebar-nav #sidebarnav > .sidebar-item > .sidebar-link {
        transition: none;
    }
}



/* ========================================
   WEBTOOLSBD - INTEGRATED LOGO SIDEBAR
======================================== */

/* SIDEBAR PANEL */

.left-sidebar.wt-modern-sidebar {
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(30,45,70,0.06);
    overflow: hidden;
}

/* BRAND AREA */

.wt-modern-sidebar .wt-sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 96px;
    padding: 15px;
    background: #ffffff;
    border-bottom: 1px solid #edf0f4;
}

.wt-modern-sidebar .wt-brand-full {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.wt-modern-sidebar .wt-brand-full img {
    display: block;
    width: 210px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* MINI LOGO - HIDDEN BY DEFAULT */

.wt-modern-sidebar .wt-brand-mini {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #ff921c;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

/* MENU SPACING */

.wt-modern-sidebar .sidebar-nav {
    padding-top: 10px;
}

/* DESKTOP */

@media (min-width: 768px) {

    /* Hide original header logo */
    .topbar.wt-modern-header
    .top-navbar .navbar-header {
        display: none !important;
    }

    /* Keep header aligned with sidebar */
    .topbar.wt-modern-header
    .top-navbar .navbar-collapse {
        margin-left: 260px !important;
    }

    /* Extend sidebar up to the logo position */
    .left-sidebar.wt-modern-sidebar {
        position: fixed;
        top: 12px !important;
        height: calc(100vh - 24px) !important;
        padding-top: 0 !important;
        z-index: 60;
    }

    .left-sidebar.wt-modern-sidebar
    .scroll-sidebar {
        height: 100%;
    }

    /* Collapsed sidebar layout */
    #main-wrapper[data-sidebartype="mini-sidebar"]
    .topbar.wt-modern-header
    .top-navbar .navbar-collapse {
        margin-left: 65px !important;
    }

    /* Mini sidebar icon */
    #main-wrapper[data-sidebartype="mini-sidebar"]
    .wt-modern-sidebar .wt-brand-full {
        display: none;
    }

    #main-wrapper[data-sidebartype="mini-sidebar"]
    .wt-modern-sidebar .wt-brand-mini {
        display: flex;
    }

    #main-wrapper[data-sidebartype="mini-sidebar"]
    .wt-modern-sidebar .wt-sidebar-brand {
        padding: 10px;
    }

    /* Restore full logo when sidebar expands */
    #main-wrapper[data-sidebartype="mini-sidebar"]
    .wt-modern-sidebar:hover .wt-brand-full {
        display: flex;
    }

    #main-wrapper[data-sidebartype="mini-sidebar"]
    .wt-modern-sidebar:hover .wt-brand-mini {
        display: none;
    }
}

/* MOBILE */

@media (max-width: 767.98px) {

    /* Original mobile header keeps the logo */
    .wt-modern-sidebar .wt-sidebar-brand {
        display: none !important;
    }

    .left-sidebar.wt-modern-sidebar {
        top: 0 !important;
        height: 100vh !important;
        padding-top: 80px !important;
        border-radius: 0 18px 18px 0;
    }

    .topbar.wt-modern-header
    .top-navbar .navbar-collapse {
        margin-left: 0 !important;
    }
}










/* =========================================
   WEBTOOLSBD - HEADER BACKGROUND BLEND FIX
========================================= */

/* 1) Same dashboard background everywhere */
html,
body,
#main-wrapper,
.page-wrapper,
.page-breadcrumb,
.container-fluid {
    background: #f5f7fb !important;
}

/* 2) Remove any separate topbar background */
.topbar.wt-modern-header {
    background: transparent !important;
    box-shadow: none !important;
    padding: 16px 16px 0 16px;
}

/* 3) Keep navbar shell transparent */
.topbar.wt-modern-header .top-navbar {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: auto !important;
}

/* 4) Main white rounded header box */
.topbar.wt-modern-header .navbar-collapse {
    background: #ffffff !important;
    border: 1px solid #e7edf4;
    border-radius: 22px;
    min-height: 64px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.04);
    padding: 0 18px;
    display: flex !important;
    align-items: center;
}

/* 5) Remove unnecessary left nav empty gap if not used */
.topbar.wt-modern-header .navbar-nav.float-left {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* 6) Right profile area alignment */
.topbar.wt-modern-header .navbar-nav.float-right {
    margin-left: auto;
    align-items: center;
}

/* 7) Profile button style */
.topbar.wt-modern-header .nav-item.dropdown > .nav-link.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 6px 12px !important;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #edf1f5;
}

/* 8) Profile image tighter fit */
.topbar.wt-modern-header .nav-item.dropdown > .nav-link img.rounded-circle {
    width: 38px;
    height: 38px;
    object-fit: cover;
}

/* 9) Sidebar and header top alignment */
.left-sidebar.wt-modern-sidebar {
    top: 16px !important;
    height: calc(100vh - 32px) !important;
}

/* 10) Page wrapper background and spacing */




/* 11) Breadcrumb/top content spacing */
.page-wrapper .page-breadcrumb {
    padding-top: 20px !important;
    padding-bottom: 10px !important;
}

/* 12) Desktop layout alignment */
@media (min-width: 768px) {
    .topbar.wt-modern-header {
        left: 0;
        right: 0;
    }

    .topbar.wt-modern-header .top-navbar .navbar-collapse {
        margin-left: 260px !important;
    }

    #main-wrapper[data-sidebartype="mini-sidebar"]
    .topbar.wt-modern-header .top-navbar .navbar-collapse {
        margin-left: 70px !important;
    }
}

/* 13) Mobile */
@media (max-width: 767.98px) {
    .topbar.wt-modern-header {
        padding: 10px 10px 0 10px;
    }

    .topbar.wt-modern-header .top-navbar .navbar-collapse {
        margin-left: 0 !important;
        border-radius: 18px;
        min-height: 56px;
        padding: 0 12px;
    }

    .page-wrapper .page-breadcrumb {
        padding-top: 14px !important;
    }
}

/* DESKTOP - FIX CONTENT POSITION */
@media (min-width: 768px) {

    #main-wrapper[data-header-position="fixed"]
    > .page-wrapper {
        padding-top: 110px !important;
    }

    /* Dashboard heading spacing */
    .page-wrapper .page-breadcrumb {
        padding-top: 12px !important;
        padding-bottom: 8px !important;
    }

    /* Keep header above dashboard content */
    .topbar.wt-modern-header {
        z-index: 100 !important;
    }
}

/* MOBILE - RESPONSIVE HEADER FIX */
@media (max-width: 767.98px) {

    #main-wrapper[data-header-position="fixed"]
    > .page-wrapper {
        padding-top: 90px !important;
    }

    .page-wrapper .page-breadcrumb {
        padding-top: 12px !important;
        padding-bottom: 8px !important;
    }
}







.topbar.wt-modern-header .navbar-collapse,
.left-sidebar.wt-modern-sidebar,
.wtbd-offers,
.card,
.page-breadcrumb + .container-fluid > .row > div > .card {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
}

.topbar.wt-modern-header .navbar-collapse,
.left-sidebar.wt-modern-sidebar {
    border-color: #e9eef5;
}







/*=================================*/


/* ============================================================
   WebToolsBD / aMember Pro - Mobile Responsive Repair
   Load this LAST, after modern-dashboard.css and earlier fixes.
   Desktop >= 768px is unchanged.
   ============================================================ */

@media (max-width: 767.98px) {

  /* 1) Undo the theme's fixed 260px desktop sidebar offset. */
  #main-wrapper[data-layout="vertical"][data-sidebartype="full"] > .page-wrapper,
  #main-wrapper[data-layout="vertical"][data-sidebartype="mini-sidebar"] > .page-wrapper,
  #main-wrapper > .page-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding-top: 94px !important; /* 10px outer + 64px bar + 20px gap */
  }

  #main-wrapper,
  #main-wrapper > .page-wrapper > .container-fluid,
  #main-wrapper > .page-wrapper > .page-breadcrumb,
  #main-wrapper .am-body-content,
  #main-wrapper .am-body-content-content {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  #main-wrapper > .page-wrapper > .page-breadcrumb {
    margin: 0 !important;
    padding: 10px 14px 9px !important;
  }

  #main-wrapper > .page-wrapper > .page-breadcrumb h1,
  #main-wrapper > .page-wrapper > .page-breadcrumb h2,
  #main-wrapper > .page-wrapper > .page-breadcrumb h3 {
    font-size: clamp(18px, 5vw, 23px) !important;
    line-height: 1.3 !important;
    overflow-wrap: break-word;
    margin: 0 !important;
  }

  #main-wrapper > .page-wrapper > .container-fluid {
    width: 100% !important;
    padding: 10px 12px 24px !important;
    margin: 0 !important;
  }

  /* 2) One compact mobile header, not two floating stacked rows. */
  #main-wrapper > .topbar.wt-modern-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 84px !important;
    margin: 0 !important;
    padding: 10px 10px 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 100 !important;
    box-sizing: border-box;
  }

  #main-wrapper .topbar.wt-modern-header .top-navbar {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 1px solid #e8edf3 !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 5px 18px rgba(24,39,65,.055) !important;
    box-sizing: border-box;
  }

  #main-wrapper .topbar.wt-modern-header .top-navbar > .navbar-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    height: 62px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: flex-start !important;
    align-items: center !important;
    line-height: normal !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* Keep the native hamburger, which opens the existing sidebar. */
  #main-wrapper .topbar.wt-modern-header .navbar-header > .nav-toggler {
    display: inline-flex !important;
    flex: 0 0 36px;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    color: #526278;
    background: #f3f6fa;
    border-radius: 11px;
  }

  /* Profile is always visible; the separate three-dots expander is unnecessary. */
  #main-wrapper .topbar.wt-modern-header .navbar-header > .topbartoggler {
    display: none !important;
  }

  #main-wrapper .topbar.wt-modern-header .top-navbar .navbar-header .wt-mobile-brand {
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: 52px !important;
    padding: 0 6px !important;
    margin: 0 !important;
    align-items: center;
    justify-content: flex-start;
  }

  #main-wrapper .topbar.wt-modern-header .wt-mobile-brand .wt-brand-image {
    display: block !important;
    width: auto !important;
    max-width: min(145px, 43vw) !important;
    max-height: 38px !important;
    height: auto !important;
    object-fit: contain;
  }

  /* Beats the original theme's position:absolute; top:80px on collapse. */
  #main-wrapper[data-layout="vertical"] .topbar.wt-modern-header .top-navbar #navbarSupportedContent {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  #main-wrapper .topbar.wt-modern-header .navbar-collapse .navbar-nav.float-left {
    display: none !important; /* empty bell link in supplied template */
  }

  #main-wrapper .topbar.wt-modern-header .navbar-collapse .navbar-nav.float-right {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #main-wrapper .topbar.wt-modern-header .navbar-nav.float-right > .nav-item {
    position: relative !important;
  }

  #main-wrapper .topbar.wt-modern-header .navbar-nav.float-right > .nav-item > .nav-link.dropdown-toggle {
    min-height: 44px !important;
    max-height: 48px !important;
    margin: 0 !important;
    padding: 4px !important;
    line-height: 1 !important;
  }

  #main-wrapper .topbar.wt-modern-header .navbar-nav.float-right img.rounded-circle {
    display: block;
    width: 36px !important;
    height: 36px !important;
    object-fit: cover;
  }

  /* Bootstrap hides the username at <992px: keep that behavior to save room. */
  #main-wrapper .topbar.wt-modern-header .navbar-nav.float-right .nav-link > .ml-2 {
    display: none !important;
  }

  #main-wrapper .topbar.wt-modern-header .navbar-nav.float-right .dropdown-menu.user-dd {
    position: absolute !important;
    top: calc(100% + 7px) !important;
    right: 0 !important;
    left: auto !important;
    width: min(230px, calc(100vw - 24px)) !important;
    min-width: 0 !important;
    margin: 0 !important;
    z-index: 130 !important;
  }

  /* 3) Mobile sidebar slides over content instead of reserving width. */
  #main-wrapper .left-sidebar.wt-modern-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: -280px !important;
    right: auto !important;
    z-index: 110 !important;
    width: 260px !important;
    max-width: calc(100vw - 42px) !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 84px 8px 10px !important;
    box-sizing: border-box;
    transition: left .22s ease;
  }

  #main-wrapper.show-sidebar .left-sidebar.wt-modern-sidebar {
    left: 0 !important;
  }

  #main-wrapper .left-sidebar.wt-modern-sidebar > .scroll-sidebar {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    border-radius: 16px !important;
  }

  /* Avoid repeating the desktop logo inside the mobile drawer. */
  #main-wrapper .left-sidebar.wt-modern-sidebar .wt-sidebar-brand {
    display: none !important;
  }

  /* 4) Offers become ONE natural-width card on mobile. */
  #main-wrapper .wtbd-offers {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 10px 0 15px !important;
    padding: 11px !important;
  }

  #main-wrapper .wtbd-offers .wtbd-offers-header {
    gap: 7px !important;
    align-items: flex-start !important;
  }

  #main-wrapper .wtbd-offers .wtbd-offers-header h3 {
    min-width: 0;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
  }

  #main-wrapper .wtbd-offers .wtbd-slide-count {
    flex: 0 0 auto;
    font-size: 10px;
  }

  #main-wrapper .wtbd-offers .wtbd-offers-viewport {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  #main-wrapper .wtbd-offers .wtbd-offer-slide {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 10px !important;
  }

  #main-wrapper .wtbd-offers .wtbd-offer-info {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    margin: 0 0 9px !important;
  }

  #main-wrapper .wtbd-offers .wtbd-offer-logo {
    width: 42px !important;
    height: 42px !important;
    font-size: 21px !important;
  }

  #main-wrapper .wtbd-offers .wtbd-offer-details {
    min-width: 0 !important;
    width: auto !important;
  }

  #main-wrapper .wtbd-offers .wtbd-offer-tag {
    font-size: 9px !important;
    line-height: 1.3;
  }

  #main-wrapper .wtbd-offers .wtbd-offer-details h4 {
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  #main-wrapper .wtbd-offers .wtbd-offer-details p {
    font-size: 10px !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  #main-wrapper .wtbd-offers .wtbd-offer-price {
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  #main-wrapper .wtbd-offers .wtbd-offer-price strong {
    font-size: 17px !important;
    font-weight: 600 !important;
  }

  #main-wrapper .wtbd-offers a.wtbd-offer-button {
    width: 100% !important;
    min-height: 30px !important;
    margin-top: 0 !important;
    padding: 6px 10px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
  }

  /* 5) aMember's nested content must never require 260px extra space. */
  #main-wrapper .page-wrapper .am-widget,
  #main-wrapper .page-wrapper .am-block,
  #main-wrapper .page-wrapper .am-body-content,
  #main-wrapper .page-wrapper #member-main-resources,
  #main-wrapper .page-wrapper .card {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #main-wrapper .page-wrapper .am-body-content-content img,
  #main-wrapper .page-wrapper #member-main-resources img {
    max-width: 100%;
    height: auto;
  }

  #main-wrapper .page-wrapper input,
  #main-wrapper .page-wrapper select,
  #main-wrapper .page-wrapper textarea {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* The chat tooltip is too intrusive on small screens. */
  #supportNudge {
    display: none !important;
  }

  #supportWidget {
    right: 12px !important;
    bottom: 12px !important;
  }
}

/* Tiny phones: keep price legible without breaking the product name. */
@media (max-width: 359.98px) {
  #main-wrapper .wtbd-offers .wtbd-offer-info {
    grid-template-columns: 38px minmax(0, 1fr) auto !important;
    gap: 6px !important;
  }
  #main-wrapper .wtbd-offers .wtbd-offer-logo {
    width: 38px !important;
    height: 38px !important;
  }
  #main-wrapper .wtbd-offers .wtbd-offer-details h4 {
    font-size: 11px !important;
  }
  #main-wrapper .wtbd-offers .wtbd-offer-price strong {
    font-size: 15px !important;
  }
  #main-wrapper .topbar.wt-modern-header .wt-mobile-brand .wt-brand-image {
    max-width: min(120px, 36vw) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #main-wrapper .left-sidebar.wt-modern-sidebar {
    transition: none;
  }
}



@media (max-width: 767.98px) {
  /* The open sidebar used to sit above the transparent upper
     part of the header, intercepting clicks on the X icon. */
  #main-wrapper > header.topbar.wt-modern-header {
    z-index: 250 !important;
  }

  #main-wrapper > aside.left-sidebar.wt-modern-sidebar {
    z-index: 230 !important;
  }

  /* Keep the existing native menu toggle hit area clickable. */
  #main-wrapper .topbar.wt-modern-header .navbar-header > .nav-toggler {
    position: relative !important;
    z-index: 5 !important;
    pointer-events: auto !important;
    cursor: pointer;
    touch-action: manipulation;
  }
}


.am-form form {
    border-radius: 18px;
}


/*table */

/* ==========================================
   WEBTOOLSBD - MODERN PAYMENT HISTORY TABLE
   aMember Pro Custom Theme
========================================== */

/* TABLE CONTAINER */
.am-grid-container:has(.am-member-payment-history) {
    width: 100%;
    max-width: 100%;
    margin: 12px 0 24px;
    overflow-x: auto;
    border-radius: 14px;
    scrollbar-width: thin;
    scrollbar-color: #d9dee8 transparent;
}

/* MAIN TABLE */
table.am-grid.am-member-payment-history {
    width: 100%;
    margin: 0;
    border: 1px solid #e7eaf0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035);
    overflow: hidden;
    font-family: inherit;
}

/* TABLE HEADER */
.am-member-payment-history th {
    padding: 15px 18px !important;
    background: #fff6eb !important;
    color: #8b520e !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    border: 0 !important;
    border-bottom: 1px solid #f4e2ca !important;
    text-align: left;
    white-space: nowrap;
}

/* TABLE ROWS */
.am-member-payment-history tr.am-grid-row {
    transition: background 0.2s ease;
}

/* TABLE CELLS */
.am-member-payment-history td {
    padding: 16px 18px !important;
    font-size: 13px !important;
    font-weight: 400;
    line-height: 1.5;
    color: #445066 !important;
    border: 0 !important;
    border-bottom: 1px solid #edf0f4 !important;
    background: #ffffff !important;
    vertical-align: middle;
}

/* SUBTLE ALTERNATING ROW */
.am-member-payment-history
tr.am-grid-row:nth-child(odd) td {
    background: #fafbfe !important;
}

/* ROW HOVER EFFECT */
.am-member-payment-history
tr.am-grid-row:hover td {
    background: #fff8ef !important;
}

/* REMOVE LAST ROW BORDER */
.am-member-payment-history
tr:last-child td {
    border-bottom: 0 !important;
}

/* DATE */
.am-member-payment-history
td.am-member-payment-history-date {
    color: #667085 !important;
    font-size: 12px !important;
    white-space: nowrap;
}

/* INVOICE LINK */
.am-member-payment-history
td.am-member-payment-history-invoice_id a {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 7px;
    background: #fff1df;
    color: #e88713 !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline !important;
    transition: all 0.2s ease;
}

/* INVOICE HOVER */
.am-member-payment-history
td.am-member-payment-history-invoice_id a:hover {
    background: #f7931e;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* PRODUCT NAME */
.am-member-payment-history
td.am-member-payment-history-items {
    font-weight: 500;
    color: #202b3e !important;
    overflow-wrap: break-word;
}

/* PAYMENT SYSTEM */
.am-member-payment-history
td.am-member-payment-history-paysys {
    font-size: 15px !important;
    color: #667085 !important;
}

/* AMOUNT */
.am-member-payment-history
td.am-member-payment-history-amount {
    color: #000 !important;
    font-size: 13px !important;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

/* AMOUNT HEADER */
.am-member-payment-history
th.am-member-payment-history-amount {
    text-align: right;
}

/* HIGHLIGHT FIRST AND LAST HEADER CORNERS */
.am-member-payment-history
tr:first-child th:first-child {
    border-top-left-radius: 13px;
}

.am-member-payment-history
tr:first-child th:last-child {
    border-top-right-radius: 13px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 767.98px) {

    .am-grid-container:has(.am-member-payment-history) {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
    }

    table.am-member-payment-history {
        min-width: 680px;
    }

    .am-member-payment-history th {
        padding: 12px 14px !important;
        font-size: 10px !important;
    }

    .am-member-payment-history td {
        padding: 12px 14px !important;
        font-size: 12px !important;
    }

    .am-member-payment-history
    td.am-member-payment-history-amount {
        font-size: 12px !important;
    }

    .am-member-payment-history
    td.am-member-payment-history-invoice_id a {
        padding: 5px 8px;
        font-size: 11px;
    }
}

/* CUSTOM SCROLLBAR */
.am-grid-container:has(.am-member-payment-history)
::-webkit-scrollbar {
    height: 5px;
}

.am-grid-container:has(.am-member-payment-history)
::-webkit-scrollbar-thumb {
    background: #d9dee8;
    border-radius: 10px;
}




/* =========================================
   WEBTOOLSBD SINGLE PRODUCT DETAILS
   CLEAN PURCHASE BUTTONS
========================================= */

/* Button Container */
.am-cart-layout-product
.am-cart-product-full
.am-cart-product-content-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin-top: 12px !important;
    padding: 0 !important;
}

/* Both Buttons */
.am-cart-layout-product
.am-cart-product-full
.am-cart-product-content-buttons
:is(.am-cart-button-add, .am-cart-button-order) {
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 168px !important;
    max-width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;

    margin: 0 !important;
    padding: 0 18px !important;

    font-family: 'Rubik', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;

    border-radius: 10px !important;
    box-shadow: none !important;
    text-shadow: none !important;

    cursor: pointer;
    transition: background-color .2s ease;
}

/* Add to Basket */
.am-cart-layout-product
.am-cart-product-full
.am-cart-product-content-buttons
.am-cart-button-add {
    background: #293d55 !important;
    border: 1px solid #293d55 !important;
    color: #fff !important;
}

.am-cart-layout-product
.am-cart-product-full
.am-cart-product-content-buttons
.am-cart-button-add:hover {
    background: #1f3045 !important;
    border-color: #1f3045 !important;
}

/* Quick Order */
.am-cart-layout-product
.am-cart-product-full
.am-cart-product-content-buttons
.am-cart-button-order {
    background: #fff !important;
    border: 1px solid #d7e0ea !important;
    color: #293d55 !important;
}

.am-cart-layout-product
.am-cart-product-full
.am-cart-product-content-buttons
.am-cart-button-order:hover {
    background: #f4f7fa !important;
    border-color: #c3cfdd !important;
}

/* Mobile Responsive */
@media (max-width: 540px) {
    .am-cart-layout-product
    .am-cart-product-full
    .am-cart-product-content-buttons
    :is(.am-cart-button-add, .am-cart-button-order) {
        flex: 1 1 100% !important;
        width: 100% !important;
        min-width: 0 !important;
    }
}



/* Quick Order */
.am-cart-layout-product
.am-cart-product-full
.am-cart-product-content-buttons
.am-cart-button-order {
    background: #ffffff !important;
    border: 1px solid #d7e0ea !important;
    color: #293d55 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
}

.am-cart-layout-product
.am-cart-product-full
.am-cart-product-content-buttons
.am-cart-button-order:hover {
    background: #ffffff !important;
    border-color: #c5d0dd !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12) !important;
    transform: translateY(-1px);
}

.am-cart-layout-product
.am-cart-product-full
.am-cart-product-content-buttons
.am-cart-button-order:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08) !important;
}
input.am-cart-button-order {
    box-shadow: rgba(15, 23, 42, 0.08) 0px 4px 12px !important;
}








/*this is section dashboard tools*/
