/* Custom CSS developed on 18-Nov-20 by Arunraj */
.theme-font-color{
	color: #001442;
}
.primary-background{
	background-color: #001442 !important;
}
.margin-top-10{
	margin-top:10pt;
}
.margin-top-20{
	margin-top:20pt;
}
.margin-top-30{
	margin-top:30pt;
}
.margin-bottom-10{
	margin-bottom:10pt;
}
.margin-bottom-30{
	margin-bottom:30pt;
}
.padding-right-10{
	padding-right: 10pt;
}
#refresh_icon {
    margin: 15px;
}
#loader{
	color:#001442;
	display:none;
}
#page-loader {
    position:fixed;
    width:100%;
    left:0;right:0;top:0;bottom:0;
    background-color: rgba(255,255,255,0.7);
    z-index:9999;
    display:none;
}

@-webkit-keyframes spin {
	from {-webkit-transform:rotate(0deg);}
	to {-webkit-transform:rotate(360deg);}
}

@keyframes spin {
	from {transform:rotate(0deg);}
	to {transform:rotate(360deg);}
}

#page-loader::after {
    content:'';
    display:block;
    position:absolute;
    left:48%;top:40%;
    width:40px;height:40px;
    border-style:solid;
    border-color:#001442;
    border-top-color:transparent;
    border-width: 4px;
    border-radius:50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}
.alert {
	display:none;
	position: fixed;
	top: 71px;
    right: 25%;
    left: 25%;
	/*z-index: 9999;*/
}
.padding-left-5{
	padding-left: 5px;
}
.padding-left-10{
	padding-left: 10px;
}
.padding-left-20{
	padding-left: 20px;
}
.entity-btn{
	margin-top: 32px;
}

/*FIle Upload STart */
.cls-drop-zone {
  width: 100%;
  min-height: 108px;
  border: 2px dashed rgba(0, 0, 0, .3);
  border-radius: 5px;
  font-family: Arial;
  text-align: center;
  position: relative;
  font-size: 20px;
  color: #7E7E7E;
}
.cls-drop-zone input {
  position: absolute;
  cursor: pointer;
  left: 0px;
  top: 0px;
  opacity: 0;
}
/*Important*/

.cls-drop-zone.mouse-over {
  border: 3px dashed rgba(0, 0, 0, .3);
  color: #7E7E7E;
}
/*If you dont want the button*/

.cls-clickHere {
  display: inline-block;
  cursor: pointer;
  color: white;
  font-size: 17px;
  width: 150px;
  border-radius: 4px;
  background-color: #4679BD;
  padding: 10px;
}
.cls-clickHere:hover {
  background-color: #376199;
}
.cls-filename{
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5em;
}
.file-preview {
  background: #ccc;
  border: 5px solid #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  display: inline-block;
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 14px;
  margin-top: 5px;
}
.closeBtn:hover {
  color: red;
  display:inline-block;
}
.member-info a {
	color:#FFF !important;
}
.edit-cart-row{
	background:#ffb200 !important;
}
.small-switchery .switchery {
    background-color: #fff;
    border: 1px solid #dfdfdf;
    border-radius: 20px;
    cursor: pointer;
    display: inline-block;
    height: 12px;
    position: relative;
    vertical-align: middle;
    width: 22px;

    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.small-switchery .switchery > small {
    background: #fff;
    border-radius: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    height: 12px;
    position: absolute;
    top: 0;
    width: 12px;
}
/* File Upload ENd */

#order-table_filter label, #order-confirm-table_filter label{
	display: inline-flex;
}
.disabled-btn{
	cursor:auto !important;
}
.table-right{
	width: auto;
    margin-right: 0px;
    margin-left: auto;
}
.preloader {
    background-color: #fff;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100000;
	opacity: 0.5;
}
.spiner-example{
	margin-top: 13%;
}
.sk-spinner-fading-circle.sk-spinner{
	width: 57px;
    height: 57px;
}
.yellow-font{
	color: #ffce30;
}
.custom-file-upload .file-input-upload{
	display:none !important;
}
.float-left{
	float:left;
}
.margin-icon{
	margin-top: 12pt;
	margin-left: 6pt;
	color:#000;
}
.form-min-select{
	width: 83%;
}
.dataTables_scrollBody .display .sorting:before,.dataTables_scrollBody .display .sorting:after  {
    content : none !important;
}
input::placeholder{
	color:#CCC !important;
}
.cls-ent-det-tab input[type='text']{
	background: #ffeec0 !important;
}

