@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=JetBrains+Mono:wght@500&display=swap');

input[type="checkbox"] {
    position: relative !important;
    width: 22px;
    height: 22px;
}

.mx-name-container_iteminfo_header .fontbody {
	color: #3C464E !important;
}

.hidepayduringtransaction {
	display: none;
}

.payfabric-sdk-divider {
	display: none;
}

input[type='checkbox']:after {
    width: 11px;
    height: 7px;
}

* {font-family: Roboto;}

.fontsubcaption {
	font-family: Roboto;
	font-style: normal;
	font-weight: normal;
	font-size: 10px;
	line-height: 12px;
	color: #3C464E;
}

.hideempty .mx-listview-empty {
	display: none;
}

.cartlabels .control-label {
	font-family: Roboto;
	font-style: normal;
	font-weight: normal;
	font-size: 12px;
	line-height: 14px;
	color: #3C464E;
}

.cartlabels .form-control {
	width: 100% !important
}

.cartform .form-control {
	width: 100%;
}

.cart-checkbox.label-after {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
}

.cart-checkbox.label-after .control-label {
	flex: 1;
	margin-left: 13px;
	font-family: Roboto;
	font-style: normal;
	font-weight: normal;
	font-size: 10px;
	line-height: 12px;
	color: #3C464E;
	white-space: normal;
	overflow: visible;
}

.cart-checkbox.label-after .mx-validation-message {
	flex-basis: calc(100% - 35px);
	margin-left: 35px;
}

.iconblockpeach {
	background: #6587b5;
}

.iconblockblue {
	background: #219895;
}
.carttypebuttons {
	height: 36px;
	font-family: 'Roboto';
    border-radius: 8px;
}

.fonthead {
	color: #3C464E;
	font-family: Roboto;
	font-style: normal;
	font-weight: 500;
	font-size: 20px;
	line-height: 23px;
	text-align: right;
}

.fontlettericon {
	color: #ffffff;
	font-family: Roboto;
	font-style: normal;
	font-weight: normal;
	font-size: 22px;
}

.fontcaptionicon {
	color: white;
	font-family: Roboto;
	font-style: normal;
	font-weight: normal;
	font-size: 12px;
    display: block;
}

.productbox .fontlettericon {
	color: #3C464E;
	font-size: 32px;
	line-height: 37px;
}

.cartform .numerickeypad.form-group {
	margin-bottom: 0;
}

.fontcaption {
	color: #839BAD;
	font-family: Roboto;
	font-style: normal;
	font-weight: normal;
	font-size: 12px;
	line-height: 14px;
	margin-bottom: 5px;
    display: block;
    margin-top: 5px;
}

.fontbody {
	font-family: Roboto;
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	line-height: 19px;
	color: #3C464E;
}

.productbox {
	background: #FFFFFF;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.08);
	border-radius: 2px;
	margin-bottom: 8px;
	padding-bottom: 1px;
}

.spinnerbutton {
	width: 30px;
	height: 30px;
	border-radius: 2px;
	padding: 0px;
	border: none;}

.spinnerbuttonup {
	background: #E4F3FF;
	color: #207ABE; 
}

