html, body {
	background-color:#f5f5f5;	
  height: 100%;
  margin: 0;
  overflow: auto; /* main scrollbar only */
}

/* Highlight editable cells on hover */
.tabulator-cell.editable-cell:hover {
    background-color: #fff3cd; /* light yellow */
    cursor: pointer;
}

#mwms2-toolbar {
    float: left;
    padding: 0.2em;
}

.btn-mwms2-toolbar {
    font-weight: bold;
    color: #7a5d2a;
    background-color: #FFDEA6;
    border-color: #e7cc9d;
} 
 
.btn-mwms2-toolbar:hover, 
.btn-mwms2-toolbar:focus, 
.btn-mwms2-toolbar:active, 
.btn-mwms2-toolbar.active, 
.open .dropdown-toggle.btn-mwms2-toolbar { 
    color: #684f24;
    background-color: #e1c390;
    border-color: #bfa374;
} 
 
.btn-mwms2-toolbar:active, 
.btn-mwms2-toolbar.active, 
.open .dropdown-toggle.btn-mwms2-toolbar { 
  background-image: none; 
} 
 
.btn-mwms2-toolbar.disabled, 
.btn-mwms2-toolbar[disabled], 
fieldset[disabled] .btn-mwms2-toolbar, 
.btn-mwms2-toolbar.disabled:hover, 
.btn-mwms2-toolbar[disabled]:hover, 
fieldset[disabled] .btn-mwms2-toolbar:hover, 
.btn-mwms2-toolbar.disabled:focus, 
.btn-mwms2-toolbar[disabled]:focus, 
fieldset[disabled] .btn-mwms2-toolbar:focus, 
.btn-mwms2-toolbar.disabled:active, 
.btn-mwms2-toolbar[disabled]:active, 
fieldset[disabled] .btn-mwms2-toolbar:active, 
.btn-mwms2-toolbar.disabled.active, 
.btn-mwms2-toolbar[disabled].active, 
fieldset[disabled] .btn-mwms2-toolbar.active { 
  background-color: #FFDEA6; 
  border-color: #D5BE96; 
} 
 
.btn-mwms2-toolbar .badge { 
  color: #FFDEA6; 
  background-color: #000000; 
}

/*======*/

#mwms2-title {
    float: left;
}

#mwms2_admin_main {
    min-height: 500px;
}

#example-table {
  width: 100%;
  min-height: 400px; /* or whatever height you need */
  box-sizing: border-box; /* prevent layout overflow */
}



/* table wrapper handles horizontal scroll */
#mwms2-table-wrapper {
    margin: 1em;
       border-radius: 0.25rem;
    border: 1px solid #ccc;
    overflow: hidden;
}
#mwms2-table-wrapper.no-margin {
    margin: 0;
}

.mwms2-table-wrapper {
    
}



/* === FIXED TABULATOR HEADER (base) === */
.tabulator-header {
	background: white;
	z-index: 1020;
}
.tabulator-floating-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1030;
	background: white;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	pointer-events: none; /* don't block clicks below */
}


.tabulator .tabulator-footer .tabulator-page.active {
	background-color:#000;
    color: #fff;
}


.search-bar {
	float:left;
}

.search-bar .input-group {

}

.search-bar .form-control {
    border: 1px solid #e1cda9;
    padding-left: 20px;
}

.navbar-brand {
	margin:0 0.7em 0 0;
	padding:0;
}
.navbar-mwms2 {
    z-index: 1021;
	background-color:#222;
}
.navbar-nav > li {
	padding:0 0.25rem;
	border-left:1px solid #444;
}

.navbar-mwms2 .mwms2-last-sync-nav-item {
	padding: 0.42em 0.5em;
}
.navbar-mwms2 .mwms2-last-sync-nav-item-text {
font-size: 0.8em;
    color: #999;
    display: block;
    text-align: right;
    line-height: 1.4em;
}
.navbar-mwms2 .mwms2-last-sync-nav-item-text strong {
    color: #ccc;
}