.border-right {
 border-right: 1px solid rgba(255, 255, 255, 0.15);
 padding-right: 15px;
}
 
.border-left {
 border-left: 1px solid rgba(255, 255, 255, 0.15);
 padding-left: 15px;
}
.duplicate-order-row td{
	background: #ffeec0 !important;
}
.duplicate-order-row:hover{
	background: #ffeec0 !important;
}
.fbk-star-rating{
	cursor:pointer;
}
.fbk-star-rating.checked{
	cursor:pointer;
	color: #ffce30;
}
.order-remove-cart-btn{
	background: #64b14b;
	color: white;
	width: 38px;
}
.order-remove-cart-btn:hover{
	background: #ff4a4a;
	color: white;
}
.large-bootbox-width{
	max-width: 850px !important;
}
.medium-bootbox-width{
	max-width: 545px !important;
}

/* ==========================================================================
   XBRTags Netherlands - Brand Theme & Roboto Typography System
   Brand Navy: #001442, Primary CTA Red: #e20209, Background: #f4f7fb
   Font Family: 'Roboto', -apple-system, BlinkMacSystemFont, Arial, sans-serif
   ========================================================================== */

:root {
  --xbr-navy: #001442;
  --xbr-navy-dark: #000c2a;
  --xbr-navy-light: #0a225c;
  --xbr-navy-hover: #081d4e;
  --xbr-navy-subtle: #e9effd;
  --xbr-red: #e20209;
  --xbr-red-hover: #c80006;
  --xbr-red-subtle: #fef2f2;
  --xbr-bg: #f4f7fb;
  --xbr-card-bg: #ffffff;
  --xbr-border: #e2e8f0;
  --xbr-border-dark: #cbd5e1;
  --xbr-text-dark: #001442;
  --xbr-text-body: #344054;
  --xbr-text-muted: #667085;
  --xbr-font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* 1. Global Typography: Force Roboto across ALL elements */
html, body, body.md-skin, 
h1, h2, h3, h4, h5, h6, 
p, a, span, label, input, button, select, textarea,
.nav-label, .navbar, .ibox, .ibox-title, .ibox-title h5, 
.ibox-content, .table, table.dataTable, th, td, 
.label, .badge, .btn, .breadcrumb, .dropdown-menu, 
.modal, .footer, .form-control, .select2-container, 
.steps, .wizard, .dataTables_wrapper, .toast, .swal-text {
  font-family: var(--xbr-font) !important;
}

/* 2. Core Layout & Page Wrappers */
body.md-skin {
  background-color: var(--xbr-bg) !important;
  color: var(--xbr-text-body) !important;
}

#page-wrapper {
  background-color: var(--xbr-bg) !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 15px !important;
}

.gray-bg, 
.wrapper-content {
  background-color: var(--xbr-bg) !important;
}

.row.wrapper.border-bottom.white-bg {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid var(--xbr-border) !important;
  margin-left: -15px !important;
  margin-right: -15px !important;
  padding: 10px 24px !important;
  min-height: 48px !important;
  box-sizing: border-box !important;
}