.spinnerqty {
	width: 30px;
	height: 30px;
	padding: 0px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.kch0xi {
	width: 100%;
	bottom-margin: 10px;}

.HfacC {
    border: 1px solid #D7D7D7 !important;
    box-shadow: none !important;
}

.formfontlarge .form-control {
	font-size: large;
}

.ggarWm {
    font-size: medium !important;}

.wallet-pay-container {
	flex-wrap: wrap; }

.wallet-pay-container .wallet-pay-apple {
	margin: 10px; }

.themefont {
	font-family: 'Varela Round', sans-serif;
}

.themered {
	color: #fb5058;
}

.citoheader {
	font-family: 'Varela Round', sans-serif;
	background: #fb5058;
    padding: 5px;
    border-radius: 30px;
    margin: 15px 25px 15px 25px;
    text-align: center;
    color: white;
    font-size: x-large;}


.old.day.datepickervaliddate {
	background-color: #ff979b !important;
	color: white !important;
} 

.new.day.datepickervaliddate {
	background-color: #ff979b !important;
	color: white !important;
} 


.datepicker table tr td.active.active {
	background-color: #01a65c !important;
    background-image: none !important;
    border: none !important;
    padding: 5px;
}

.datepicker table tr td.datepickervaliddate {
    background-color: #fb5058 !important;
    color: white;
	padding: 5px !important}



.datepicker-inline {
    width: 250px !important; }

.hidemorebutton .mx-listview-loadMore {
	display: none;
}

.quicktimepick ul {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.centerdatepicker .datepicker {
    margin-right: auto;
    margin-left: auto;}

.citofirstname .form-control {
	display: flex;
    flex: 1;
    width: auto;
    height: auto;
    padding: 7px 10px 8px 14px;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    color: #fb5058;
    border: 1px solid #D7D7D7;
    border-radius: 20px;
    background-color: #fff;
    background-image: none;
    box-shadow: none;
    font-size: 14px;
    line-height: 1.42857;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.centerinput .form-control {
	text-align: center;
	font-size: large;
    color: green;
}

.centerspinner > div {
	display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px;
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 200px;
  height: 200px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 200px;
  height: 200px;
  border: 20px solid #01a65c;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #217bc0 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.dollarusd .mx-datagrid-data-wrapper:before {
    content: '$';
}

.sazgroupbox {
	margin-bottom: 15px;
}

.mx-groupbox.sazgroupbox > .mx-groupbox-header {
	font-size: 14px;
	line-height: 1.42857;
	padding: 10px 15px;
}

.mx-groupbox.sazgroupbox > .mx-groupbox-body {
	padding: 10px 15px;
}

.groupbox-graybg .mx-groupbox-body {
	background: #cecece;
}

.groupbox-whitebg .mx-groupbox-body {
	background: white;
}

.dirty input{
	border-color: green;
	border-width: 2px;
}

.nobadgerequired {
	font-size: 12px;
}

.scanwindow .modal-body {
	min-height: 480px;
}

/* ==========================================================================
   Admin redesign (Orders / Carts / Products overview pages)
   Scoped to pages whose main container has the class "wb-admin".
   ========================================================================== */

:root {
	--wb-surface-0: #f8f8f8;
	--wb-surface-3: #e7e7e9;
	--wb-text: #0a1325;
	--wb-text-muted: #6c717e;
	--wb-edge: #ced0d3;
	--wb-edge-soft: #e6e7ea;
	--wb-edge-strong: #a9acb3;
	--wb-primary: #264ae5;
	--wb-success: #2b8a2c;
	--wb-warning: #b97c06;
	--wb-danger: #e33f4e;
	--wb-info: #0086d9;
	--wb-purple: #7b2fff;
	--wb-navy: #020557;
	--wb-radius: 10px;
	--wb-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	--wb-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--wb-i-receipt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 2v20l3-2 3 2 3-2 3 2 3-2 1 .7V2l-1 .7-3-2-3 2-3-2-3 2-3-2z'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E");
	--wb-i-badge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Cpath d='M8 17c.8-1.5 2.3-2.3 4-2.3s3.2.8 4 2.3'/%3E%3C/svg%3E");
	--wb-i-cart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2.5 3h2.6l2.4 12.2a1.6 1.6 0 0 0 1.6 1.3h8.8a1.6 1.6 0 0 0 1.6-1.2L21.5 7H6'/%3E%3C/svg%3E");
	--wb-i-tag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.6 2.6A2 2 0 0 0 11.2 2H4a2 2 0 0 0-2 2v7.2a2 2 0 0 0 .6 1.4l8.7 8.7a2.4 2.4 0 0 0 3.4 0l6.6-6.6a2.4 2.4 0 0 0 0-3.4z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.2'/%3E%3C/svg%3E");
	--wb-i-sliders: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6'/%3E%3C/svg%3E");
	--wb-i-umbrella: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12a10 10 0 0 0-20 0z'/%3E%3Cpath d='M12 12v8a2 2 0 0 0 4 0'/%3E%3Cpath d='M12 2v1'/%3E%3C/svg%3E");
	--wb-i-printer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V2h12v7'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E");
	--wb-i-bank: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M3 10h18M5 6l7-3 7 3M4 10v11M20 10v11M8 14v3M12 14v3M16 14v3'/%3E%3C/svg%3E");
	--wb-i-chart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 17v-4M11.5 17V8M16 17v-6M20.5 17V5'/%3E%3C/svg%3E");
	--wb-i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
	--wb-i-settings: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z'/%3E%3C/svg%3E");
	--wb-i-truck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2M15 18H9M19 18h2a1 1 0 0 0 1-1v-3.6a1 1 0 0 0-.2-.6l-3.5-4.4A1 1 0 0 0 17.5 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E");
	--wb-i-sun: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E");
	--wb-i-file: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E");
	--wb-i-pause: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M10 15V9M14 15V9'/%3E%3C/svg%3E");
	--wb-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E");
	--wb-i-palette: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22a10 10 0 1 1 10-10c0 2.8-2.2 4-4 4h-1.8a1.7 1.7 0 0 0-1.2 2.9A1.7 1.7 0 0 1 13.8 22z'/%3E%3Ccircle cx='7.5' cy='10.5' r='1'/%3E%3Ccircle cx='12' cy='7' r='1'/%3E%3Ccircle cx='16.5' cy='10.5' r='1'/%3E%3C/svg%3E");
	--wb-i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	--wb-i-key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4.5'/%3E%3Cpath d='m10.7 12.3 9.8-9.8M17 6l3 3M14.5 8.5l2 2'/%3E%3C/svg%3E");
	--wb-i-package: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5z'/%3E%3Cpath d='m3 8 9 5 9-5M12 13v8M7.5 5.5l9 5'/%3E%3C/svg%3E");
}

/* ---------- Typography (overrides the global Roboto rule on these pages) ---------- */
:where(.mx-page:has(.wb-admin)) * {
	font-family: "Open Sans", sans-serif;
}

/* ---------- Top bar: client name next to the logo ---------- */
.region-topbar .mx-placeholder:has(.wb-client-name) {
	display: flex;
	align-items: center;
	gap: 14px;
}

.region-topbar .wb-client-name {
	display: inline-block;
	padding-left: 14px;
	border-left: 1px solid rgba(255, 255, 255, 0.25);
	line-height: 26px;
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0.3px;
	white-space: nowrap;
}

.mx-page:has(.wb-admin) .region-topbar .mx-navbar > li > a {
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.82);
	font-weight: 600;
}

.mx-page:has(.wb-admin) .region-topbar .mx-navbar > li > a:hover,
.mx-page:has(.wb-admin) .region-topbar .mx-navbar > li > a:focus {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

/* ---------- Page canvas ---------- */
.region-content:has(.wb-admin) {
	background: var(--wb-surface-0);
}

.wb-admin {
	max-width: 1440px;
	margin: 0 auto !important;
	padding: 28px 28px 60px;
	color: var(--wb-text);
}

.wb-page-header {
	margin-bottom: 20px;
}

.wb-page-header .wb-eyebrow {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	letter-spacing: 0.8px;
	color: var(--wb-text-muted);
}

.wb-page-header h1.wb-page-title {
	margin: 0;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--wb-text);
}

/* ---------- Section tabs (Seasons.SNIP_CurrentSeasonNavBar) ---------- */
.wb-admin .mx-name-container3 {
	display: flex;
	justify-content: flex-start !important;
	align-items: stretch;
	gap: 2px;
	margin-bottom: 24px;
	padding: 5px;
	overflow-x: auto;
	background: #fff;
	border: 1px solid var(--wb-edge);
	border-radius: var(--wb-radius);
	box-shadow: var(--wb-shadow);
}

.wb-admin .mx-name-container3 > .btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	float: none;
	margin: 0 !important;
	padding: 9px 16px;
	border: 0;
	border-radius: 7px;
	background: none;
	box-shadow: none;
	color: var(--wb-text-muted);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.wb-admin .mx-name-container3 > .btn::before {
	content: "";
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	background-color: var(--wb-tab-color, currentColor);
	-webkit-mask: var(--wb-tab-icon) center / contain no-repeat;
	mask: var(--wb-tab-icon) center / contain no-repeat;
}

.wb-admin .mx-name-container3 > .btn:hover,
.wb-admin .mx-name-container3 > .btn:focus {
	background: rgba(0, 0, 0, 0.035);
	color: var(--wb-text);
}

.wb-admin .mx-name-container3 > .mx-name-actionButton6 { --wb-tab-icon: var(--wb-i-receipt); --wb-tab-color: #264ae5; }
.wb-admin .mx-name-container3 > .mx-name-actionButton7 { --wb-tab-icon: var(--wb-i-badge); --wb-tab-color: #7b2fff; }
.wb-admin .mx-name-container3 > .mx-name-actionButton8 { --wb-tab-icon: var(--wb-i-cart); --wb-tab-color: #0086d9; }
.wb-admin .mx-name-container3 > .mx-name-actionButton5 { --wb-tab-icon: var(--wb-i-tag); --wb-tab-color: #e09a12; }
.wb-admin .mx-name-container3 > .mx-name-actionButton2 { --wb-tab-icon: var(--wb-i-sliders); --wb-tab-color: #6c717e; }
.wb-admin .mx-name-container3 > .mx-name-actionButton3 { --wb-tab-icon: var(--wb-i-umbrella); --wb-tab-color: #3cb33d; }
.wb-admin .mx-name-container3 > .mx-name-actionButton9 { --wb-tab-icon: var(--wb-i-bank); --wb-tab-color: #0a9e8a; }
.wb-admin .mx-name-container3 > .mx-name-actionButton10 { --wb-tab-icon: var(--wb-i-chart); --wb-tab-color: #d6336c; }

/* Separator between the data tabs and the configuration tabs */
.wb-admin .mx-name-container3 > .mx-name-actionButton2 {
	margin-left: 13px !important;
}

.wb-admin .mx-name-container3 > .mx-name-actionButton2::after {
	content: "";
	position: absolute;
	top: 6px;
	left: -8px;
	bottom: 6px;
	width: 1px;
	background: var(--wb-edge-soft);
}

/* Active tab: the button id ends with the page that is currently open */
.wb-admin .mx-name-container3 > .mx-name-actionButton6[data-button-id$=".Orders.WPG_Orders_ViewAll"],
.wb-admin .mx-name-container3 > .mx-name-actionButton7[data-button-id$=".Badges.WPG_Badges_ViewAll"],
.wb-admin .mx-name-container3 > .mx-name-actionButton8[data-button-id$=".Carts.WPG_Carts_ViewAll"],
.wb-admin .mx-name-container3 > .mx-name-actionButton5[data-button-id$=".Products.WPG_Product_ViewAll"],
.wb-admin .mx-name-container3 > .mx-name-actionButton9[data-button-id$=".PayoutReports.WPG_PayoutReport_Overview"],
.wb-admin .mx-name-container3 > .mx-name-actionButton10[data-button-id$=".DailyReports.WPG_DailyReport_Overview"],
.wb-admin .mx-name-container3 > .mx-name-actionButton2[data-button-id$=".Seasons.WPG_Season_CreateEdit"],
.wb-admin .mx-name-container3 > .mx-name-actionButton3[data-button-id$=".Clients.WPG_Client_Edit"] {
	--wb-tab-color: #fff;
	background: var(--wb-navy);
	color: #fff;
}

/* ---------- Data grid card ---------- */
.wb-grid.widget-datagrid {
	background: #fff;
	border: 1px solid var(--wb-edge);
	border-radius: var(--wb-radius);
	box-shadow: var(--wb-shadow);
}

.wb-grid .widget-datagrid-content {
	border-radius: 0 0 var(--wb-radius) var(--wb-radius);
}

.wb-grid .widget-datagrid-top-bar:not(:has(.widget-datagrid-tb-start > *, .widget-datagrid-tb-end > *)) {
	display: none;
}

/* Toolbar (filters placeholder) */
.wb-grid .header-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--wb-edge-soft);
}

.wb-grid .header-filters > * {
	margin: 0;
}

.wb-grid .header-filters:empty {
	display: none;
}

.wb-grid .header-filters .wb-card-title {
	margin-right: 8px;
	font-size: 16px;
	color: var(--wb-text);
}

.wb-grid .header-filters .form-control,
.wb-grid .header-filters input.form-control {
	height: 36px;
	border: 1px solid var(--wb-edge);
	border-radius: 6px;
	background-color: #fff;
	box-shadow: none;
	color: var(--wb-text);
	font-size: 14px;
}

.wb-grid .header-filters .form-control::placeholder {
	color: var(--wb-text-muted);
}

.wb-grid .header-filters .form-control:hover {
	border-color: var(--wb-edge-strong);
}

.wb-grid .header-filters .form-control:focus,
.wb-grid .header-filters .form-control:focus-within {
	border-color: var(--wb-primary);
	box-shadow: 0 0 0 3px rgba(38, 74, 229, 0.12);
	outline: none;
}

/* Search box with icon */
.wb-grid .header-filters .wb-search {
	position: relative;
	flex: 0 1 320px;
	min-width: 220px;
}

.wb-grid .header-filters .wb-search::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 11px;
	z-index: 1;
	width: 16px;
	height: 16px;
	transform: translateY(-50%);
	background-color: var(--wb-text-muted);
	-webkit-mask: var(--wb-i-search) center / contain no-repeat;
	mask: var(--wb-i-search) center / contain no-repeat;
	pointer-events: none;
}

.wb-grid .header-filters .wb-search input.form-control {
	width: 100%;
	padding-left: 34px;
	border-radius: 6px;
}

/* Drop-down filters */
.wb-grid .header-filters .wb-dd {
	flex: 0 0 auto;
	min-width: 150px;
}

.wb-grid .header-filters .widget-dropdown-filter.form-control {
	min-width: 150px;
	padding-top: 0;
	padding-bottom: 0;
	align-items: center;
}

/* Drop-down filter sized to its caption */
.wb-grid .header-filters .wb-dd--fit.widget-dropdown-filter.form-control {
	width: max-content;
	min-width: 0;
}

.wb-grid .header-filters .wb-dd--fit .widget-dropdown-filter-toggle {
	flex: 0 0 auto;
	padding-inline-end: 8px;
}

/* Date filter */
.wb-grid .header-filters .wb-date-filter {
	flex: 0 0 auto;
	width: 320px;
}

/* Filter type button, date input and calendar button render as one joined control */
.wb-grid .header-filters .wb-date-filter .filter-selector-button {
	position: relative;
	width: 44px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--wb-edge);
	border-radius: 6px 0 0 6px;
	background: #fff;
}

/* The widget renders a &nbsp; next to the icon, so center the icon independently of it */
.wb-grid .header-filters .wb-date-filter .filter-selector-button::before {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: 0;
	transform: translate(-50%, -50%);
}

.wb-grid .header-filters .wb-date-filter .react-datepicker-wrapper,
.wb-grid .header-filters .wb-date-filter .filter-input {
	min-width: 0;
}

.wb-grid .header-filters .wb-date-filter .react-datepicker-wrapper {
	margin-left: -1px;
}

.wb-grid .header-filters .wb-date-filter .filter-input {
	border-radius: 0;
}

.wb-grid .header-filters .wb-date-filter .filter-input:focus {
	position: relative;
	z-index: 1;
}

.wb-grid .header-filters .wb-date-filter .btn-calendar {
	justify-content: center;
	width: 44px;
	height: 36px;
	margin-left: -1px;
	padding: 0;
	border-color: var(--wb-edge);
	border-radius: 0 6px 6px 0;
	background: #fff;
	color: var(--wb-text);
}

/* Right-aligned toolbar actions */
.wb-grid .header-filters .wb-toolbar-end {
	margin-left: auto;
}

.wb-grid .header-filters .btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 14px;
	border-radius: 6px;
	font-weight: 600;
}

.wb-grid .header-filters .mx-button.btn-default {
	border-color: var(--wb-edge);
}

/* Column total footer row added by JS_Datagrid_ShowColumnTotal */
.widget-datagrid .wb-grid-totals {
	display: contents;
}

.widget-datagrid .wb-grid-totals .td {
	border-top: 2px solid var(--wb-edge);
	border-bottom: 0;
	background: #f7f8fa;
	font-weight: 600;
	color: var(--wb-text);
}

.widget-datagrid .wb-grid-totals .td:first-child {
	justify-content: flex-start;
}

.widget-datagrid .wb-grid-totals-count {
	margin-left: 6px;
	font-weight: 400;
	color: var(--wb-text-muted);
}

/* Grid action buttons (reset filters, export) placed above a grid */
.wb-grid-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin-bottom: 12px;
}

.wb-grid + .wb-grid-actions {
	margin-top: 32px;
}

.wb-grid-actions .wb-card-title {
	margin: 0 auto 0 0;
	font-size: 16px;
	color: var(--wb-text);
}

.wb-grid-actions .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 36px;
	padding: 0 14px;
	border: 1px solid var(--wb-edge);
	border-radius: 6px;
	background: #fff;
	font-weight: 600;
}

/* Column headers */
.wb-grid .widget-datagrid-grid .th {
	align-items: center;
	padding: 10px 16px;
	background: #fbfbfc;
	border-bottom: 1px solid var(--wb-edge-soft);
}

.wb-grid .th .column-header {
	margin: 0;
	color: var(--wb-text-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.wb-grid .th .column-header svg {
	margin-left: 4px;
	color: var(--wb-edge-strong);
}

.wb-grid .th[aria-sort="ascending"] .column-header,
.wb-grid .th[aria-sort="descending"] .column-header {
	color: var(--wb-text);
}

.wb-grid .th[aria-sort="ascending"] .column-header svg,
.wb-grid .th[aria-sort="descending"] .column-header svg {
	color: var(--wb-primary);
}

.wb-grid .th.column-selector {
	padding: 6px 12px;
}

.wb-grid .th .column-selector-content {
	padding-right: 0;
}

.wb-grid .th .column-selector-button {
	display: inline-grid;
	place-items: center;
	border: 1px solid var(--wb-edge);
	border-radius: 6px;
	background: #fff;
	color: var(--wb-text-muted);
}

.wb-grid .th .column-selector-button:hover {
	border-color: var(--wb-edge-strong);
	color: var(--wb-text);
}

/* Cells */
.wb-grid .td {
	padding: 12px 16px;
	border-color: var(--wb-edge-soft);
	background: #fff;
	color: var(--wb-text);
	font-size: 14px;
	transition: background-color 0.12s;
}

.wb-grid .td.td-borders {
	border-top-width: 0;
}

/* Custom-content cells stretch full width, so the column alignment needs to reach the text */
.wb-grid .td.align-column-right .td-custom-content {
	text-align: right;
}

.wb-grid.table-hover .tr:hover > .td,
.wb-grid .table-hover .tr:hover > .td {
	background-color: #f6f7fb;
}

/* Pager: first / previous / "x to y of z" / next / last */
.wb-grid .widget-datagrid-footer {
	padding: 10px 20px;
	border-top: 1px solid var(--wb-edge-soft);
}

.wb-grid .pagination-bar {
	align-items: center;
	gap: 4px;
	color: var(--wb-text-muted);
	font-size: 13px;
}

.wb-grid .pagination-bar .paging-status {
	padding: 0 12px;
	font-weight: 600;
}

.wb-grid .pagination-bar .pagination-button {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid var(--wb-edge);
	border-radius: 6px;
	background: #fff;
	color: var(--wb-text);
}

.wb-grid .pagination-bar .pagination-button:hover:not(:disabled) {
	border-color: var(--wb-edge);
	background: var(--wb-surface-0);
	color: var(--wb-text);
}

.wb-grid .pagination-bar .pagination-button:disabled {
	border-color: var(--wb-edge);
	background: #fff;
	opacity: 0.4;
}

.wb-grid .pagination-bar .pagination-icon {
	top: 0;
}

/* ---------- Cell content ---------- */

/* IDs: gray prefix + shortened monospace id */
.wb-id {
	display: inline-flex;
	align-items: center;
	font-family: var(--wb-mono) !important;
	font-size: 12px;
	white-space: nowrap;
}

.wb-id .mx-text {
	font-family: var(--wb-mono) !important;
}

.wb-id .wb-id-prefix {
	color: var(--wb-text-muted);
}

/* Customer: initials + name + email */
.wb-customer {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.wb-customer .wb-avatar {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--wb-surface-3);
	color: var(--wb-text);
	font-size: 11px;
	font-weight: 700;
}

.wb-customer .wb-avatar:empty {
	visibility: hidden;
}

.wb-customer-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.25;
}

.wb-customer-text .wb-customer-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wb-sub {
	display: block;
	overflow: hidden;
	color: var(--wb-text-muted);
	font-size: 12px;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Date over time */
.wb-datetime {
	line-height: 1.25;
}

.wb-datetime .wb-date {
	display: block;
}

.wb-unprocessed .wb-sub {
	display: none;
}

.wb-unprocessed .wb-date--processed {
	font-size: 0;
	white-space: nowrap;
}

.wb-unprocessed .wb-date--processed::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 6px;
	border-radius: 50%;
	background: var(--wb-warning);
	vertical-align: middle;
}

.wb-unprocessed .wb-date--processed::after {
	content: "Not processed";
	color: var(--wb-warning);
	font-size: 13px;
	font-weight: 600;
	vertical-align: middle;
}

/* Empty values: Mendix renders a non-breaking space, so swap it for a dash */
.wb-empty-dash:not(.wb-datetime),
.wb-datetime.wb-empty-dash .wb-date {
	font-size: 0;
}

.wb-empty-dash:not(.wb-datetime)::after,
.wb-datetime.wb-empty-dash .wb-date::after {
	content: "\2014";
	color: var(--wb-edge-strong);
	font-size: 13px;
}

.wb-datetime.wb-empty-dash .wb-sub {
	display: none;
}

.wb-mono {
	font-family: var(--wb-mono) !important;
	font-size: 12px;
	white-space: nowrap;
}

.wb-not-activated {
	font-size: 0;
}

.wb-not-activated::after {
	content: "Not activated";
	color: var(--wb-text-muted);
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
	font-style: italic;
}

/* Linked order on a cart, or a "No order" pill when there is none */
.wb-order-ref {
	display: inline-block;
	max-width: 160px;
	overflow: hidden;
	color: var(--wb-primary);
	font-family: var(--wb-mono) !important;
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: middle;
}

.wb-order-link.mx-link {
	padding: 0;
	border: 0;
	text-decoration: none;
}

.wb-order-link.mx-link:hover,
.wb-order-link.mx-link:focus-visible {
	color: var(--wb-primary);
	text-decoration: underline;
}

.wb-order-ref:empty::after {
	content: "No order";
	display: inline-flex;
	padding: 3px 7px;
	border: 1px solid var(--wb-edge);
	border-radius: 4px;
	background: var(--wb-surface-0);
	color: var(--wb-text-muted);
	font-family: "Open Sans", sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

/* Pills */
.wb-pill {
	display: inline-flex;
	align-items: center;
	padding: 3px 7px;
	border: 1px solid;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.5px;
	line-height: 1.4;
	text-transform: uppercase;
	white-space: nowrap;
}

.wb-pill:empty { display: none; }
.wb-pill--blue   { color: var(--wb-info);    background: rgba(0, 134, 217, 0.1);   border-color: rgba(0, 134, 217, 0.3); }
.wb-pill--purple { color: var(--wb-purple);  background: rgba(123, 47, 255, 0.1);  border-color: rgba(123, 47, 255, 0.3); }
.wb-pill--green  { color: var(--wb-success); background: rgba(60, 179, 61, 0.1);   border-color: rgba(60, 179, 61, 0.3); }
.wb-pill--amber  { color: #a86f04;           background: rgba(236, 165, 28, 0.12); border-color: rgba(236, 165, 28, 0.35); }
.wb-pill--gray   { color: var(--wb-text-muted); background: var(--wb-surface-0); border-color: var(--wb-edge); }

/* Status: colored dot + label */
.wb-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.wb-status::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.wb-status--ok    { color: var(--wb-success); }
.wb-status--wait  { color: var(--wb-warning); }
.wb-status--bad   { color: var(--wb-danger); }
.wb-status--muted { color: var(--wb-text-muted); }

/* Money */
.wb-num {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.wb-num--strong { font-weight: 600; }
.wb-num--zero   { color: var(--wb-edge-strong); font-weight: 400; }
.wb-num--neg    { color: var(--wb-danger); }

/* Products: tinted icon thumbnail + name */
.wb-product {
	position: relative;
	display: flex;
	align-items: center;
	min-width: 0;
	min-height: 30px;
	padding-left: 42px;
}

.wb-product::before,
.wb-product::after {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.wb-product::before {
	left: 0;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: rgba(236, 165, 28, 0.12);
}

.wb-product::after {
	left: 7px;
	width: 16px;
	height: 16px;
	background-color: #b97c06;
	-webkit-mask: var(--wb-i-tag) center / contain no-repeat;
	mask: var(--wb-i-tag) center / contain no-repeat;
}

.wb-product .wb-product-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Seasons: tinted sun thumbnail + name + season number */
.wb-season {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	min-height: 30px;
	padding-left: 42px;
	line-height: 1.25;
}

.wb-season::before,
.wb-season::after {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.wb-season::before {
	left: 0;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: rgba(0, 134, 217, 0.08);
}

.wb-season::after {
	left: 7px;
	width: 16px;
	height: 16px;
	background-color: var(--wb-info);
	-webkit-mask: var(--wb-i-sun) center / contain no-repeat;
	mask: var(--wb-i-sun) center / contain no-repeat;
}

.wb-season .wb-sub.hidden {
	display: none;
}

.wb-season .wb-season-name {
	overflow: hidden;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Small outlined text button inside a row */
.wb-grid .btn.wb-row-btn {
	height: 30px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--wb-edge);
	border-radius: 6px;
	background: #fff;
	box-shadow: none;
	color: var(--wb-text);
	font-size: 13px;
	font-weight: 600;
}

.wb-grid .btn.wb-row-btn:hover,
.wb-grid .btn.wb-row-btn:focus {
	border-color: var(--wb-edge-strong);
	background: var(--wb-surface-0);
}

.wb-grid .btn.wb-row-btn--danger {
	color: var(--wb-danger);
}

.wb-grid .btn.wb-row-btn--danger:hover,
.wb-grid .btn.wb-row-btn--danger:focus {
	border-color: rgba(227, 63, 78, 0.45);
	background: rgba(227, 63, 78, 0.06);
	color: var(--wb-danger);
}

/* Row icon buttons */
.wb-grid .btn.wb-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	margin: 0 0 0 4px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 6px;
	background: none;
	box-shadow: none;
	color: var(--wb-text-muted);
}

.wb-grid .btn.wb-icon-btn:hover,
.wb-grid .btn.wb-icon-btn:focus {
	border-color: var(--wb-edge);
	background: #fff;
	color: var(--wb-text);
}

.wb-grid .btn.wb-icon-btn--danger:hover,
.wb-grid .btn.wb-icon-btn--danger:focus {
	color: var(--wb-danger);
}

/* Always-bordered square variant */
.wb-grid .btn.wb-icon-btn--boxed {
	margin-left: 8px;
	border-color: var(--wb-edge);
	background: #fff;
	color: var(--wb-text-muted);
}

.wb-grid .btn.wb-icon-btn--boxed:first-child {
	margin-left: 0;
}

.wb-grid .btn.wb-icon-btn--boxed:hover,
.wb-grid .btn.wb-icon-btn--boxed:focus {
	border-color: var(--wb-edge-strong);
	background: var(--wb-surface-0);
	color: var(--wb-text);
}

.wb-grid .btn.wb-icon-btn--boxed .glyphicon,
.wb-grid .btn.wb-icon-btn--boxed .mx-icon-lined,
.wb-grid .btn.wb-icon-btn--boxed .mx-icon-filled {
	margin: 0;
}

/* Row text buttons side by side */
.wb-row-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

/* ---------- Order Adjustment popup: single column, payment left / cancel right ---------- */
.wb-adjust-col {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	column-gap: 12px;
}

.wb-adjust-col > * {
	flex: 0 0 100%;
	min-width: 0;
}

.wb-adjust-col > .wb-adjust-section {
	margin-bottom: 20px;
}

.wb-adjust-col > .wb-adjust-pay {
	flex: 1 1 auto;
	width: auto;
}

.wb-adjust-col > .wb-adjust-cancel {
	flex: 0 0 auto;
	margin-left: auto;
}

.wb-adjust-col .btn {
	border-radius: 6px;
	font-weight: 600;
}

.wb-adjust-col .btn.disabled {
	pointer-events: none;
	opacity: 0.55;
}

/* ==========================================================================
   Settings pages (Season Config / Beach Config)
   ========================================================================== */

/* ---------- Section cards (group boxes) ---------- */
.wb-settings .wb-section.mx-groupbox {
	background: #fff;
	border: 1px solid var(--wb-edge);
	border-radius: var(--wb-radius);
	box-shadow: var(--wb-shadow);
}

.wb-settings .wb-section > .mx-groupbox-header {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 16px 20px;
	border: 0;
	border-bottom: 1px solid var(--wb-edge-soft);
	border-radius: var(--wb-radius) var(--wb-radius) 0 0;
	background: none;
	color: var(--wb-text);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	cursor: default;
}

.wb-settings .wb-section > .mx-groupbox-header .mx-groupbox-collapse-icon {
	display: none;
}

/* Tinted icon tile: ::before is the tile, ::after is the icon on top of it */
.wb-settings .wb-section > .mx-groupbox-header::before {
	content: "";
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: var(--wb-sec-tint, var(--wb-surface-0));
}

.wb-settings .wb-section > .mx-groupbox-header::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 28px;
	width: 18px;
	height: 18px;
	transform: translateY(-50%);
	background-color: var(--wb-sec-color, var(--wb-text-muted));
	-webkit-mask: var(--wb-sec-icon) center / contain no-repeat;
	mask: var(--wb-sec-icon) center / contain no-repeat;
}

.wb-ico-settings { --wb-sec-icon: var(--wb-i-settings); --wb-sec-color: var(--wb-primary); --wb-sec-tint: rgba(38, 74, 229, 0.08); }
.wb-ico-truck    { --wb-sec-icon: var(--wb-i-truck);    --wb-sec-color: var(--wb-warning); --wb-sec-tint: rgba(236, 165, 28, 0.12); }
.wb-ico-sun      { --wb-sec-icon: var(--wb-i-sun);      --wb-sec-color: var(--wb-info);    --wb-sec-tint: rgba(0, 134, 217, 0.08); }
.wb-ico-file     { --wb-sec-icon: var(--wb-i-file);     --wb-sec-color: var(--wb-purple);  --wb-sec-tint: rgba(123, 47, 255, 0.08); }
.wb-ico-pause    { --wb-sec-icon: var(--wb-i-pause);    --wb-sec-color: var(--wb-warning); --wb-sec-tint: rgba(236, 165, 28, 0.12); }
.wb-ico-mail     { --wb-sec-icon: var(--wb-i-mail);     --wb-sec-color: var(--wb-success); --wb-sec-tint: rgba(60, 179, 61, 0.1); }
.wb-ico-umbrella { --wb-sec-icon: var(--wb-i-umbrella); --wb-sec-color: var(--wb-success); --wb-sec-tint: rgba(60, 179, 61, 0.1); }
.wb-ico-palette  { --wb-sec-icon: var(--wb-i-palette);  --wb-sec-color: var(--wb-purple);  --wb-sec-tint: rgba(123, 47, 255, 0.08); }
.wb-ico-pin      { --wb-sec-icon: var(--wb-i-pin);      --wb-sec-color: var(--wb-primary); --wb-sec-tint: rgba(38, 74, 229, 0.08); }
.wb-ico-key      { --wb-sec-icon: var(--wb-i-key);      --wb-sec-color: var(--wb-warning); --wb-sec-tint: rgba(236, 165, 28, 0.12); }
.wb-ico-package  { --wb-sec-icon: var(--wb-i-package);  --wb-sec-color: var(--wb-info);    --wb-sec-tint: rgba(0, 134, 217, 0.08); }
.wb-ico-printer  { --wb-sec-icon: var(--wb-i-printer);  --wb-sec-color: #d6338a;           --wb-sec-tint: rgba(214, 51, 138, 0.08); }
.wb-ico-tag      { --wb-sec-icon: var(--wb-i-tag);      --wb-sec-color: var(--wb-primary); --wb-sec-tint: rgba(38, 74, 229, 0.08); }
.wb-ico-sliders  { --wb-sec-icon: var(--wb-i-sliders);  --wb-sec-color: var(--wb-success); --wb-sec-tint: rgba(60, 179, 61, 0.1); }
.wb-ico-badge    { --wb-sec-icon: var(--wb-i-badge);    --wb-sec-color: var(--wb-warning); --wb-sec-tint: rgba(236, 165, 28, 0.12); }
.wb-ico-cart     { --wb-sec-icon: var(--wb-i-cart);     --wb-sec-color: var(--wb-info);    --wb-sec-tint: rgba(0, 134, 217, 0.08); }

/* ---------- Card body: two-column field grid ---------- */
.wb-settings .wb-section > .mx-groupbox-body {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 18px 20px;
	padding: 20px;
	border: 0;
	background: none;
}

.wb-settings .wb-section.wb-cols-3 > .mx-groupbox-body {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wb-settings .wb-section > .mx-groupbox-body > * {
	min-width: 0;
	margin: 0;
}

.wb-settings .wb-span-2 {
	grid-column: 1 / -1;
}

@media (max-width: 760px) {
	.wb-settings .wb-section > .mx-groupbox-body,
	.wb-settings .wb-section.wb-cols-3 > .mx-groupbox-body {
		grid-template-columns: 1fr;
	}
}

/* Nested data views (shipping config, PrintNode config) */
.wb-settings-nested > .mx-dataview-content {
	padding: 0;
}

.wb-settings .mx-name-groupBoxPrintNode .form-group {
	max-width: calc(50% - 10px);
	margin: 0;
}

/* Static so the Add Printer card action anchors to the group box header, not this data view */
.wb-settings .mx-name-dataViewPrintNode {
	position: static;
}

.wb-settings .mx-name-dataViewPrintNode > .mx-dataview-content {
	display: grid;
	gap: 18px;
}

/* ---------- Fields ---------- */
.wb-settings .form-group {
	margin-bottom: 0;
}

.wb-settings .form-group > .control-label {
	margin: 0 0 6px;
	padding: 0;
	color: var(--wb-text);
	font-size: 13px;
	font-weight: 600;
	line-height: 18px;
}

.wb-settings .form-control {
	border: 1px solid var(--wb-edge);
	border-radius: 6px;
	background-color: #fff;
	box-shadow: none;
	color: var(--wb-text);
	font-size: 14px;
}

.wb-settings input.form-control {
	flex: none;
	height: 36px;
}

.wb-settings textarea.form-control {
	padding: 8px 10px;
	line-height: 1.45;
}

.wb-settings .form-control:focus {
	border-color: var(--wb-primary);
	box-shadow: 0 0 0 3px rgba(38, 74, 229, 0.12);
}

.wb-settings .mx-compound-control .btn {
	height: 36px;
	border-color: var(--wb-edge);
	border-radius: 0 6px 6px 0;
}

.wb-settings .mx-compound-control .form-control {
	border-radius: 6px 0 0 6px;
}

.wb-mono-input .form-control {
	background-color: #fbfbfc;
	font-family: var(--wb-mono) !important;
	font-size: 12px;
}

/* Subheadings inside a card */
:is(.wb-settings, .wb-order) .wb-subhead {
	margin: 4px 0 0;
	padding-top: 6px;
	border-top: 1px solid var(--wb-edge-soft);
	color: var(--wb-text-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.8px;
	line-height: 1.4;
	text-transform: uppercase;
}

:is(.wb-settings, .wb-order) .wb-subhead:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

/* Unit add-ons ($, days, years, ...). Sits over the input, which starts 24px below the label top. */
.wb-settings .wb-unit {
	position: relative;
}

.wb-settings .wb-unit::after {
	position: absolute;
	top: 25px;
	right: 1px;
	display: grid;
	place-items: center;
	height: 34px;
	padding: 0 10px;
	border-left: 1px solid var(--wb-edge);
	border-radius: 0 5px 5px 0;
	background: var(--wb-surface-0);
	color: var(--wb-text-muted);
	font-size: 13px;
	pointer-events: none;
}

.wb-settings .wb-unit .form-control { padding-right: 64px; }

.wb-unit--days::after  { content: "days"; }
.wb-unit--years::after { content: "years"; }
.wb-unit--hours::after { content: "hrs"; }
.wb-unit--oz::after    { content: "oz"; }
.wb-unit--in::after    { content: "in"; }

.wb-settings .wb-unit.wb-unit--usd::after {
	content: "$";
	right: auto;
	left: 1px;
	border-left: 0;
	border-right: 1px solid var(--wb-edge);
	border-radius: 5px 0 0 5px;
}

.wb-settings .wb-unit.wb-unit--usd .form-control {
	padding-right: 10px;
	padding-left: 38px;
}

/* ---------- Enum radio buttons as a segmented control ---------- */
:is(.wb-settings, .wb-order) .wb-seg .mx-radiogroup {
	display: inline-flex;
	gap: 2px;
	padding: 3px;
	border: 1px solid var(--wb-edge);
	border-radius: 8px;
	background: var(--wb-surface-0);
}

:is(.wb-settings, .wb-order) .wb-seg .mx-radiogroup .radio {
	position: relative;
	margin: 0;
	padding: 0;
}

:is(.wb-settings, .wb-order) .wb-seg .mx-radiogroup .radio input[type="radio"] {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	-webkit-appearance: none;
	appearance: none;
}

:is(.wb-settings, .wb-order) .wb-seg .mx-radiogroup .radio label {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 5px 14px;
	border-radius: 6px;
	color: var(--wb-text-muted);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

:is(.wb-settings, .wb-order) .wb-seg .mx-radiogroup .radio label::before,
:is(.wb-settings, .wb-order) .wb-seg .mx-radiogroup .radio label::after {
	display: none;
}

:is(.wb-settings, .wb-order) .wb-seg .mx-radiogroup .radio:hover label {
	color: var(--wb-text);
}

:is(.wb-settings, .wb-order) .wb-seg .mx-radiogroup .radio:has(input:checked) label {
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
	color: var(--wb-text);
}

:is(.wb-settings, .wb-order) .wb-seg .mx-radiogroup .radio:has(input:focus-visible) label {
	outline: 2px solid var(--wb-primary);
	outline-offset: 1px;
}

/* ---------- Boolean switches as a row ---------- */
.wb-settings .form-group.wb-switch-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	align-self: end;
	padding: 12px 14px;
	border: 1px solid var(--wb-edge-soft);
	border-radius: 8px;
	background: #fbfbfc;
}

.wb-settings .wb-switch-row > .control-label {
	margin: 0;
}

.wb-settings .wb-switch-row .widget-switch {
	display: flex;
	align-items: center;
	margin: 0;
}

/* Compact 38x22 switch to match the mockup (Atlas default is 52x32) */
.wb-settings .wb-switch-row .widget-switch-btn-wrapper {
	box-sizing: border-box;
	width: 38px;
	height: 22px;
	margin: 0;
	border-radius: 11px;
}

.wb-settings .wb-switch-row .widget-switch-btn-wrapper.un-checked {
	border-color: var(--wb-edge-strong);
	background-color: var(--wb-edge-strong);
}

.wb-settings .wb-switch-row .widget-switch-btn {
	top: 2px;
	width: 16px;
	height: 16px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.wb-settings .wb-switch-row .widget-switch-btn.left {
	left: 2px;
}

.wb-settings .wb-switch-row .widget-switch-btn.right {
	left: 18px;
}

/* ---------- Branding card: each logo URL on its own row with its preview at the end ---------- */
.wb-settings .wb-section.mx-name-groupBoxBranding > .mx-groupbox-body {
	grid-template-columns: minmax(0, 1fr) 64px 64px;
	align-items: end;
	gap: 18px 12px;
}

.mx-name-groupBoxBranding .mx-name-containerHeaderLogoPath { grid-area: 1 / 1 / 2 / 2; }
.mx-name-groupBoxBranding .mx-name-imageHeaderLogo { grid-area: 1 / 2 / 2 / 4; }
.mx-name-groupBoxBranding .mx-name-containerSquareLogoPath { grid-area: 2 / 1 / 3 / 3; }
.mx-name-groupBoxBranding .mx-name-imageSquareLogo { grid-area: 2 / 3 / 3 / 4; }
.mx-name-groupBoxBranding .mx-name-textArea1       { grid-area: 3 / 1 / 4 / -1; }

.wb-settings .mx-name-groupBoxBranding input.form-control {
	background-color: #fbfbfc;
	font-family: var(--wb-mono) !important;
	font-size: 12px;
}

/* ---------- Logo path inputs: read-only S3 base URL attached in front of the path ---------- */
.wb-prefix-field__label {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	color: var(--wb-text);
	font-size: 13px;
	font-weight: 600;
	line-height: 18px;
}

.wb-prefix-input {
	display: flex;
	align-items: stretch;
	min-width: 0;
}

.wb-prefix-input > .wb-prefix-input__prefix {
	display: flex;
	flex: 0 1 auto;
	align-items: center;
	max-width: 65%;
	min-height: 36px;
	padding: 0 10px;
	border: 1px solid var(--wb-edge);
	border-right: 0;
	border-radius: 6px 0 0 6px;
	background-color: #eef0f3;
	color: #6b7280;
	font-family: var(--wb-mono) !important;
	font-size: 12px;
	white-space: nowrap;
	user-select: none;
}

.wb-prefix-input__prefix .mx-dataview-content {
	overflow: hidden;
	text-overflow: ellipsis;
}

.wb-prefix-input > .wb-prefix-input__control {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}

.wb-prefix-input__control > .control-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.wb-prefix-input__control .form-control {
	height: 36px;
	border-radius: 0 6px 6px 0;
	font-family: var(--wb-mono) !important;
	font-size: 12px;
}

/* ---------- Logo previews ---------- */
.wb-settings .wb-logo-preview {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 64px;
	padding: 8px;
	border: 1px dashed var(--wb-edge);
	border-radius: 8px;
	background: var(--wb-navy);
	overflow: hidden;
}

.wb-settings .wb-logo-preview--square {
	width: 64px;
}

.wb-settings .wb-logo-preview img {
	width: auto !important;
	max-width: 100%;
	height: auto !important;
	max-height: 100%;
	object-fit: contain;
}

/* ---------- Card header action (Email Templates > Initialize) ---------- */
.wb-settings .wb-has-action.mx-groupbox {
	position: relative;
}

.wb-settings .wb-has-action .btn.wb-card-action {
	position: absolute;
	top: 16px;
	right: 20px;
	margin: 0;
	padding: 6px 12px;
	border: 1px solid var(--wb-edge);
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
}

.wb-settings .wb-section .wb-grid.widget-datagrid {
	box-shadow: none;
}

/* Helper sentence under a card header (Product > Cart Checkboxes) */
.wb-settings .wb-help {
	margin: 0;
	color: var(--wb-text-muted);
	font-size: 13px;
}

/* Color picker: input with the swatch button attached on the right */
.wb-settings .wb-color-input .widget-color-picker-input-container {
	display: flex;
}

.wb-settings .wb-color-input .widget-color-picker-input-container .form-control {
	border-radius: 6px 0 0 6px;
	font-family: var(--wb-mono) !important;
	font-size: 13px;
}

.wb-settings .wb-color-input .widget-color-picker-input-container .btn {
	height: 36px;
	margin: 0;
	border: 1px solid var(--wb-edge);
	border-left: 0;
	border-radius: 0 6px 6px 0;
	background: #fff;
}

/* ---------- Email template editor (Emails.WPU_EmailTemplate_NewEdit) ---------- */
.wb-ico-code {
	--wb-sec-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 18 6-6-6-6M8 6l-6 6 6 6'/%3E%3C/svg%3E");
	--wb-sec-color: var(--wb-primary);
	--wb-sec-tint: rgba(38, 74, 229, 0.08);
}

.wb-ico-eye {
	--wb-sec-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
	--wb-sec-color: var(--wb-info);
	--wb-sec-tint: rgba(0, 134, 217, 0.08);
}

.wb-settings .wb-section.wb-cols-1 > .mx-groupbox-body {
	grid-template-columns: minmax(0, 1fr);
}

.wb-email-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	align-items: stretch;
	gap: 20px;
	margin-bottom: 20px;
}

.wb-email-editor {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

@media (max-width: 1200px) {
	.wb-email-layout {
		grid-template-columns: minmax(0, 1fr);
	}
}

.wb-settings .wb-mono-input textarea.form-control {
	overflow-wrap: anywhere;
}

.wb-settings .wb-code-body textarea.form-control {
	min-height: 520px;
	white-space: pre;
	overflow-wrap: normal;
	overflow-x: auto;
}

.wb-settings .wb-email-preview {
	display: flex;
	flex-direction: column;
}

/* contain: size keeps the email's height out of the row, so the card matches the editor column and the email scrolls */
.wb-settings .wb-email-preview > .mx-groupbox-body {
	display: block;
	flex: 1 1 auto;
	min-height: 480px;
	padding: 0;
	border-radius: 0 0 var(--wb-radius) var(--wb-radius);
	background: #eef3f7;
	overflow: hidden;
	contain: size;
}

.wb-settings .wb-email-preview .wb-preview-frame {
	height: 100%;
	overflow: auto;
}

.wb-settings .wb-email-preview .wb-card-action .mx-icon-lined,
.wb-settings .wb-email-preview .wb-card-action .glyphicon {
	color: var(--wb-warning);
}

/* ---------- Sticky save bar (data view footer) ---------- */
:is(.wb-settings, .wb-order, .wb-payout) > .mx-dataview-controls {
	position: sticky;
	bottom: 16px;
	z-index: 30;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 4px;
	padding: 12px 16px;
	border: 1px solid var(--wb-edge);
	border-radius: var(--wb-radius);
	background: #fff;
	box-shadow: 0 8px 24px rgba(10, 19, 37, 0.12);
}

:is(.wb-settings, .wb-order) > .mx-dataview-controls > .btn {
	margin: 0;
	border-radius: 6px;
	font-weight: 600;
}

:is(.wb-settings, .wb-order) > .mx-dataview-controls > .mx-name-actionButton2 {
	order: -1;
}

/* =========================================================================
   Platform Settings (Platform.WPG_Admin_Dashboard)
   ========================================================================= */

/* ---------- Top bar: wrstbnd logo + "wrstBEACH" ---------- */
.region-topbar .mx-placeholder:has(.wb-platform-brand) {
	display: flex;
	align-items: center;
	gap: 14px;
}

.region-topbar .wb-platform-brand {
	display: inline-block;
	padding-left: 14px;
	border-left: 1px solid rgba(255, 255, 255, 0.25);
	line-height: 26px;
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0.3px;
	white-space: nowrap;
}

/* ---------- Header and tab containers share one canvas ---------- */
.wb-admin.wb-platform-head {
	padding-bottom: 0;
}

.wb-admin.wb-platform-tabs {
	padding-top: 0;
}

.wb-page-header h1 {
	margin: 0;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--wb-text);
}

/* ---------- Tabs (same look as the season section tabs) ---------- */
.wb-platform-tabs > .mx-tabcontainer-tabs {
	display: flex;
	gap: 2px;
	margin: 0 0 24px;
	padding: 5px;
	background: #fff;
	border: 1px solid var(--wb-edge) !important;
	border-radius: var(--wb-radius);
	box-shadow: var(--wb-shadow);
}

.wb-platform-tabs > .mx-tabcontainer-tabs > li {
	margin: 0;
	float: none;
}

.mx-tabcontainer.wb-admin.wb-platform-tabs > .mx-tabcontainer-tabs > li > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 9px 16px;
	border: 0 !important;
	border-radius: 7px;
	background: none;
	box-shadow: none;
	color: var(--wb-text-muted);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.wb-platform-tabs > .mx-tabcontainer-tabs > li > a::before {
	content: "";
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	background-color: var(--wb-tab-color, currentColor);
	-webkit-mask: var(--wb-tab-icon) center / contain no-repeat;
	mask: var(--wb-tab-icon) center / contain no-repeat;
}

.wb-platform-tabs > .mx-tabcontainer-tabs > li:nth-child(1) > a {
	--wb-tab-color: var(--wb-primary);
	--wb-tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
}

.wb-platform-tabs > .mx-tabcontainer-tabs > li:nth-child(2) > a {
	--wb-tab-color: var(--wb-purple);
	--wb-tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E");
}

.mx-tabcontainer.wb-admin.wb-platform-tabs > .mx-tabcontainer-tabs > li > a:hover,
.mx-tabcontainer.wb-admin.wb-platform-tabs > .mx-tabcontainer-tabs > li > a:focus {
	background: rgba(0, 0, 0, 0.035);
	color: var(--wb-text);
}

.mx-tabcontainer.wb-admin.wb-platform-tabs > .mx-tabcontainer-tabs > li.active > a,
.mx-tabcontainer.wb-admin.wb-platform-tabs > .mx-tabcontainer-tabs > li.active > a:hover,
.mx-tabcontainer.wb-admin.wb-platform-tabs > .mx-tabcontainer-tabs > li.active > a:focus {
	--wb-tab-color: #fff;
	background: var(--wb-navy);
	color: #fff;
}

.wb-platform-tabs > .mx-tabcontainer-content {
	padding: 0;
	border: 0;
	background: none;
}

/* ---------- Section heading inside a tab ---------- */
.wb-section-head {
	margin-bottom: 4px;
}

.wb-section-head h2.wb-section-title {
	margin: 0 0 2px;
	font-size: 18px;
	font-weight: 600;
	color: var(--wb-text);
}

.wb-section-head .wb-section-sub {
	margin: 0;
	font-size: 13px;
	color: var(--wb-text-muted);
}

/* ---------- Client cards: gallery items and the add card share one grid ---------- */
.wb-client-grid > .mx-dataview-content {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}

.wb-client-grid > .mx-dataview-content > .wb-section-head {
	grid-column: 1 / -1;
}

.wb-client-gallery,
.wb-client-gallery > .widget-gallery-content,
.wb-client-gallery .widget-gallery-items {
	display: contents;
}

.wb-client-gallery .widget-gallery-top-bar,
.wb-client-gallery .widget-gallery-footer:empty {
	display: none;
}

.wb-client-gallery .widget-gallery-footer {
	grid-column: 1 / -1;
	order: 1;
}

.wb-client-gallery .widget-gallery-footer:not(:has(button)) {
	display: none;
}

.wb-client-gallery .widget-gallery-item {
	display: flex;
	padding: 0;
	border-radius: 12px;
}

.wb-client-gallery .widget-gallery-item-button {
	display: flex;
	flex: 1;
}

.wb-client-card {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 220px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--wb-edge);
	border-radius: 12px;
	box-shadow: var(--wb-shadow);
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.wb-client-gallery .widget-gallery-item:hover .wb-client-card,
.wb-client-gallery .widget-gallery-item:focus-visible .wb-client-card {
	transform: translateY(-2px);
	border-color: var(--wb-edge-strong);
	box-shadow: 0 10px 24px rgba(10, 19, 37, 0.1);
}

.wb-client-cover {
	position: relative;
	flex-shrink: 0;
	height: 76px;
	background: linear-gradient(135deg, var(--brand, var(--wb-navy)), color-mix(in srgb, var(--brand, var(--wb-navy)) 55%, #fff));
}

.wb-client-cover > .wb-pill {
	position: absolute;
	top: 12px;
	right: 12px;
	background: #fff;
}

.wb-client-logo {
	position: absolute;
	left: 18px;
	bottom: -28px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	overflow: hidden;
	background: var(--brand, var(--wb-navy));
	border: 3px solid #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(10, 19, 37, 0.15);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.wb-client-logo.has-img {
	padding: 4px;
}

.wb-client-logo > .wb-client-logo-img,
.wb-client-logo > .wb-client-logo-img > * {
	width: 100%;
	height: 100%;
}

.wb-client-logo img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
}

.wb-client-who {
	flex: 1;
	padding: 40px 18px 14px;
}

.wb-client-card-name {
	display: block;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wb-text);
}

.wb-client-open {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 18px;
	border-top: 1px solid var(--wb-edge-soft);
	color: var(--wb-text-muted);
	font-size: 13px;
	font-weight: 600;
	transition: color 0.15s ease;
}

.wb-client-open::after {
	content: "\2192";
	transition: transform 0.15s ease;
}

.wb-client-gallery .widget-gallery-item:hover .wb-client-open {
	color: var(--wb-primary);
}

.wb-client-gallery .widget-gallery-item:hover .wb-client-open::after {
	transform: translateX(3px);
}

.wb-client-card.is-inactive .wb-client-cover,
.wb-client-card.is-inactive .wb-client-logo {
	filter: grayscale(1);
	opacity: 0.75;
}

/* Dashed "Add a client" card */
.wb-client-grid .btn.wb-add-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 220px;
	margin: 0;
	background: transparent;
	border: 2px dashed var(--wb-edge-strong);
	border-radius: 12px;
	box-shadow: none;
	color: var(--wb-text-muted);
	font-size: 14px;
	font-weight: 600;
}

.wb-client-grid .btn.wb-add-card > .mx-icon-filled,
.wb-client-grid .btn.wb-add-card > .glyphicon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	border-radius: 50%;
	background: rgba(38, 74, 229, 0.08);
	color: var(--wb-primary);
	font-size: 20px;
}

.wb-client-grid .btn.wb-add-card:hover,
.wb-client-grid .btn.wb-add-card:focus {
	background: #fff;
	border-color: var(--wb-primary);
	color: var(--wb-primary);
}

/* =========================================================================
   Client switcher (Logo slot of the admin pages)
   ========================================================================= */
.region-topbar .mx-placeholder:has(.wb-switcher),
.region-topbar .mx-placeholder:has(.wb-brand-plain) {
	display: flex;
	align-items: center;
}

.region-topbar .wb-brand-plain,
.region-topbar .wb-switcher-btn {
	display: flex;
	align-items: center;
	gap: 14px;
}

.region-topbar .wb-switcher-btn {
	padding: 6px 12px 6px 6px;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.region-topbar .wb-switcher-btn:hover {
	background: rgba(255, 255, 255, 0.1);
}

.region-topbar .wb-switcher-btn::after {
	content: "";
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	border-right: 2px solid rgba(255, 255, 255, 0.8);
	border-bottom: 2px solid rgba(255, 255, 255, 0.8);
	transform: rotate(45deg);
}

.popupmenu-menu:has(.wb-switcher-list) {
	min-width: 320px;
	padding: 6px;
	background: #fff;
	border: 1px solid var(--wb-edge);
	/* The widget flips the menu upward if a point 3px in from a corner misses it; radius must stay <= 10px. */
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(10, 19, 37, 0.18);
	font-family: "Open Sans", sans-serif;
}

.popupmenu-menu:has(.wb-switcher-list) > .popupmenu-custom-item {
	padding: 0;
	background: none;
}

.popupmenu-menu .wb-switcher-label {
	display: block;
	padding: 8px 10px 6px;
	color: var(--wb-text-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.wb-switcher-list .widget-gallery-items {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.wb-switcher-list .widget-gallery-item {
	padding: 0;
	border: 0;
	border-radius: 8px;
}

.wb-switcher-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 8px;
	cursor: pointer;
}

.wb-switcher-list .widget-gallery-item:hover .wb-switcher-item {
	background: var(--wb-surface-0);
}

.wb-client-logo.wb-client-logo--xs {
	position: static;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 7px;
	box-shadow: none;
	font-size: 11px;
}

.wb-client-logo.wb-client-logo--xs.has-img {
	padding: 3px;
}

.wb-switcher-item-name {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	color: var(--wb-text);
	font-size: 14px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wb-switcher-item .wb-pill {
	font-size: 11px;
}

.popupmenu-menu .wb-switcher-platform {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 4px;
	padding: 10px;
	border-top: 1px solid var(--wb-edge-soft);
	color: var(--wb-text);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.popupmenu-menu .wb-switcher-platform::before {
	content: "";
	width: 18px;
	height: 18px;
	background-color: var(--wb-text-muted);
	-webkit-mask: var(--wb-i-settings) center / contain no-repeat;
	mask: var(--wb-i-settings) center / contain no-repeat;
}

.popupmenu-menu .popupmenu-custom-item:hover .wb-switcher-platform {
	color: var(--wb-primary);
}

/* ---------- Clients: season line ---------- */
.wb-client-season .mx-dataview-controls,
.wb-client-dv .mx-dataview-controls {
	display: none;
}

.wb-client-season {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	color: #a86f04;
	font-size: 13px;
	font-weight: 600;
}

.wb-client-season:has(.wb-client-season-name) {
	color: var(--wb-text-muted);
	font-weight: 500;
}

.wb-client-season:has(.wb-client-season-name)::before {
	content: "";
	flex-shrink: 0;
	width: 15px;
	height: 15px;
	background-color: currentColor;
	-webkit-mask: var(--wb-i-sun) center / contain no-repeat;
	mask: var(--wb-i-sun) center / contain no-repeat;
}

/* ---------- Accounts: client column ---------- */
.wb-grid .wb-client-dv {
	display: inline-flex;
	align-items: center;
	padding: 2px 10px;
	border: 1px solid rgba(236, 165, 28, 0.35);
	border-radius: 999px;
	background: rgba(236, 165, 28, 0.12);
	color: #a86f04;
	font-size: 12px;
	font-weight: 600;
}

.wb-grid .wb-client-dv:has(.wb-client-cell) {
	display: block;
	padding: 0;
	border: 0;
	background: none;
	font-size: inherit;
}

.wb-grid .wb-client-cell {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	font-weight: 600;
	color: var(--wb-text);
}

.wb-client-cell-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* =========================================================================
   Order detail (Orders.WPG_Order_DetailView)
   ========================================================================= */

/* ---------- Header: status pill, order ID, pass type pushed to the right ---------- */
.wb-order .wb-order-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
}

.wb-admin.wb-order {
	padding: 16px 16px 20px;
}

/* Mendix pins the content to a fixed height with its own scrollbar when the data view
   has a footer; let the page scroll instead so the scrollbar sits at the screen edge.
   The footer stays pinned via position: sticky. */
.wb-order > .mx-dataview-content {
	height: auto !important;
	overflow: visible !important;
}

.wb-order .wb-order-header > [class*="col-"] {
	flex: 0 0 auto;
	width: auto;
	max-width: none;
	padding: 0;
}

.wb-order .wb-order-header > [class*="col-"]:last-child {
	margin-left: auto;
}

.wb-order .wb-order-title {
	color: var(--wb-text);
	font-family: var(--wb-mono) !important;
	font-size: 22px;
	font-weight: 500;
	letter-spacing: -0.2px;
}

.wb-status-pill,
.wb-pass-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border: 1px solid;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.6px;
	line-height: 1.4;
	text-transform: uppercase;
}

.wb-status-pill::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.wb-status--transient { border-color: #d5d7dc; background: #f1f2f4; color: #4b5263; }
.wb-status--hold      { border-color: rgba(236, 165, 28, 0.45); background: rgba(236, 165, 28, 0.12); color: #9a6700; }
.wb-status--canceled  { border-color: rgba(227, 63, 78, 0.35); background: rgba(227, 63, 78, 0.08); color: #c42b3a; }
.wb-status--complete  { border-color: rgba(60, 179, 61, 0.4); background: rgba(60, 179, 61, 0.1); color: var(--wb-success); }
.wb-pass-pill         { border-color: rgba(123, 47, 255, 0.3); background: rgba(123, 47, 255, 0.08); color: #6a26e0; }

/* ---------- Section cards: group boxes with a soft blue header ---------- */
.wb-order .wb-od-card.mx-groupbox {
	margin-bottom: 20px;
	border: 1px solid var(--wb-edge);
	border-radius: var(--wb-radius);
	background: #fff;
	box-shadow: var(--wb-shadow);
	overflow: hidden;
}

.wb-order .wb-od-card > .mx-groupbox-header {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin: 0;
	padding: 14px 20px;
	border: 0;
	border-bottom: 1px solid #d9e1f7;
	border-radius: 0;
	background: #eef2fd;
	color: #1d2f8a;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

/* Mendix renders the collapse icon before the caption; move it to the far right */
.wb-order .wb-od-card > .mx-groupbox-header .mx-groupbox-collapse-icon {
	order: 1;
	margin: 0 0 0 auto;
	color: #1d2f8a;
}

.wb-order .wb-od-card > .mx-groupbox-body {
	padding: 20px;
	border: 0;
	background: none;
}

.wb-order .wb-od-card .mx-layoutgrid {
	padding: 0;
}

/* ---------- Fields ---------- */
.wb-order .wb-od-card .form-group {
	margin-bottom: 16px;
}

.wb-order .wb-od-card .control-label {
	margin: 0 0 6px;
	padding: 0;
	color: var(--wb-text);
	font-size: 13px;
	font-weight: 600;
	line-height: 18px;
}

.wb-order .wb-od-card .form-control {
	border: 1px solid var(--wb-edge);
	border-radius: 6px;
	box-shadow: none;
	color: var(--wb-text);
	font-size: 14px;
}

.wb-order .wb-od-card input.form-control {
	height: 36px;
}

.wb-order .wb-od-card .form-control:focus {
	border-color: var(--wb-primary);
	box-shadow: 0 0 0 3px rgba(38, 74, 229, 0.12);
}

.wb-order .wb-od-card .mx-checkbox.label-after {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
}

.wb-order .wb-od-card .mx-checkbox.label-after .control-label {
	margin: 0;
}

/* Line up with the input of the labelled field beside it (label 18px + 6px gap) */
@media (min-width: 768px) {
	.wb-order .wb-od-card .mx-checkbox.label-after {
		margin-top: 24px;
	}
}

.wb-order .wb-subhead {
	display: block;
	margin: 4px 0 12px;
	padding-top: 14px;
}

/* ---------- Sidebar: QR centred, actions stacked full width ---------- */
.wb-order .wb-od-qr > .mx-groupbox-body {
	display: flex;
	justify-content: center;
}

.wb-order .wb-od-actions .btn {
	margin: 0 0 8px;
	border-radius: 6px;
	font-weight: 600;
}

.wb-order .wb-od-actions .btn:last-child {
	margin-bottom: 0;
}

/* ---------- Grids inside cards: flush, no second card border ---------- */
.wb-order .wb-od-card .wb-grid.widget-datagrid {
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.wb-order .wb-od-card > .mx-groupbox-body:has(.wb-grid):not(:has(.mx-layoutgrid)) {
	padding: 0;
}

/* ---------- Totals breakdown (Order Detail and each cart) ---------- */
.wb-order .mx-table.table-compact {
	width: 100%;
}

.wb-order .mx-table.table-compact td {
	padding: 4px 0;
	border: 0;
	color: var(--wb-text-muted);
	font-size: 13px;
}

.wb-order .mx-table.table-compact td:first-child .mx-text {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.6px;
}

.wb-order .mx-table.table-compact td:last-child .mx-text {
	color: var(--wb-text);
	font-variant-numeric: tabular-nums;
}

.wb-order .mx-table.table-compact tr:has(.text-bold) td {
	padding-top: 10px;
	border-top: 1px solid var(--wb-edge-soft);
	color: var(--wb-text);
	font-size: 15px;
}

.wb-order .mx-table.table-compact tr:has(.text-bold) + tr:has(.text-bold) td {
	padding-top: 4px;
	border-top: 0;
}

/* ---------- Carts: one row per cart, green edge when processed, dark when not ---------- */
.wb-order .mx-templategrid,
.wb-order .mx-templategrid .mx-grid-content,
.wb-order .mx-templategrid .mx-templategrid-item {
	padding: 0;
	border: 0;
	background: none;
}

.wb-order .mx-templategrid .mx-templategrid-item:hover {
	background: none;
}

.wb-order .mx-templategrid .mx-templategrid-item > .mx-dataview > .mx-dataview-content {
	padding: 0;
}

.wb-order .mx-templategrid-item .mx-groupbox:is(.groupbox-success, .groupbox-inverse) {
	margin: 0 0 10px;
	border: 1px solid var(--wb-edge);
	border-radius: 8px;
	background: #fff;
	box-shadow: inset 4px 0 0 var(--wb-text);
	overflow: hidden;
}

.wb-order .mx-templategrid-item .mx-groupbox.groupbox-success {
	box-shadow: inset 4px 0 0 #3cb33d;
}

.wb-order .mx-templategrid-item .mx-groupbox:is(.groupbox-success, .groupbox-inverse) > .mx-groupbox-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 12px 16px 12px 20px;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: var(--wb-text);
	font-family: var(--wb-mono) !important;
	font-size: 13px;
	font-weight: 500;
}

.wb-order .mx-templategrid-item .mx-groupbox.groupbox-success > .mx-groupbox-header {
	background: rgba(60, 179, 61, 0.07);
}

.wb-order .mx-templategrid-item .mx-groupbox:is(.groupbox-success, .groupbox-inverse) > .mx-groupbox-header .mx-groupbox-collapse-icon {
	color: var(--wb-text-muted);
}

.wb-order .mx-templategrid-item .mx-groupbox:is(.groupbox-success, .groupbox-inverse) > .mx-groupbox-header::after {
	margin-left: auto;
	padding: 3px 9px;
	border-radius: 4px;
	background: var(--wb-text);
	color: #fff;
	font-family: "Open Sans", sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	content: "Not processed";
}

.wb-order .mx-templategrid-item .mx-groupbox.groupbox-success > .mx-groupbox-header::after {
	background: #3cb33d;
	content: "Processed";
}

.wb-order .mx-templategrid-item .mx-groupbox:is(.groupbox-success, .groupbox-inverse) > .mx-groupbox-body {
	padding: 16px 20px;
	border: 0;
	border-top: 1px solid var(--wb-edge-soft);
	background: var(--wb-surface-0);
}

/* Inner cards inside a cart (General Cart Info, Contact Info, Cart Details, Transactions) */
.wb-order .mx-templategrid-item .mx-groupbox-body .mx-groupbox {
	margin: 0 0 12px;
	border: 1px solid var(--wb-edge-soft);
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.wb-order .mx-templategrid-item .mx-groupbox-body .mx-groupbox > .mx-groupbox-header {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 10px 14px;
	border: 0;
	border-bottom: 1px solid var(--wb-edge-soft);
	border-radius: 0;
	background: #fbfbfc;
	color: var(--wb-text);
	font-size: 13px;
	font-weight: 600;
}

.wb-order .mx-templategrid-item .mx-groupbox-body .mx-groupbox > .mx-groupbox-header .mx-groupbox-collapse-icon {
	order: 1;
	margin-left: auto;
	color: var(--wb-text-muted);
}

.wb-order .mx-templategrid-item .mx-groupbox-body .mx-groupbox.collapsed > .mx-groupbox-header {
	border-bottom: 0;
}

.wb-order .mx-templategrid-item .mx-groupbox-body .mx-groupbox > .mx-groupbox-body {
	padding: 12px 14px;
	border: 0;
	background: #fff;
}

.wb-order .mx-templategrid-item .mx-groupbox-body .mx-groupbox > .mx-groupbox-body:has(> .wb-grid) {
	padding: 0;
}

/* Cart Details: grid stays flush, the breakdown and totals below it get breathing room */
.wb-order .mx-templategrid-item .mx-groupbox-body .mx-groupbox > .mx-groupbox-body > .mx-layoutgrid {
	padding: 16px 16px 4px;
}

.wb-order .mx-templategrid-item .mx-groupbox-body .mx-groupbox > .mx-groupbox-body > .mx-layoutgrid > .row {
	margin: 0 -12px;
}

.wb-order .mx-templategrid-item .mx-groupbox-body .mx-groupbox > .mx-groupbox-body > .mx-layoutgrid > .row > [class*="col"] {
	padding: 0 12px;
}

.wb-order .mx-templategrid-item .mx-table:not(.table-compact) td {
	padding: 4px 12px 4px 0;
	font-size: 13px;
}

.wb-order .mx-templategrid-item .mx-groupbox-body .mx-groupbox .mx-groupbox {
	margin: 12px 0;
}

.wb-order .mx-templategrid-item .wb-grid.widget-datagrid {
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.wb-order .mx-templategrid-item .wb-grid .td {
	padding: 9px 14px;
	font-size: 13px;
}

.wb-order .mx-templategrid-item .wb-grid .widget-datagrid-grid .th {
	padding: 8px 14px;
}

/* ---------- Footer: Cancel first. Buttons sit in display:contents wrappers, so target the buttons. ---------- */
.wb-order > .mx-dataview-controls {
	gap: 8px;
	padding: 10px 14px;
}

.wb-order > .mx-dataview-controls .btn {
	margin: 0 !important;
	border-radius: 6px;
	font-weight: 600;
}

/* ---------- Grid cell content (custom content DynamicTexts) ---------- */
.wb-order .wb-grid .wb-cell-strong {
	color: var(--wb-text);
	font-weight: 600;
}

.wb-order .wb-grid .wb-cell-muted {
	color: var(--wb-text-muted);
}

.wb-order .wb-grid .header-filters:not(:has(*)) {
	display: none;
}

.wb-order > .mx-dataview-controls .mx-name-actionButton2 {
	order: -1;
}

/* =========================================================================
   Payout report (PayoutReports.WPG_PayoutReport_View)
   ========================================================================= */

/* Same as the order page: let the page scroll instead of the data view content */
.wb-payout > .mx-dataview-content {
	height: auto !important;
	overflow: visible !important;
}

/* ---------- Report header: eyebrow, ID + status pill, meta line ---------- */
.wb-payout .wb-report-head {
	margin: 4px 0 18px;
}

.wb-payout .wb-report-eyebrow {
	display: block;
	margin-bottom: 4px;
	color: var(--wb-text-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.wb-payout .wb-report-title-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.wb-payout h2.wb-report-id {
	margin: 0;
	color: var(--wb-text);
	font-family: var(--wb-mono) !important;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
}

.wb-payout .wb-report-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 6px;
	color: var(--wb-text-muted);
	font-size: 13px;
}

.wb-payout .wb-report-meta > * + *::before {
	content: "\00b7";
	margin: 0 8px;
	color: var(--wb-edge-strong);
}

/* ---------- Warning banner above the summary cards ---------- */
.wb-payout .wb-alert--warning {
	margin-bottom: 16px;
	padding: 12px 16px;
	border: 1px solid rgba(236, 165, 28, 0.35);
	border-left: 4px solid var(--wb-warning);
	border-radius: var(--wb-radius);
	background: rgba(236, 165, 28, 0.08);
	color: #7a5203;
	font-size: 14px;
	line-height: 1.45;
}

.wb-payout .wb-alert--none {
	display: none;
}

/* ---------- Summary cards ---------- */
.wb-payout .wb-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 16px;
}

@media (max-width: 900px) {
	.wb-payout .wb-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.wb-payout .wb-stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 18px;
	border: 1px solid var(--wb-edge);
	border-radius: var(--wb-radius);
	background: #fff;
	box-shadow: var(--wb-shadow);
}

.wb-payout .wb-stat-label {
	color: var(--wb-text-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.wb-payout .wb-stat-value {
	color: var(--wb-text);
	font-size: 26px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
}

.wb-payout .wb-stat-sub {
	color: var(--wb-text-muted);
	font-size: 12px;
}

.wb-payout .wb-stat--accent {
	border-color: rgba(38, 74, 229, 0.35);
	background: #f5f7ff;
}

.wb-payout .wb-stat--accent .wb-stat-value {
	color: var(--wb-primary);
}

.wb-payout .wb-stat--accent.wb-stat--paid {
	border-color: rgba(60, 179, 61, 0.4);
	background: rgba(60, 179, 61, 0.06);
}

.wb-payout .wb-stat--accent.wb-stat--paid .wb-stat-value {
	color: var(--wb-success);
}

/* ---------- Breakdown: Sales (sums to Gross) stacked above Payout (ends at Payable) ---------- */
.wb-payout .wb-breakdown {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	margin-bottom: 16px;
	border: 1px solid var(--wb-edge);
	border-radius: var(--wb-radius);
	background: #fff;
	box-shadow: var(--wb-shadow);
}

.wb-payout .wb-breakdown-col {
	padding: 16px 20px;
}

.wb-payout .wb-breakdown-col + .wb-breakdown-col {
	border-top: 1px solid var(--wb-edge-soft);
}

.wb-payout .wb-breakdown-title {
	display: block;
	margin-bottom: 6px;
	color: var(--wb-text);
	font-size: 15px;
	font-weight: 600;
}

.wb-payout .wb-kv {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 8px 0;
	border-bottom: 1px solid var(--wb-edge-soft);
}

.wb-payout .wb-kv-label {
	color: var(--wb-text-muted);
	font-size: 13px;
}

.wb-payout .wb-kv-value {
	color: var(--wb-text);
	font-size: 14px;
}

.wb-payout .wb-kv-value.wb-num--zero {
	color: var(--wb-edge-strong);
}

.wb-payout .wb-kv--total {
	padding-top: 12px;
	border-bottom: 0;
}

.wb-payout .wb-kv--total .wb-kv-label {
	color: var(--wb-text);
	font-weight: 600;
}

.wb-payout .wb-kv--total .wb-kv-value {
	font-size: 17px;
	font-weight: 700;
}

.wb-payout .wb-kv--subtotal {
	padding-top: 10px;
	border-top: 1px solid var(--wb-edge);
}

.wb-payout .wb-kv--subtotal .wb-kv-label,
.wb-payout .wb-kv--subtotal .wb-kv-value {
	color: var(--wb-text);
	font-weight: 600;
}

.wb-payout .wb-kv--accent .wb-kv-value {
	color: var(--wb-primary);
}

/* ---------- Carts grid ---------- */
.wb-payout .wb-orig-cart {
	color: var(--wb-text-muted);
	font-family: var(--wb-mono) !important;
	font-size: 12px;
	white-space: nowrap;
}

/* ---------- Footer: Delete on the left, Cancel, Recalculate and Mark as paid on the right ---------- */
.wb-payout > .mx-dataview-controls .btn {
	margin: 0 !important;
	border-radius: 6px;
	font-weight: 600;
}

.wb-payout > .mx-dataview-controls .mx-name-buttonDelete {
	order: -1;
	margin-right: auto !important;
}

.wb-payout > .mx-dataview-controls .mx-name-buttonCancel {
	order: 1;
}

.wb-payout > .mx-dataview-controls .mx-name-buttonRecalculate {
	order: 2;
}

.wb-payout > .mx-dataview-controls .mx-name-buttonMarkPaid {
	order: 3;
}

/* =========================================================================
   Cart detail popup (Carts.WPU_Cart_DetailView)
   ========================================================================= */

.modal-body:has(> .mx-layoutgrid .wb-cart),
.modal-body .mx-layoutgrid:has(.wb-cart) {
	background: var(--wb-surface-0);
}

.wb-admin.wb-cart {
	max-width: none;
	padding: 4px 4px 0;
}

/* ---------- Header: eyebrow ---------- */
.wb-cart .wb-cart-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px;
	margin-bottom: 16px;
}

.wb-cart .wb-cart-heading {
	display: flex;
	flex-direction: column;
	margin-right: auto;
}

.wb-cart .wb-cart-eyebrow {
	margin-bottom: 2px;
	color: var(--wb-text-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.wb-cart .wb-cart-title {
	color: var(--wb-text);
	font-family: var(--wb-mono) !important;
	font-size: 22px;
	font-weight: 500;
	letter-spacing: -0.2px;
	line-height: 1.2;
}

.wb-cart .wb-pass-pill:empty {
	display: none;
}

/* ---------- Cards ---------- */
.wb-cart .wb-cart-card {
	margin-bottom: 14px;
	border: 1px solid var(--wb-edge);
	border-radius: var(--wb-radius);
	background: #fff;
	box-shadow: var(--wb-shadow);
	overflow: hidden;
}

.wb-cart .wb-cart-card-title {
	display: block;
	padding: 12px 20px;
	border-bottom: 1px solid #d9e1f7;
	background: #eef2fd;
	color: #1d2f8a;
	font-size: 14px;
	font-weight: 600;
}

.wb-cart .wb-cart-fields {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px 20px;
	padding: 16px 20px;
}

.wb-cart .wb-cart-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.wb-cart .wb-cart-label {
	color: var(--wb-text-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.wb-cart .wb-cart-value {
	overflow: hidden;
	color: var(--wb-text);
	font-size: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wb-cart .wb-cart-value.wb-empty-dash::after {
	font-size: 14px;
}

@media (max-width: 640px) {
	.wb-cart .wb-cart-fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- Details: Summary and Customer side by side as label/value tables ---------- */
.wb-cart .wb-cart-details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wb-cart .wb-cart-section + .wb-cart-section {
	border-left: 1px solid var(--wb-edge);
}

.wb-cart .wb-cart-table > .wb-cart-row {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	align-items: center;
	column-gap: 16px;
	min-height: 44px;
	padding: 6px 20px;
	border-bottom: 1px solid var(--wb-edge-soft);
}

.wb-cart .wb-cart-table > .wb-cart-row:last-child {
	border-bottom: 0;
}

.wb-cart .wb-cart-row > .wb-status-pill,
.wb-cart .wb-cart-row > .wb-pass-pill,
.wb-cart .wb-cart-row > .wb-pill {
	justify-self: start;
}

/* Match the compact .wb-pill size used by the cart type pill */
.wb-cart .wb-cart-row > .wb-status-pill,
.wb-cart .wb-cart-row > .wb-pass-pill {
	gap: 5px;
	padding: 3px 7px;
	border-radius: 4px;
	font-size: 10px;
	letter-spacing: 0.5px;
}

.wb-cart .wb-cart-row > .wb-status-pill::before {
	width: 5px;
	height: 5px;
}

.wb-cart .wb-cart-mono {
	font-family: var(--wb-mono) !important;
}

@media (max-width: 640px) {
	.wb-cart .wb-cart-details {
		grid-template-columns: minmax(0, 1fr);
	}

	.wb-cart .wb-cart-section + .wb-cart-section {
		border-top: 1px solid var(--wb-edge);
		border-left: 0;
	}
}

/* ---------- Items: flush grid with the totals below it ---------- */
.wb-cart .wb-cart-card .wb-grid.widget-datagrid {
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.wb-cart .wb-cart-card .wb-grid .td {
	padding: 10px 20px;
}

.wb-cart .wb-cart-card .wb-grid .widget-datagrid-grid .th {
	padding: 8px 20px;
}

.wb-cart .wb-cart-totals {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 20px 16px;
	border-top: 1px solid var(--wb-edge-soft);
}

.wb-cart .wb-cart-total-row {
	display: flex;
	justify-content: space-between;
	color: var(--wb-text-muted);
	font-size: 13px;
}

.wb-cart .wb-cart-total-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.wb-cart .wb-cart-total-value {
	color: var(--wb-text);
	font-variant-numeric: tabular-nums;
}

.wb-cart .wb-cart-total-row--grand {
	padding-top: 8px;
	border-top: 1px solid var(--wb-edge-soft);
	color: var(--wb-text);
	font-size: 15px;
}

.wb-cart .wb-cart-total-row--grand .wb-cart-total-value {
	font-weight: 700;
}

/* ---------- Footer: Cancel on the left, View Order and Process Cart on the right ---------- */
.wb-cart > .mx-dataview-controls {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	margin: 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--wb-edge-soft);
	background: none;
}

.wb-cart > .mx-dataview-controls .btn {
	margin: 0 !important;
	border-radius: 6px;
	font-weight: 600;
}

.wb-cart > .mx-dataview-controls .mx-name-actionButton2 {
	order: -1;
	margin-right: auto !important;
}

/* =========================================================================
   Badge detail popup (Badges.WPU_Badge_DetailView)
   Reuses the cart popup canvas and footer; the body is a two-column label/value table.
   Read-only rows are .wb-badge-row containers, editable rows are the inputs' own form groups.
   ========================================================================= */

.modal-body:has(.wb-badge) {
	background: var(--wb-surface-0);
}

.wb-badge .wb-badge-table {
	margin-bottom: 14px;
	border: 1px solid var(--wb-edge);
	border-radius: var(--wb-radius);
	background: #fff;
	box-shadow: var(--wb-shadow);
	overflow: hidden;
}

.wb-badge .wb-badge-table > .wb-badge-row,
.wb-badge .wb-badge-table > .form-group {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	align-items: center;
	column-gap: 16px;
	min-height: 48px;
	margin: 0;
	padding: 6px 20px;
	border-bottom: 1px solid var(--wb-edge-soft);
}

.wb-badge .wb-badge-table > :last-child {
	border-bottom: 0;
}

/* Anything after the label (input, validation message) stays in the value column */
.wb-badge .wb-badge-table > .form-group > * {
	grid-column: 2;
}

.wb-badge .wb-badge-table .wb-badge-label,
.wb-badge .wb-badge-table > .form-group > .control-label {
	grid-column: 1;
	margin: 0;
	padding: 0;
	color: var(--wb-text-muted);
	font-size: 13px;
	font-weight: 600;
}

.wb-badge .wb-badge-value {
	overflow: hidden;
	color: var(--wb-text);
	font-size: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wb-badge .wb-badge-value.wb-empty-dash::after {
	font-size: 14px;
}

.wb-badge .wb-badge-table .form-control {
	border: 1px solid var(--wb-edge);
	border-radius: 6px;
	box-shadow: none;
	color: var(--wb-text);
	font-size: 14px;
}

.wb-badge .wb-badge-table input.form-control {
	height: 34px;
}

.wb-badge .wb-badge-table .form-control:focus {
	border-color: var(--wb-primary);
	box-shadow: 0 0 0 3px rgba(38, 74, 229, 0.12);
}

@media (max-width: 640px) {
	.wb-badge .wb-badge-table > .wb-badge-row,
	.wb-badge .wb-badge-table > .form-group {
		grid-template-columns: 110px minmax(0, 1fr);
	}
}

/* =========================================================================
   Badge activation popup (Badges.WPU_Badge_Activation)
   Reuses the badge popup table and the cart popup footer; the Badge ID input
   matches the order detail fields.
   ========================================================================= */

.wb-admin.wb-cart.wb-activation {
	padding: 20px 24px;
}

.wb-activation .wb-activation-badge > .mx-dataview-controls {
	display: none;
}

.wb-activation .wb-activation-badge .wb-badge-table {
	margin-bottom: 20px;
}

.wb-activation .form-group {
	margin-bottom: 0;
}

.wb-activation .control-label {
	margin: 0 0 6px;
	padding: 0;
	color: var(--wb-text);
	font-size: 13px;
	font-weight: 600;
	line-height: 18px;
}

.wb-activation .form-control {
	border: 1px solid var(--wb-edge);
	border-radius: 6px;
	box-shadow: none;
	color: var(--wb-text);
	font-size: 14px;
}

.wb-activation input.form-control {
	height: 36px;
}

.wb-activation .form-control:focus {
	border-color: var(--wb-primary);
	box-shadow: 0 0 0 3px rgba(38, 74, 229, 0.12);
}

.wb-activation > .mx-dataview-controls {
	margin-top: 24px;
	padding-top: 20px;
}
/* ---------- Holding page ---------- */
body:has(.wb-holding) {
	background-color: #ffffff;
}

.wb-holding {
	color: #555555;
	text-align: center;
}

.wb-holding .wb-holding-caption {
	margin-top: 15px;
}

.wb-holding .wb-holding-message {
	margin: 30px 0;
	font-size: 16.8px;
	line-height: 24px;
}