.navbar-mwms2 .mwms2-info-nav {
    align-items: center;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    min-width: 0;
}
.navbar-mwms2 .mwms2-sync-nav-item,
.navbar-mwms2 .mwms2-user-profile {
    flex: 0 0 auto;
}
.navbar-mwms2 .mwms2-sync-trigger.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    min-height: 0;
    height: 2.45rem;
    margin: 0;
    padding: 0.25rem 0.55rem;
    border: 1px solid rgba(255, 237, 206, 0.18);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 237, 206, 0.13), rgba(255, 237, 206, 0.05));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #d5d5d5;
    line-height: 1;
    white-space: nowrap;
}
.navbar-mwms2 .mwms2-sync-trigger.nav-link:hover,
.navbar-mwms2 .mwms2-sync-trigger.nav-link:focus,
.navbar-mwms2 .mwms2-sync-trigger.nav-link.show {
    color: #ffedce;
    background: linear-gradient(180deg, rgba(255, 237, 206, 0.18), rgba(255, 237, 206, 0.07));
}
.navbar-mwms2 .mwms2-sync-trigger.nav-link .bi {
    flex: 0 0 auto;
    color: #ffedce;
    font-size: 0.95rem;
    line-height: 1;
}
.navbar-mwms2 .mwms2-sync-trigger.nav-link span,
.navbar-mwms2 .mwms2-sync-trigger.nav-link strong {
    float: none;
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: 0.72rem;
    line-height: 1;
    text-transform: uppercase;
    vertical-align: middle;
}
.navbar-mwms2 .mwms2-sync-trigger.nav-link span {
    color: #b9b9b9;
    letter-spacing: 0.02em;
}
.navbar-mwms2 .mwms2-sync-trigger.nav-link strong {
    color: #fff;
    font-weight: 700;
}
.navbar-mwms2 .mwms2-sync-trigger.dropdown-toggle::after {
    margin-left: 0;
}
.navbar-mwms2 .mwms2-sync-dropdown {
    min-width: 24rem;
    padding: 0.45rem;
    background-color: #2a2a2a;
    border: 1px solid #444;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.35);
}
.navbar-mwms2 .mwms2-sync-dropdown-title {
    padding: 0.35rem 0.45rem 0.5rem;
    color: #ffedce;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
    text-transform: uppercase;
}
.navbar-mwms2 .mwms2-sync-dropdown-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem;
    border-radius: 0.35rem;
    color: #d5d5d5;
    line-height: 1.2;
    white-space: nowrap;
}
.navbar-mwms2 .mwms2-sync-dropdown-row:hover {
    background-color: #3a3a3a;
}
.navbar-mwms2 .mwms2-sync-dropdown-label {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 0.45rem;
}
.navbar-mwms2 .mwms2-sync-dropdown-label .bi {
    flex: 0 0 auto;
    color: #ffedce;
    font-size: 1rem;
}
.navbar-mwms2 .mwms2-sync-dropdown-label span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.78rem;
    text-transform: none;
}
.navbar-mwms2 .mwms2-sync-dropdown-row strong {
    flex: 0 0 auto;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
}
@media (max-width: 991.98px) {
    .navbar-mwms2 .mwms2-info-nav {
        align-items: stretch;
    }
    .navbar-mwms2 .mwms2-sync-nav-item {
        width: 100%;
    }
    .navbar-mwms2 .mwms2-sync-trigger.nav-link {
        justify-content: flex-start;
        width: 100%;
        border-radius: 0.35rem;
    }
    .navbar-mwms2 .mwms2-sync-dropdown {
        min-width: 100%;
    }
}

.navbar-mwms2 .dropdown-toggle::after {
    margin-left: 0.5em;
}

.navbar-nav .nav-link {
	display:table;
    padding: 0.4em;
}
.nav-icon {
	float:left;	
	margin-right:0.4em;
	display:block;
	width:36px;
	height:36px;
}
.navbar-nav .nav-link {
	text-align:left;
}
.navbar-nav .nav-link span {
    margin: 2px 0;
    float: left;
    font-size: 12px;
    text-transform: uppercase;
    display: block;
    line-height: 16px;
    vertical-align: middle;
}

.navbar-mwms2 .dropdown-item.active,
.navbar-mwms2 .dropdown-item:active {
    background-color: #f54b55;
    text-shadow: 1px 1px #70292d;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
	    color: #ffedce;
background-color: #444;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.navbar-nav .dropdown-toggle::after {
    vertical-align: -0.150em;
}

.mwms2-info-nav li {
	border: 0;
}

.mwms2-user-profile {

}
.mwms2-user-profile .nav-link {
	text-align:right;
}

.heading {
    top: 65px;
    padding: 0.5em 1em;
    background-color: #ffedce;
       -webkit-box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.2); 
}
.heading h4 {
    font-weight: 300;
    margin-bottom: 0px;
    text-transform: uppercase;
}
.heading h4 span {
	    font-size: 1.2em;
	float:left;
}

/*=== ACTION BAR ====================*/
#mwms2-action-bar {
	float: right;
}
#mwms2-action-bar .mwms2-action-bar-section {
	float: left;
}

.mwms2-toolbar-text {
    padding: 0.4em;
}

footer {
	display:block;
}

.tabulator-row .tabulator-cell {
	font-weight:bold;
}
.mwms2-products-group .tabulator-cell {
    border-right: 1px solid #c1cee3;
}


.tabulator-row.tabulator-selectable:hover {
	background-color: #ffedce;
}
.mwms2-products-group.tabulator-row {
    border-bottom: 1px solid #c1cee3;
}
	
.mwms2-max {
	margin-right:0.5em;
	float:left;
}

.mwms2-pricecalc-label {
    font-size: 14px;
    font-weight: bold;	
}

.mwms2-pricecalc-input {
    font-weight: bold;
}

.mwms2-pricecalc-modal-title {
	margin-right:0.5rem;
}
.mwms2-pricecalc-result-row {
	padding:0.3rem 0;
}
.mwms2-pricecalc-result-text {
	font-weight:bold;
}
.mwms2-pricecalc-last-calculated-price {
	font-weight:bold;
}