.row.wrapper.border-bottom.white-bg h2,
.row.wrapper.border-bottom.white-bg h2 span {
  color: var(--xbr-navy, #001442) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  line-height: 28px !important;
}

.breadcrumb {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.breadcrumb-item, 
.breadcrumb-item a {
  color: var(--xbr-text-muted) !important;
  font-size: 13px !important;
}

.breadcrumb-item.active,
.breadcrumb-item strong {
  color: var(--xbr-navy, #001442) !important;
  font-weight: 600 !important;
}

/* 3. Sidebar Navigation (#side-menu) */
.navbar-default.navbar-static-side,
#side-menu {
  background-color: var(--xbr-navy) !important;
}

.sidebar-collapse {
  background-color: var(--xbr-navy) !important;
}

/* Sidebar Logo Container (Top-left, exact same 64px height and row as top navbar) */
.sidebar-collapse .nav-header:first-child,
.xbr-sidebar-logo-header {
  background: #ffffff !important;
  height: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border-right: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-sizing: border-box !important;
}

.xbr-sidebar-logo-header .profile-element {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.xbr-sidebar-logo-header .profile-element a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  width: 100% !important;
}

.xbr-sidebar-logo-header .profile-element img {
  max-height: 42px !important;
  max-width: 170px !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

.sidebar-collapse .logo-element img {
  max-width: 40px !important;
  max-height: 38px !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

/* Sidebar User Greeting Profile Area */
.xbr-user-profile-header {
  background-color: var(--xbr-navy) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 20px 16px 16px 16px !important;
  text-align: center !important;
}

.xbr-user-profile-header .profile-element {
  display: block !important;
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
}

.xbr-user-profile-header .xbr-profile-avatar,
.xbr-user-profile-header img.rounded-circle {
  width: 65px !important;
  height: 65px !important;
  max-width: 65px !important;
  max-height: 65px !important;
  min-width: 65px !important;
  min-height: 65px !important;
  border-radius: 50% !important;
  margin: 0 auto 10px auto !important;
  display: block !important;
  object-fit: cover !important;
  border: 3px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
}

.xbr-user-profile-header h4 {
  color: #ffffff !important;
  font-size: 14.5px !important;
  margin-top: 8px !important;
  margin-bottom: 0 !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

.xbr-user-profile-header .xbr-user-name,
.xbr-user-profile-header h4 strong {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

/* Collapsed Sidebar Mode (body.mini-navbar) */
body.mini-navbar .xbr-sidebar-logo-header {
  background: #ffffff !important;
  height: 64px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.mini-navbar .xbr-sidebar-logo-header .profile-element {
  display: none !important;
}

body.mini-navbar .xbr-sidebar-logo-header .logo-element {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.mini-navbar .xbr-sidebar-logo-header .logo-element img {
  max-width: 36px !important;
  max-height: 36px !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

/* Hide user profile block completely when sidebar is collapsed */
body.mini-navbar .xbr-user-profile-header {
  display: none !important;
}


/* Sidebar Menu Links */
#side-menu > li {
  border: none !important;
}

#side-menu > li > a {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  padding: 13px 20px !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  transition: all 0.2s ease !important;
}

#side-menu > li > a i {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 15px !important;
  width: 22px !important;
  margin-right: 6px !important;
}

#side-menu > li > a:hover,
#side-menu > li > a:focus {
  background-color: var(--xbr-navy-light) !important;
  color: #ffffff !important;
}

#side-menu > li > a:hover i {
  color: #ffffff !important;
}

/* Active Sidebar Item */
#side-menu > li.active {
  background-color: var(--xbr-navy-light) !important;
  border: none !important;
}

#side-menu > li.active > a {
  background-color: var(--xbr-navy-light) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border-left: 4px solid var(--xbr-red) !important;
}

#side-menu > li.active > a i {
  color: #ffffff !important;
}

/* 4. Top Navigation Bar (.navbar-static-top) - Exact same 64px height and row as top-left logo */
.xbr-top-navbar-row,
#page-wrapper > .row.border-bottom:first-child {
  margin-left: -15px !important;
  margin-right: -15px !important;
  background-color: var(--xbr-navy) !important;
  border-bottom: none !important;
  height: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  padding: 0 !important;
  width: auto !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
}

.navbar-static-top {
  background-color: var(--xbr-navy) !important;
  border: none !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 14px !important;
  padding-right: 20px !important;
  height: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  display: flex !important;
  align-items: center !important;
  box-shadow: 0 2px 8px rgba(0, 20, 66, 0.12) !important;
  box-sizing: border-box !important;
}

#nav-bar-menu-toggle {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  margin: 0 16px 0 0 !important;
  padding: 6px 12px !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#nav-bar-menu-toggle:hover {
  background: var(--xbr-red) !important;
  border-color: var(--xbr-red) !important;
  color: #ffffff !important;
}

#nav-bar-menu-toggle i {
  color: #ffffff !important;
  font-size: 15px !important;
}

.xbr-navbar-left {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.xbr-top-portal-name {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  white-space: nowrap !important;
  padding-right: 28px !important;
  margin-right: 28px !important;
  border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
  display: inline-block !important;
}

.xbr-navbar-center {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  flex-wrap: nowrap !important;
}

.xbr-top-contact-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.xbr-top-contact-link:hover,
.xbr-top-contact-link:focus {
  color: #ffffff !important;
  text-decoration: none !important;
}

.xbr-top-contact-link i {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 13px !important;
}

.btn-xbr-top-cta {
  background-color: var(--xbr-red) !important;
  border: 1px solid var(--xbr-red) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 7px 5px !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 12px rgba(226, 2, 9, 0.28) !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  margin-left: 6px !important;
}

.btn-xbr-top-cta:hover,
.btn-xbr-top-cta:focus {
  background-color: var(--xbr-red-hover) !important;
  border-color: var(--xbr-red-hover) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(226, 2, 9, 0.36) !important;
}

.btn-xbr-top-cta i {
  color: #ffffff !important;
}

.xbr-navbar-right {
  display: flex !important;
  align-items: center !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  padding-left: 24px !important;
  gap: 18px !important;
  border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
  flex-shrink: 0 !important;
}

.xbr-top-currency {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 5px 12px !important;
  border-radius: 5px !important;
  white-space: nowrap !important;
}

.xbr-top-logout {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color 0.2s ease !important;
}

.xbr-top-logout:hover {
  color: var(--xbr-red) !important;
  text-decoration: none !important;
}

/* 5. Dashboard Cards & Content (.ibox) */
.ibox {
  background: var(--xbr-card-bg) !important;
  border: 1px solid var(--xbr-border) !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 18px rgba(0, 20, 66, 0.04) !important;
  margin-bottom: 24px !important;
  overflow: hidden !important;
}

.ibox-title {
  background-color: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 16px 20px !important;
  min-height: 52px !important;
}

.ibox-title h5 {
  color: var(--xbr-navy) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin: 0 !important;
}

.ibox-content {
  background-color: #ffffff !important;
  padding: 22px 20px !important;
  border: none !important;
}

.ibox-content h1.no-margins {
  color: var(--xbr-navy) !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin: 0 0 4px !important;
}

.ibox-content span {
  color:#050506 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
}

/* 6. Badges & Labels */
.label-green {
  background-color: #027a48 !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 4px 8px !important;
}

.label-orange {
  background-color: var(--xbr-red) !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 4px 8px !important;
}

.label-blue {
  background-color: var(--xbr-navy) !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 4px 8px !important;
}

.label-primary {
  background-color: var(--xbr-red) !important;
  color: #ffffff !important;
}

.badge {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  color: #ffffff !important;
}

.badge-primary {
  background-color: var(--xbr-navy, #001442) !important;
  color: #ffffff !important;
}

.badge-secondary {
  background-color: #475569 !important;
  color: #ffffff !important;
}

.badge-info {
  background-color: #0284c7 !important;
  color: #ffffff !important;
}

.badge-success {
  background-color: #059669 !important;
  color: #ffffff !important;
}

.badge-danger {
  background-color: var(--xbr-red, #e20209) !important;
  color: #ffffff !important;
}

.badge-dark {
  background-color: #1e293b !important;
  color: #ffffff !important;
}


/* 7. Buttons */
.btn-primary {
  background-color: var(--xbr-red) !important;
  border-color: var(--xbr-red) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  padding: 8px 18px !important;
  transition: all 0.2s ease !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--xbr-red-hover) !important;
  border-color: var(--xbr-red-hover) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(226, 2, 9, 0.25) !important;
}

.btn-success {
  background-color: var(--xbr-navy) !important;
  border-color: var(--xbr-navy) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
}

.btn-success:hover,
.btn-success:focus {
  background-color: var(--xbr-navy-light) !important;
  border-color: var(--xbr-navy-light) !important;
  color: #ffffff !important;
}

/* Toggle Filter Button Group on Dashboard */
.btn-group .btn-white {
  background-color: #ffffff !important;
  border: 1px solid var(--xbr-border) !important;
  color: var(--xbr-navy) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 5px 14px !important;
  transition: all 0.2s ease !important;
}

.btn-group .btn-white:hover {
  background-color: var(--xbr-bg) !important;
  color: var(--xbr-navy) !important;
}

.btn-group .btn-white.active {
  background-color: var(--xbr-navy) !important;
  border-color: var(--xbr-navy) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* Entity Form Action Buttons (Add to entities / Cancel) */
.xbr-entity-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  margin-top: 6px !important;
  box-sizing: border-box !important;
}

.xbr-entity-actions .btn-xbr-entity-save {
  flex: 1 1 auto !important;
  background: linear-gradient(135deg, #e20209 0%, #b80005 100%) !important;
  border: 1px solid rgba(226, 2, 9, 0.4) !important;
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
  height: 38px !important;
  padding: 0 14px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(226, 2, 9, 0.28) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  line-height: 1 !important;
}

.xbr-entity-actions .btn-xbr-entity-save:hover,
.xbr-entity-actions .btn-xbr-entity-save:focus {
  background: linear-gradient(135deg, #ff1a22 0%, #d40007 100%) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(226, 2, 9, 0.38) !important;
  text-decoration: none !important;
}

.xbr-entity-actions .btn-xbr-entity-save:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(226, 2, 9, 0.25) !important;
}

.xbr-entity-actions .btn-xbr-entity-save i {
  font-size: 13px !important;
  color: #ffffff !important;
}

.xbr-entity-actions .btn-xbr-entity-cancel {
  flex: 0 0 auto !important;
  background: #ffffff !important;
  border: 1px solid #d0d5dd !important;
  color: #475467 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  height: 38px !important;
  padding: 0 16px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  line-height: 1 !important;
}

.xbr-entity-actions .btn-xbr-entity-cancel:hover,
.xbr-entity-actions .btn-xbr-entity-cancel:focus {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #1e293b !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08) !important;
  text-decoration: none !important;
}

.xbr-entity-actions .btn-xbr-entity-cancel:active {
  transform: translateY(0);
  box-shadow: none !important;
}

.xbr-entity-actions .btn-xbr-entity-cancel i {
  font-size: 12px !important;
  color: #64748b !important;
  transition: color 0.2s ease !important;
}

.xbr-entity-actions .btn-xbr-entity-cancel:hover i {
  color: #dc2626 !important;
}

/* Also style any legacy .btn-white cancel buttons for consistency */
.btn.btn-white {
  background: #ffffff !important;
  border: 1px solid #d0d5dd !important;
  color: #475467 !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

.btn.btn-white:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #1e293b !important;
}


/* 8. Tables & DataTables */
.table,
table.dataTable {
  font-family: var(--xbr-font) !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin-top: 12px !important;
}

.table thead th,
table.dataTable thead th {
  background-color: #f8fafc !important;
  color: var(--xbr-navy) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-bottom: 2px solid var(--xbr-border) !important;
  border-top: none !important;
  padding: 13px 16px !important;
  vertical-align: middle !important;
}

.table tbody td,
table.dataTable tbody td {
  color: var(--xbr-text-body) !important;
  font-size: 13.5px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-top: none !important;
  padding: 13px 16px !important;
  vertical-align: middle !important;
}

.table tbody tr:hover,
table.dataTable tbody tr:hover {
  background-color: #f8fafc !important;
}

/* DataTable controls */
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: var(--xbr-navy) !important;
  border-color: var(--xbr-navy) !important;
  color: #ffffff !important;
  border-radius: 4px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: var(--xbr-navy-subtle) !important;
  border-color: var(--xbr-border) !important;
  color: var(--xbr-navy) !important;
  border-radius: 4px !important;
}

.dataTables_filter input,
.dataTables_length select {
  border: 1px solid var(--xbr-border) !important;
  border-radius: 5px !important;
  padding: 6px 10px !important;
  font-size: 13px !important;
}

.dataTables_filter input:focus,
.dataTables_length select:focus {
  border-color: var(--xbr-navy) !important;
  outline: none !important;
}

/* 9. Form Inputs & Steps Wizard */
.form-control {
  border: 1px solid var(--xbr-border) !important;
  border-radius: 6px !important;
  font-size: 13.5px !important;
  color: var(--xbr-text-body) !important;
  padding: 9px 12px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.form-control:focus {
  border-color: var(--xbr-navy) !important;
  box-shadow: 0 0 0 3px rgba(0, 20, 66, 0.08) !important;
}

.wizard > .steps .current a,
.wizard > .steps .current a:hover,
.wizard > .steps .current a:active {
  background: var(--xbr-navy) !important;
  color: #ffffff !important;
  border-radius: 6px !important;
}

.wizard > .steps .done a,
.wizard > .steps .done a:hover,
.wizard > .steps .done a:active {
  background: #e2e8f0 !important;
  color: var(--xbr-navy) !important;
  border-radius: 6px !important;
}

.wizard > .actions a,
.wizard > .actions a:hover,
.wizard > .actions a:active {
  background: var(--xbr-red) !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}

/* 10. Footer */
.footer {
  background: #ffffff !important;
  border-top: 1px solid var(--xbr-border) !important;
  color: var(--xbr-text-muted) !important;
  padding: 16px 30px !important;
  font-size: 13px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.footer .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.footer strong {
  color: var(--xbr-navy) !important;
}

.footer a {
  color: var(--xbr-navy) !important;
  font-weight: 600 !important;
  transition: color 0.2s ease !important;
}

.footer a:hover {
  color: var(--xbr-red) !important;
  text-decoration: underline !important;
}

/* Public Auth Full Width Layout (Login & Sign-up) */
.xbr-public-auth #wrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

.xbr-public-auth #wrapper .navbar-static-side,
.xbr-public-auth .navbar-static-top,
.xbr-public-auth .alert {
  display: none !important;
}

.xbr-public-auth #page-wrapper {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
}

.xbr-public-auth .xbr-login-page,
.xbr-public-auth .xbr-auth-page {
  flex: 1 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.xbr-public-auth .footer {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 18px 32px !important;
  background: #ffffff !important;
  border-top: 1px solid var(--xbr-border) !important;
  position: relative !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

.logo-name img {
  max-width: 220px !important;
  width: 100% !important;
  height: auto !important;
}

/* 11. Modern Modal & Bootbox Dialogs */
.modal-content {
  border-radius: 12px !important;
  border: 1px solid var(--xbr-border) !important;
  box-shadow: 0 16px 48px rgba(0, 20, 66, 0.18) !important;
  overflow: hidden !important;
}

.modal-header {
  background-color: var(--xbr-navy) !important;
  color: #ffffff !important;
  padding: 16px 20px !important;
  border-bottom: none !important;
}

.modal-header .modal-title {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.modal-header .close,
.modal-header .bootbox-close-button {
  color: #ffffff !important;
  opacity: 0.8 !important;
  font-size: 20px !important;
  margin-top: -2px !important;
}

.modal-header .close:hover,
.modal-header .bootbox-close-button:hover {
  opacity: 1 !important;
  color: var(--xbr-red) !important;
}

.modal-body {
  padding: 24px 22px !important;
  color: var(--xbr-text-body) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.modal-footer {
  background-color: #f8fafc !important;
  border-top: 1px solid var(--xbr-border) !important;
  padding: 14px 20px !important;
}

.modal-footer .btn-default,
.modal-footer .btn-secondary {
  background-color: #ffffff !important;
  border: 1px solid var(--xbr-border-dark) !important;
  color: var(--xbr-text-body) !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  padding: 7px 16px !important;
  transition: all 0.2s ease !important;
}

.modal-footer .btn-default:hover,
.modal-footer .btn-secondary:hover {
  background-color: var(--xbr-bg) !important;
  color: var(--xbr-navy) !important;
}

/* ==========================================================================
   12. Wizard & Order Flow - Full Height & Scrollable Page Fix
   ========================================================================== */
.wizard > .content {
  background: #ffffff !important;
  min-height: 575px !important;
  height: auto !important;
  overflow: visible !important;
  margin: 5px 5px 20px 5px !important;
  border-radius: 8px !important;
}

.wizard > .content > .body {
  position: relative !important;
  float: none !important;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
  padding: 0 !important;
}

.wizard > .content > .body > .step-content {
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
}

.wizard .ibox {
  overflow: visible !important;
  margin-bottom: 20px !important;
}

.wizard .ibox-content {
  overflow: visible !important;
}

.wizard > .actions {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  padding: 16px 0 10px 0 !important;
  margin-top: 20px !important;
  border-top: 1px solid var(--xbr-border, #e2e8f0) !important;
  clear: both !important;
}

.wizard > .actions > ul {
  display: inline-block !important;
  float: right !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Service cards in order wizard */
.wizard .border-all {
  background: #ffffff !important;
  border: 1px solid var(--xbr-border, #e2e8f0) !important;
  border-radius: 8px !important;
  padding: 16px !important;
  margin-bottom: 16px !important;
  transition: all 0.2s ease !important;
}

.wizard .border-all:hover {
  border-color: var(--xbr-navy, #001442) !important;
  box-shadow: 0 4px 14px rgba(0, 20, 66, 0.08) !important;
}

/* Datepicker popup placement fix */
.datepicker-dropdown {
  z-index: 99999 !important;
}

/* Terms & Conditions Agreement Box in Order Confirmation */
.terms-agreement-box {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.2s ease !important;
}

.terms-agreement-box:hover {
  border-color: #94a3b8 !important;
  background: #f1f5f9 !important;
}

.terms-agreement-box input[type="checkbox"]#agreeTerms {
  width: 18px !important;
  height: 18px !important;
  cursor: pointer !important;
  margin: 0 10px 0 0 !important;
  position: static !important;
  accent-color: #002395 !important;
}

.terms-agreement-box label {
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  margin-bottom: 0 !important;
  line-height: 1.4 !important;
}

.terms-agreement-box label a {
  color: #002395 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}