#mwms2_total_purchase_price_result_text,
#mwms2_amazon_product_price_result_text,
#mwms2_earnings_result_text {
	line-height:0.65rem;
}

#mwms2_pricecalc_countries_prices_table .mwms2-pricecalc-dc {
	font-weight: bold;
}
#mwms2_pricecalc_countries_prices_table .mwms2-pricecalc-dc {
	font-weight: bold;
}

#mwms2_pricecalc_countries_prices_table .mwms2-pricecalc-amazon-price {

}
#mwms2_pricecalc_countries_prices_table .mwms2-pricecalc-earnings {

}

.mwms2-info-card span {
	display: block;
}

@media (min-width: 1200px) {
    .modal-xl {
        --bs-modal-width: 1240px;
    }
}

.mwms2-products-group {
    background-color: #cfe2ff !important;
}
.mwms2-children-products-group {
    background-color: #eee !important;
}


.mwms2-form-label {
    font-weight: bold;
}

.mwms2-total-order-price-section {
    margin: 0 2rem;
    font-size:25px;
}

.mwms2-total-order-price-section #totalOrderPrice {
    color:green;
}

.mwms2-modal-subtitle{
    font-size: 1.2rem;        /* larger */
    font-weight: 700;
    color: #0d6efd;           /* bootstrap primary blue */
    line-height: 1.25;
}

/*===========================================================================*/
/* F O O T E R
/*===========================================================================*/
#mwms2-footer {
    padding: 0 0.5em;
}
#mwms2-footer .info-text {
    margin: 0;
    font-size: 0.8em;
    color: #999;
}






    .mwms2-dashboard-card {
        position: relative;
        display: flex;
        align-items: center;
        gap: 18px;
        min-height: 130px;
        padding: 24px;
        border-radius: 5px;
        overflow: hidden;
        color: #fff;
        box-shadow: 0 10px 28px rgba(15, 23, 42, .16);
        transition: transform .18s ease, box-shadow .18s ease;
    }

    .mwms2-dashboard-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 38px rgba(15, 23, 42, .22);
    }

    .mwms2-dashboard-card::after {
        content: "";
        position: absolute;
        right: -35px;
        bottom: -35px;
        width: 130px;
        height: 130px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .16);
    }

    .mwms2-dashboard-card-icon {
        position: relative;
        z-index: 2;
        width: 58px;
        height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 18px;
        background: rgba(255, 255, 255, .18);
        backdrop-filter: blur(6px);
        font-size: 28px;
    }

    .mwms2-dashboard-card-content {
        position: relative;
        z-index: 2;
    }

    .mwms2-dashboard-card-label {
        font-size: 14px;
        font-weight: 600;
        opacity: .88;
        margin-bottom: 4px;
    }

    .mwms2-dashboard-card-value {
        font-size: 36px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -1px;
    }

    .mwms2-card-blue {
        background: linear-gradient(135deg, #2563eb, #38bdf8);
    }

    .mwms2-card-purple {
        background: linear-gradient(135deg, #7c3aed, #c084fc);
    }

    .mwms2-card-green {
        background: linear-gradient(135deg, #059669, #34d399);
    }

    .mwms2-card-orange {
        background: linear-gradient(135deg, #ea580c, #facc15);
    }

    .mwms2-dashboard-hero {
        min-height: 587px;
        border-radius: 5px;
        background-color: #fff;
        border: 1px solid rgba(148, 163, 184, .22);
        box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 40px 20px;
    }

    .mwms2-dashboard-hero-content {
        max-width: 760px;
    }

    .mwms2-dashboard-hero-icon {
        width: 110px;
        height: 110px;
        margin: 0 auto 22px;
        border-radius: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        box-shadow: 0 12px 30px rgba(15, 23, 42, .12);
    }

    .mwms2-dashboard-hero-icon img {
        width: 96px;
        height: 96px;
        object-fit: contain;
    }

    .mwms2-dashboard-hero h1 {
        font-size: 48px;
        font-weight: 800;
        letter-spacing: -1.5px;
        color: #0f172a;
        margin-bottom: 10px;
    }

    .mwms2-dashboard-hero p {
        font-size: 19px;
        color: #64748b;
        margin-bottom: 26px;
    }

    .mwms2-dashboard-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .mwms2-dashboard-tags span {
        padding: 9px 16px;
        border-radius: 999px;
        background: #fff;
        color: #475569;
        font-size: 14px;
        font-weight: 600;
        border: 1px solid rgba(148, 163, 184, .28);
        box-shadow: 0 4px 12px rgba(15, 23, 42, .06);
    }

    @media (max-width: 575.98px) {
        .mwms2-dashboard-card {
            min-height: 115px;
            padding: 20px;
        }

        .mwms2-dashboard-card-value {
            font-size: 32px;
        }

        .mwms2-dashboard-hero h1 {
            font-size: 38px;
        }

        .mwms2-dashboard-hero p {
            font-size: 16px;
        }
    }
.navbar-mwms2 .mwms2-sync-trigger.nav-link span {
    max-width: 10.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
}
