body {
	font-size: 14px;
		font-family: Helvetica, sans-serif;
}

body.register-bg {
  background: url('/images/simply-invoicing-bg-desktop.webp') no-repeat center center fixed;
  background-size: cover;
}

.index-bg {
  background-image: url("/images/simply-invoicing-index-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.index-bg {
  position: relative;
}

.index-bg > * {
  position: relative;
  z-index: 1;
}

.modal-stack {
  pointer-events: auto;
}

.container.draft {
  position: relative;
  background: url("/images/simply-invoicing-draft-watermark.webp") no-repeat center center;
  background-size: contain;
}



.layout-wrap {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
}
.left-frame{
  flex: 0 0 clamp(160px, 13vw, 220px);
  width: auto;
}
.center-frame {
	flex: 0 0 auto;
	width: 74%;
}
.center-frame-inv {
	flex: 0 0 auto;
	width: 61%;
}
.center-frame-full{
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}
.right-frame {
	flex: auto;
	width: 13%;
	min-width:220px;
	max-width:280px;
}
.right-frame-inv {
	flex: 0 0 auto;
	width: 26%;
}
.pb-100 {
	padding-bottom: 100px;
}

.sidebar{
  position: sticky;
  top: 50px; /* if you have a fixed header */
  height: calc(100vh - 50px);
  overflow-y: auto;
  align-self: flex-start; /* important in some flex cases */
}


.rightbar {
	position: fixed;
  top: 50px;
	height: 100vh;
  bottom: 0;
  right: 0;
  z-index: 990;
	overflow-y: auto;
}
.rightbar-inv {
	position: fixed;
  top: 50px;
	height: 100vh;
  bottom: 0;
  right: 0;
  z-index: 990;
	overflow-y: auto;
	min-width: 320px;
}




.nav-link {
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }
.nav-link i {
		width: 25px; 
		text-align: center;
}




#sidebarMenu { 
	margin-top: 50px;
	max-width: 250px;
}

/* White separator */
.dev-icons + hr,
.nav-item hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.6);
  margin: 12px 0;
}

/* Inline icons row */
.dev-icons {
  display: flex;
  align-items: center;
  gap: 12px;            /* space between icons */
}

/* Remove nav-link block behavior for icons */
.dev-icons .nav-link {
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
}

.dev-icons .nav-link:hover {
  color: #ffffff;
}

.dev-icons-fix {
	justify-content: unset !important;
  padding-left: 1rem;
}

#offcanvasProfile {
	max-width: 300px;
}

.nav-link { 
	color: #000000;
}

.nav-pad {
	padding-left: 0px;
}

/* 1) Make the row not wrap and allow shrinking */
header .d-flex.w-100 {
  flex-wrap: nowrap;
  min-width: 0;
}

/* 2) The right side container must be shrinkable */
header .ms-auto.d-flex {
  min-width: 0;
}

/* 3) The UL must be shrinkable too (Safari needs this) */
header .navbar-nav.flex-row {
  flex-wrap: nowrap;
  min-width: 0;
}

/* 4) The company selector LI must be allowed to shrink */
header li[data-drv="drv-company-selector"] {
  min-width: 0;
  max-width: 100%;
}

/* 5) The button is a flex row; allow it to shrink */
header li[data-drv="drv-company-selector"] > button.nav-link {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

/* 6) The name is the only flexible part -> ellipsis */
#activeCompanyName {
  flex: 1 1 auto;
  max-width: 100px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 7) Keep icon + logo from shrinking */
header li[data-drv="drv-company-selector"] img,
header li[data-drv="drv-company-selector"] i {
  flex: 0 0 auto;
}

.ms-auto.d-flex {
    align-items: center; /* Vertical centering for the whole container */
}

.ms-auto.d-flex .navbar-nav {
    align-items: center; /* Ensure nav items align */
}

.ms-auto.d-flex .nav-item .nav-link {
    display: flex;
    align-items: center; /* Vertical center for button contents */
}

.right-menu-item {  color: #000000; 
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}
.right-menu-item:hover,
.right-menu-item:focus {
  color: #0A58CA; 
  text-decoration: none;
}
.right-menu-item:active {
  color: #000000;
}
.right-menu-item:visited {
  color: #000000;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover,
.nav-pills .nav-link:focus {
  border-radius: 0 !important;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #ffffff;
  background-color: #000000 !important;
}
.btn,
.btn:focus,
.btn:hover,
.btn:active {
  border-radius: 0 !important;
}

.header-logo {
	height: 50px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.navigation-logo {
	height: 50px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
}

.register-logo {
	width: 250px;
}

.register-box-2 {
	width:300px;
  background: rgba(0, 0, 0, 0.6); /* semi-transparent black/grey */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #fff; /* make text white for readability */
}

.badge {
	border-radius: 0px !important;
	font-size: 12px;
}


table {
  --bs-table-color: #596169 !important;
}

.table-header {
	color: #000000 !important;
}
.table-header-notactive {
	color: #706e6e !important;
}
.table-responsive {
  overflow-y: visible;
  overflow-x: auto;
}
.hide-col-xs { display: none; }
@media (min-width: 576px) {
  .hide-col-xs { display: table-cell !important; }
}

hr { 
	border: 0;
  border-top: 1px solid #000;
	margin: 0.5rem 0; 
	opacity: 1;
}

.hr {
    border: 0;
    border-top: 1px solid #000;
    margin-top: 30px;
    margin-bottom: 50px;
		opacity: 1;
}

.hr-grey {
  border: 0;
  border-top: 1px solid #dee2e6;
}

.stat-box {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 8px 12px;
  flex: 1 1 0;
}

.dashboard-box-header { height: 31px; }

h6 { font-size: 15px }

.font10 { font-size: 10px; }
.font11 { font-size: 11px; }
.font12 { font-size: 12px; }
.font14 { font-size: 14px; }
.font16 { font-size: 16px; }
.font18 { font-size: 18px; }
.font20 { font-size: 20px; }
.font24 { font-size: 24px; }
.font30 { font-size: 30px; }

.flh40 { line-height: 40px;}


.b600 { font-weight: 600; }
.b700 { font-weight: 700; }
.b800 { font-weight: 800; }

.pointer:hover {
	cursor: pointer;
}

/* TOUR DRIVER */

/* Hard reset for reliable fixed positioning */
.tour-wrapper{
  position: fixed !important;
  right: 16px !important;
  bottom: 16px !important;
  left: auto !important;
  top: auto !important;

  z-index: 1044; /* above everything */
  width: auto;
  height: auto;

  display: inline-block;
}

/* Make the offcanvas content area truly full height */
.offcanvas-body-fix{
  height: 100%;
  overflow: hidden;          /* IMPORTANT: body itself should NOT scroll */
}

/* Let the menu area scroll, so mt-auto can push footer to bottom */
.offcanvas-menu-scroll{
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;             /* IMPORTANT in flex layouts */
}

/* Inline icons */
.dev-icons{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

/* White HR on dark side-menu */
.offcanvas-menu-scroll hr{
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.6);
  margin: 12px 0;
}

/* make wrapper the positioning context */
.tour-wrapper{ position: fixed !important; }
.tour-wrapper{ isolation: isolate; } /* avoids stacking weirdness */

.tour-btn img{
  width: 140px;
  height: auto;
  display: block;
}

.tour-off-btn{
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 2;

  width: 26px;
  height: 26px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  border-radius: 50% !important;

  background: #212529; /* Bootstrap dark */
  color: #fff;
  border: 1px solid #212529;

  line-height: 1;
  transition: background-color .15s ease,
              box-shadow .15s ease;
}

/* hover / focus */
.tour-off-btn:hover,
.tour-off-btn:focus{
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 50% !important;

  background: #343a40;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}

/* click */
.tour-off-btn:active{
  transform: scale(0.95);
}

.tour-off-btn i{
  font-size: 14px;
  pointer-events: none;
}





.driver-popover.driverjs-theme {
  background-color: #fde047;
  color: #000;
}
.driver-popover.driverjs-theme .driver-popover-title {
  font-size: 16px;
}
.driver-popover.driverjs-theme .driver-popover-title,
.driver-popover.driverjs-theme .driver-popover-description,
.driver-popover.driverjs-theme .driver-popover-progress-text {
  color: #000;
	margin-right: 20px;
}
.driver-popover.driverjs-theme button {
  flex: 1;
  text-align: center;
  background-color: #000;
  color: #ffffff;
  text-shadow: none;
  font-size: 14px;
  padding: 5px 8px;
}
.driver-popover.driverjs-theme button:hover {
  color: #ffffff;
	background-color: #000000;
}
.driver-popover.driverjs-theme .driver-popover-navigation-btns {
  justify-content: space-between;
  gap: 3px;
}
.driver-popover.driverjs-theme .driver-popover-close-btn {
  color: #000;
  padding: 1px 1px;
  background-color: transparent !important;
  margin-top: 10px;
  font-size: 24px;
}
.driver-popover.driverjs-theme .driver-popover-close-btn:hover {
  color: #000;
}
.driver-popover.driverjs-theme .driver-popover-arrow-side-left.driver-popover-arrow {
  border-left-color: #fde047;
}
.driver-popover.driverjs-theme .driver-popover-arrow-side-right.driver-popover-arrow {
  border-right-color: #fde047;
}
.driver-popover.driverjs-theme .driver-popover-arrow-side-top.driver-popover-arrow {
  border-top-color: #fde047;
}
.driver-popover.driverjs-theme .driver-popover-arrow-side-bottom.driver-popover-arrow {
  border-bottom-color: #fde047;
}


/* Action Btn */

.action-btn{
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 4px 10px;
  font-size: 14px;
  border: 1px solid #333;
  background: #fff;
  cursor: pointer;
}
.action-menu{
  position: fixed;
  min-width: 120px;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  z-index: 999999;
  display: none;
  border-radius: 8px;
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
}
.action-menu a,
.action-menu button{
  display:block;
  width:100%;
  text-align:left;
  padding: 10px 12px;
  font-size: 14px;
  color:#000;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
.action-menu a:hover,
.action-menu button:hover{
  background:#f2f2f2;
}
.action-menu .divider{
  height:1px;
  background:#e6e6e6;
}
.action-menu a[aria-disabled="true"]{
  opacity:.5;
  pointer-events:none;
}
.action-menu hr,
.action-menu .dropdown-divider{
  border: 0;
  height: 1px;
  background: #e6e6e6;
  margin: 6px 0;
}

/* SUBSCRIPTIONS PLANS */

.plan-toggle-pill .btn { border-radius: 999px; }
.plan-toggle-pill .btn:first-of-type { margin-right: .35rem; }

.plan-card {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  overflow: hidden;
}

.plan-header {
  border-bottom: 0;
  padding: 14px 16px;
  position: relative;
}

.plan-top-tag{
  position:absolute;
  top:10px;
  right:12px;
  font-size: .75rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: #f7c948;
  color: #1f2937;
  font-weight: 600;
}

.plan-name{ font-weight: 800; letter-spacing: .2px; }

.plan-free .plan-header { background: linear-gradient(90deg,#cfefff,#e6fbf2); }
.plan-standard .plan-header { background: linear-gradient(90deg,#2f7eea,#4aa3ff); color:#fff; }
.plan-premium .plan-header { background: linear-gradient(90deg,#6b3dd2,#8b5cf6); color:#fff; }

.plan-price-wrap { padding-top: 8px; }
.plan-price .price-amount { font-size: 2rem; font-weight: 900; }
.plan-price .price-period { font-size: 1rem; opacity: .8; margin-left: .25rem; }

.plan-features li{
  display:flex;
  gap:.6rem;
  align-items:flex-start;
  padding:.35rem 0;
  border-bottom: 1px dashed rgba(0,0,0,.08);
}
.plan-features li:last-child{ border-bottom:0; }

.feat-icon{
  width: 22px;
  height: 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 50%;
  font-weight: 800;
  margin-top: 1px;
  flex: 0 0 22px;
}
.feat-icon.ok{ background: rgba(25,135,84,.15); color:#198754; }
.feat-icon.no{ background: rgba(220,53,69,.12); color:#dc3545; }

.plan-card.is-current{
  outline: 2px solid rgba(25,135,84,.35);
}


/* Datepicker */

.dash-seg .btn {
  border: 1px solid #dee2e6;
}
.dash-seg .btn + .btn {
  margin-left: -1px;
}
.dash-seg .btn.active,
.dash-seg .btn.btn-dark {
  border-color: #212529;
}
.dash-range-btn {
  height: 38px;
  border-radius: .5rem;
  padding: .375rem .75rem;
}
.dash-custom-input {
  height: 38px;
  border-radius: .5rem;
	width: 210px;
}
.dash-cal-icon {
  display: inline-flex;
  align-items: center;
  opacity: .8;
}



.bg-light-grey { 	background-color: rgba(212, 212, 212, 1); }
.bg-grey { 	background-color: #f0f0f0; }
.bg-side-menu { background-color: #343a40 !important; }

.text-wrap-break {
    overflow-wrap: break-word; /* modern */
    word-break: break-word;    /* fallback */
    white-space: normal;       /* allow wrapping */
}

.inner-box {
    padding: 1rem;          /* adjust as needed */
    border: 1px solid #000;
}

/* NAV FIX / NAV FIX RIGHT */

.nav-flex-fix .nav-link,
.nav-flex-fix .nav-link i {
  color: #fff !important;
}
.nav-flex-fix .nav-link:hover,
.nav-flex-fix .nav-link:hover i {
  color: #f8f9fa !important;
  opacity: 0.85;
}
.nav-flex-fix .nav-link.active,
.nav-flex-fix .nav-link.active i {
  color: #fff !important;
  opacity: 1;
}
.nav-flex-fix .nav-link.text-muted,
.nav-flex-fix .nav-link.text-muted i {
  color: #bbb !important;
}


.nav-flex-fix-right .nav-link,
.nav-flex-fix-right .nav-link i {
  color: #fff !important;
}
.nav-flex-fix-right .nav-link:hover,
.nav-flex-fix-right .nav-link:hover i {
  color: #f8f9fa !important;
  opacity: 0.85;
}
.nav-flex-fix-right .nav-link.active,
.nav-flex-fix-right .nav-link.active i {
  color: #fff !important;
  opacity: 1;
}
.nav-flex-fix-right .nav-link.text-muted,
.nav-flex-fix-right .nav-link.text-muted i {
  color: #bbb !important;
}

.no-hover.btn-outline-secondary:hover,
.no-hover.btn-outline-secondary:focus,
.no-hover.btn-outline-secondary:active {
  background-color: transparent !important;
  color: inherit !important;
  border-color: var(--bs-secondary) !important;
  box-shadow: none !important;
}

.table-checkbox { font-size: 16px;
border: 2px solid rgb(108, 117, 125)
}
.form-check-input:checked {
  background-color: rgb(108, 117, 125);
  border-color: rgb(108, 117, 125);
}

.nav-pills .nav-link {
  border-radius: 0px !important;
}

.inline-link {
	font-size: 14px;
	text-decoration: none;
	font-weight: 500;
	color: #007bff;
}
.inline-link a:link {
	text-decoration: none;
	color: #007bff
}
.inline-link a:visited {
	text-decoration: none;
	color: #007bff
}
.inline-link a:hover {
	text-decoration: underline;
	color: #007bff
}
.inline-link a:focus {
	text-decoration: underline;
	color: #007bff
}
.inline-link a:active {
	text-decoration: none;
	color: #007bff;
}


/* Subcategory list styles */
.subcat-list .list-group-item {
    padding: 4px 10px !important;
    font-size: 0.9rem;
    background-color: #f8f9fc; /* light bluish/grey background */
    border: none;
}

.subcat-list {
    overflow: hidden;
		margin-bottom: 0rem;
}
.subcat-list a {
    text-decoration: none;
}
.subcat-list a:hover,
.subcat-list a:focus {
    text-decoration: underline;
}
.subcat-list a {
    color: #000 !important;
    text-decoration: none;
}

.subcat-list a:hover,
.subcat-list a:focus {
    text-decoration: underline;
    color: #000 !important;
}

.cat-collapse {
    background-color: rgb(248, 249, 250) !important;
}
.category-btn {
    font-size: 13px;
}











.completion { width: 200px; }
.info-icon { font-size: 18px; }


.btn { font-size: 14px;}
.btn-divider {
  border: 0;
  height: 1px;
  background-color: #aaa;
  margin: 1.5rem 0;
}

.card {
  border-radius: 0 !important;
}
.card-header {
	font-size:14px;
	text-transform: uppercase;
}

.form-control {
  font-size: 14px;
	border-radius: 0 !important;
	border: 1px solid #939596;
 
}
.form-select {
  font-size: 14px;
	border-radius: 0 !important;
	border: 1px solid #939596;
}
.form-label {
	font-weight: 600;
	font-size: 14px;
}
.form-control::placeholder {
    color: rgb(139, 141, 144) !important;
    opacity: 1; 
}

.modal-header {
	background-color: #E6E8E9;
	padding-top: 6px;
	padding-bottom: 6px;
	text-transform: uppercase;

}

.modal-title {
	font-size: 16px;
	color: #000000;

}

.expense-modal-body label.form-label {
  font-size: 14px;
  margin-bottom: 0;
	margin-top: .5rem
}

#validationModal {
  z-index: 1061 !important;
}

#validationModal .modal-backdrop {
  z-index: 1060 !important;
}

.modal-backdrop + .modal-backdrop {
  z-index: 1060 !important;
  background-color: rgba(0, 0, 0, 0.5);
}

  /* A4 portrait ≈ 1.414 : 1 (height/width) → 141.42% */
  .ratio-a4 { --bs-aspect-ratio: 141.42%; }
  /* Optional: 9:16 portrait (taller) → 177.78% */
  .ratio-9x16 { --bs-aspect-ratio: 177.78%; }

.breadcrumb {
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 0px;
}
.breadcrumb .breadcrumb-item a {
    color: #000 !important;
    text-decoration: none;
}

.breadcrumb .breadcrumb-item a:hover,
.breadcrumb .breadcrumb-item a:focus {
    color: #000 !important;
    text-decoration: underline;
}
.breadcrumb .breadcrumb-item.active {
    color: #000 !important;
		font-weight: 600;
}


.table.table-borderless tr,
.table.table-borderless td {
  padding: 0.2rem 0.2rem;
}

.custom-tab {
	border: 1px solid #ccc;
}

.anchor-menu-small { display: none; }
.anchor-menu-big { 	display: block; }
@media (max-width: 767.98px) { 
	.anchor-menu-small { 	display: block; }
	.anchor-menu-big { 	display: none }
}



.dropdown-item.custom-secondary {
  color: #000000;
}
.dropdown-item.custom-secondary:hover,
.dropdown-item.custom-secondary:focus,
.dropdown-item.custom-secondary:active {
  background-color: var(--bs-secondary-bg);
  color: #000000;
}


/* Register */

.register-box-wrapper {
  background: rgba(0, 0, 0, 0.4); /* semi-transparent black/grey */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(200, 195, 195, 0.3);
  color: #fff; /* make text white for readability */
	padding: 30px 30px;
}

.register-box1 {
  background: transparent;
  border-radius: 12px;
  color: #fff; /* make text white for readability */
}

.register-box-2 {
  background: rgba(0, 0, 0, 0.6); /* semi-transparent black/grey */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #fff; 
}

@media (min-width: 2599.98px) {
  .center-frame {
    width: 82%;
  }
	.right-frame {
		width: 5%;
	}
}

@media (min-width: 2399.98px) and (max-width: 2599.98px) {
  .center-frame {
    width: 82%;
  }
	.right-frame {
		width: 5%;
	}
}

@media (min-width: 2399.98px) and (max-width: 2599.98px) {
  .center-frame {
    width: 82%;
  }
	.right-frame {
		width: 5%;
	}
}

@media (min-width: 2299.98px) and (max-width: 2399.98px) {
  .center-frame {
    width: 81%;
  }
	.right-frame {
		width: 7%;
	}
}

@media (min-width: 2199.98px) and (max-width: 2299.98px) {
  .center-frame {
    width: 80%;
  }
	.right-frame {
		width: 7%;
	}
}

@media (min-width: 1999.98px) and (max-width: 2199.98px) {
  .center-frame {
    width: 79%;
  }
	.right-frame {
		width: 9%;
	}
}

@media (min-width: 1899.98px) and (max-width: 1999.98px) {
  .center-frame {
    width: 77%;
  }
	.right-frame {
		width: 11%;
	}
}

@media (min-width: 1799.98px) and (max-width: 1899.98px) {
  .center-frame {
    width: 76%;
  }
	.right-frame {
		width: 11%;
	}
}

@media (min-width: 1699.98px) and (max-width: 1799.98px) {
  .center-frame {
    width: 71%;
  }
	.right-frame {
		width: 16%;
	}
}

@media (min-width: 1599.98px) and (max-width: 1699.98px) {
  .center-frame {
    width: 74%;
  }
	.right-frame {
		width: 16%;
	}
}

@media (min-width: 1499.98px) and (max-width: 1599.98px) {
  .center-frame {
    width: 71%;
  }
	.right-frame {
		width: 16%;
	}
}

@media (min-width: 1299.98px) and (max-width: 1499.98px) {
  .center-frame {
    width: 71%;
  }
	.right-frame {
		width: 16%;
	}
}

@media (min-width: 1199.98px) and (max-width: 1299.98px) {
  .center-frame {
    width: 69%;
  }
	.right-frame {
		width: 16%;
	}
}

@media (min-width: 1099.98px) and (max-width: 1199.98px) {
  .center-frame {
    width: 66%;
  }
	.right-frame {
		width: 16%;
	}
}

@media (min-width: 991.98px) and (max-width: 1099.98px) {
  .center-frame {
    width: 62%;
  }	.right-frame {
		width: 16%;
	}
}

/* RESPONSIVE 992 PX*/

@media (max-width: 991.98px) {

	.table-responsive {
		scrollbar-gutter: stable both-edges;
	}
	.sidebar {
		display: none !important;
	}

	.rightbar {
		position: inherit;
		top: 50px;
		bottom: 0;
		right: 0;
		height: 100vh;  
		z-index: 990;
		overflow-y: auto;
	}
	.center-frame-full {
		flex: 0 0 auto;
		width: 100%;
	}
	.center-frame {
		width: 100%;
	}
	.center-frame-inv {
		width: 100%;
	}
	.right-frame {
		width: 100%;
		max-width: unset;
	}
	.right-frame-inv {
		width: 100%;
	}

	.register-box-wrapper {
		margin-top: 80px;
	}

}

/* RESPONSIVE 768 PX*/

@media (max-width: 767.98px) {

body.register-bg {
    background: url('/images/simply-invoicing-bg-mobile.webp') no-repeat center center fixed;
    background-size: cover;
  }
	.mob-btn {width: 50% !important;}
	.mobile-noshow { display: none !important; }
}

/* RESPONSIVE 576 PX*/	

@media (max-width: 575.98px) {
  .stat-box {
    flex: 0 0 calc(50% - 0.75rem); /* gap-aware */
  }
  .invoice-items-table .table thead {
    display: none;
  }
  .invoice-items-table .table tbody tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.75rem;
    background-color: #fff;
  }
  .invoice-items-table .table tbody td {
    display: flex;
    justify-content: space-between;
    text-align: left !important;
    border: none;
    padding: 0.4rem 0;
  }
  .invoice-items-table .table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #6c757d;
  }
  .invoice-items-table .table tbody td:last-child {
    font-weight: 600;
  }
	.mob-btn {width: 100% !important;}
}


@media print {
	@page { size: A4 portrait; margin: 12mm; }
	body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.no-print { display: none !important; }
	.shadow, .shadow-sm, .shadow-lg,
	.card, .table-responsive { box-shadow: none !important; }
	.card { border: 0 !important; }
	.table { font-size: 12px; }
	.table th, .table td { padding: .35rem .5rem !important; }
	.table thead th:nth-child(7),
	.table tbody td:nth-child(7) {
		display: none !important;
	}
	table tr { page-break-inside: avoid; }
}

.white { color: white !important; }
.red { color: red !important;  }
.grey { color: #706e6e !important; }
.black { color: #343a40 !important }



/* ===== FAQ HUB ===== */

.input-wrapper{
  position: relative;
  overflow: visible !important;
}

/* Input */
.input-wrapper input.custom-input{
  width: 100%;
  padding: 16px 16px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 14px;
  border: 1px solid #dbe1ef;
  background: #ffffff;
  color: #0f1b2d;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.input-wrapper input.custom-input::placeholder{
  color: #94a3b8;
  font-weight: 600;
}

.input-wrapper input.custom-input:focus{
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59,130,246,.15);
}

/* Suggestions dropdown */
.suggestionsBox{
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 99999;
  width: 100%;
}

.col-12.col-md-8.col-lg-6,
.row{
  overflow: visible !important;
}

#autoSuggestionsList{
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #dbe1ef;
  box-shadow: 0 16px 40px rgba(15,27,45,.12);
  overflow: hidden;
}

#autoSuggestionsList li{
  list-style: none;
  margin: 0;
  padding: 10px 14px;
  font-size: .95rem;
  font-weight: 700;
  color: #0f1b2d;
  cursor: pointer;
  transition: background .15s ease;
}

#autoSuggestionsList li:hover,
#autoSuggestionsList li.active{
  background: #f1f5ff;
}

/* Result box */

#search_result .faq-result-card{
  border-radius: 18px;
  border: 1px solid #e4e9f5;
  box-shadow: 0 10px 30px rgba(15,27,45,.08);
  overflow: hidden;
  background: #fff;
}

#search_result .faq-result-head{
  background: #0f1b2d;
  color: #ffffff;
  padding: 14px 16px;
  font-weight: 800;
  font-size: 1rem;
}

#search_result .faq-result-body{
  padding: 16px;
  font-size: 1rem;
  line-height: 1.75;
  color: #1f2937;
}

@media (max-width: 576px){
  .input-wrapper{ max-width: 100%; }
  #search_result{ max-width: 100%; }
}








/* ===== FAQ  ===== */

.si-faq{
  background: #ffffff;
}

.si-faq-subtitle{
  color: rgba(15, 27, 45, .65);
  font-size: 1.2rem;
}

.si-accordion{
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: transparent;
  --bs-accordion-btn-bg: #ffffff;
  --bs-accordion-btn-color: #0f1b2d;
  --bs-accordion-active-color: #0f1b2d;
  --bs-accordion-active-bg: #ffffff;
  --bs-accordion-btn-padding-x: 1.5rem;
  --bs-accordion-btn-padding-y: 1.35rem;
  --bs-accordion-body-padding-x: 1.5rem;
  --bs-accordion-body-padding-y: 0.25rem;
}

.si-acc-item{
  background: transparent;
  border: 0;
  margin-bottom: 18px;
}

.si-acc-btn{
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 12px !important;
  border: 1px solid rgba(15, 27, 45, .12);
  box-shadow: 0 10px 26px rgba(15, 27, 45, .08);
}

.si-acc-btn:focus{
  box-shadow: 0 10px 26px rgba(15, 27, 45, .08);
  border-color: rgba(15, 27, 45, .16);
}

.si-acc-btn::after{
  transform: scale(1.15);
  opacity: .85;
}

.si-acc-body{
  color: rgba(15, 27, 45, .70);
  font-size: 1.08rem;
  line-height: 1.75;
  padding-top: .75rem;
  padding-bottom: 1.25rem;
}

.accordion-collapse{
  border-left: 1px solid rgba(15, 27, 45, .12);
  border-right: 1px solid rgba(15, 27, 45, .12);
  border-bottom: 1px solid rgba(15, 27, 45, .12);
  border-radius: 0 0 12px 12px;
  background: #fff;
  margin-top: -10px;
  box-shadow: 0 10px 26px rgba(15, 27, 45, .08);
}

.accordion-button.collapsed{
  box-shadow: 0 10px 26px rgba(15, 27, 45, .08);
}

.accordion-button:not(.collapsed){
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-bottom: 0;
}

@media (max-width: 575.98px){
  .si-acc-btn{
    font-size: 1.05rem;
    padding-right: 3rem;
  }
  .si-acc-body{
    font-size: 1.02rem;
  }
}

.si-faq-hub{
  background: #ffffff;
  color: #0f1b2d;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.si-faq-hub-title{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
}

/* Category grid */
.si-faq-cats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.si-faq-cat{
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 16px;
  padding: 22px 22px;
  border: 1px solid rgba(15,27,45,.10);
  box-shadow: 0 18px 50px rgba(15,27,45,.06);
  display: flex;
  gap: 16px;
  align-items: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.si-faq-cat:hover,
.si-faq-cat:focus{
  transform: translateY(-2px);
  border-color: rgba(15,27,45,.14);
  box-shadow: 0 22px 60px rgba(15,27,45,.10);
  outline: none;
}

.si-faq-ico{
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
  border: 1px solid rgba(15,27,45,.08);
}

.si-faq-ico--blue{ background: rgba(99,102,241,.14); color:#3730a3; }
.si-faq-ico--green{ background: rgba(16,185,129,.14); color:#065f46; }
.si-faq-ico--purple{ background: rgba(168,85,247,.14); color:#6b21a8; }
.si-faq-ico--pink{ background: rgba(236,72,153,.14); color:#9d174d; }
.si-faq-ico--cyan{ background: rgba(6,182,212,.14); color:#155e75; }
.si-faq-ico--orange{ background: rgba(249,115,22,.14); color:#9a3412; }

.si-faq-cat-title{
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 1.18rem;
  margin-bottom: 3px;
}

.si-faq-cat-sub{
  color: rgba(15,27,45,.62);
  font-weight: 600;
  font-size: .98rem;
}

/* Sections */
.si-faq-sections{
  display: grid;
  gap: 26px;
}

.si-faq-section{
  scroll-margin-top: 92px;
}

.si-faq-section-head{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 12px;
}

.si-faq-section-badge{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 16px;
  border: 1px solid rgba(15,27,45,.10);
}

.si-faq-section-badge--blue{ background: rgba(99,102,241,.16); color:#3730a3; }
.si-faq-section-badge--green{ background: rgba(16,185,129,.16); color:#065f46; }
.si-faq-section-badge--purple{ background: rgba(168,85,247,.16); color:#6b21a8; }
.si-faq-section-badge--pink{ background: rgba(236,72,153,.16); color:#9d174d; }
.si-faq-section-badge--cyan{ background: rgba(6,182,212,.16); color:#155e75; }
.si-faq-section-badge--orange{ background: rgba(249,115,22,.16); color:#9a3412; }

.si-faq-section-title{
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 1.5rem;
}

/* FAQ list items */
.si-faq-list{
  display: grid;
  gap: 14px;
}

.si-faq-item{
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(15,27,45,.10);
  overflow: hidden;
}

.si-faq-q{
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 18px 18px;
  font-weight: 800;
  color: rgba(15,27,45,.94);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.si-faq-chev{
  font-size: 18px;
  opacity: .7;
  transition: transform .18s ease;
}

.si-faq-a{
  padding: 0 18px 18px;
  color: rgba(15,27,45,.68);
  font-weight: 600;
  line-height: 1.6;
  display: none;
}

.si-faq-item.is-open .si-faq-a{ display: block; }
.si-faq-item.is-open .si-faq-chev{ transform: rotate(180deg); }

@media (max-width: 991.98px){
  .si-faq-cats{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px){
  .si-faq-cats{ grid-template-columns: 1fr; }
}

.si-help{
  background: #ffffff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #0f1b2d;
}

.si-help-box{
  margin: 0 auto;
  background: #f1f3ff; /* light lavender panel */
  border: 1px solid rgba(99,102,241,.35);
  border-radius: 20px;
  padding: clamp(22px, 3.5vw, 40px);
}

.si-help-title{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0;
}

.si-help-subtitle{
  margin: 0;
  color: rgba(15,27,45,.70);
  font-weight: 600;
  font-size: 1.02rem;
}

/* grid */
.si-help-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}

/* cards */
.si-help-card{
  background: #ffffff;
  border: 1px solid rgba(99,102,241,.35);
  border-radius: 14px;
  padding: 22px 22px;
  min-height: 160px;
  box-shadow: 0 18px 50px rgba(15,27,45,.06);
}

.si-help-ico{
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 14px;
  border: 1px solid rgba(15,27,45,.08);
}

.si-help-ico--blue{
  background: rgba(99,102,241,.18);
}
.si-help-ico--green{
  background: rgba(16,185,129,.18);
}
.si-help-ico--purple{
  background: rgba(168,85,247,.18);
}

.si-help-card-title{
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
  margin: 0;
}

.si-help-card-text{
  margin: 0;
  color: rgba(15,27,45,.62);
  font-weight: 600;
  line-height: 1.45;
}

.si-help-link{
  display: inline-block;
  font-weight: 900;
  text-decoration: none;
  color: #4f46e5;
}

.si-help-link:hover,
.si-help-link:focus{
  text-decoration: underline;
  outline: none;
}

.si-help-link--green{
  color: #16a34a;
}

@media (max-width: 991.98px){
  .si-help-grid{ grid-template-columns: 1fr; }
  .si-help-card{ min-height: auto; }
}

.si-help3{
  background:#ffffff;
}

/* clickable card */
.si-help3-card{
  display:block;
  height:100%;
  padding: 26px 26px 22px;
  border-radius: 14px;
  background:#ffffff;
  text-decoration:none;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  color: inherit;
}

.si-help3-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
  border-color: rgba(37, 99, 235, 0.18);
}

.si-help3-icon{
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 16px;
  font-size:30px;
}

.si-help3-icon--blue{
  background: rgba(37, 99, 235, 0.12);
  color:#2563eb;
}

.si-help3-icon--green{
  background: rgba(16, 185, 129, 0.14);
  color:#059669;
}

.si-help3-icon--blue2{
  background: rgba(37, 99, 235, 0.12);
  color:#2563eb;
}

/* text */
.si-help3-title{
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color:#0f172a;
}

.si-help3-text{
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color:#64748b;
}



/* HELP LEFT MENU */

.si-help-tabs{
  gap: 1rem;
  align-items: flex-start;
}

.si-help-nav{
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  position: sticky;
  top: calc(var(--si-header-offset, 84px) + 16px);
  overscroll-behavior: contain;
}

.si-help-nav .nav-link{
  text-align: left;
  border-radius: 0;
  padding: .85rem 1rem;
  font-size: .95rem;
  font-weight: 600;
  color: #1f2937;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  position: relative;
  transition: background-color .15s ease, color .15s ease;
}

.si-help-nav .nav-link:last-child{
  border-bottom: 0;
}

.si-help-nav .nav-link:hover,
.si-help-nav .nav-link:focus{
  background: rgba(13,110,253,.06);
  color: #0b5ed7;
}

.si-help-nav .nav-link.active{
  background: rgba(13,110,253,.10);
  color: #ffffff;
}

.si-help-nav .nav-link.active::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #0d6efd;
}

.si-help-nav::-webkit-scrollbar{ width: 10px; }
.si-help-nav::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.12); border-radius: 10px; }
.si-help-nav::-webkit-scrollbar-track{ background: transparent; }

@media (max-width: 991.98px){
  .si-help-tabs{ flex-direction: column; }
  .si-help-nav{
    position: static;
    max-height: none;
    overflow: visible;
    width: 100%;
    margin-right: 0 !important;
    margin-bottom: 1rem;
  }
}


/* INVOCIE PAYPAL PAYMENTS */


.invoice-payment-notice{
    border:1px solid #dbe3ea;
    border-left-width:5px;
    border-radius:12px;
    padding:16px 18px;
    margin-bottom:24px;
    background:#f8fafc;
    box-shadow:0 2px 10px rgba(0,0,0,.04);
}

.invoice-payment-notice__title{
    font-size:1rem;
    font-weight:600;
    margin:0 0 6px 0;
}

.invoice-payment-notice__text{
    margin:0;
    color:#495057;
    line-height:1.55;
    font-size:.95rem;
}

.invoice-payment-notice--success{
    background:#f0fff4;
    border-color:#b7ebc6;
    border-left-color:#198754;
}

.invoice-payment-notice--success .invoice-payment-notice__title{
    color:#146c43;
}

.invoice-payment-notice--cancelled{
    background:#fff8e1;
    border-color:#ffe08a;
    border-left-color:#f59f00;
}

.invoice-payment-notice--cancelled .invoice-payment-notice__title{
    color:#9c6b00;
}

/* PUBLIC INVOICE CSS */

.si-hero2-btn--outline{
  background: #ffffff;
  border: 2px solid #0d6efd;
  color: #0d6efd;
	border-radius: 10px !important;
  box-shadow: 0 12px 28px rgba(15,27,45,.06);
}

.si-hero2-btn--outline:hover,
.si-hero2-btn--outline:focus{
  background: #eeeeee;
  border-color: #0d6efd;
	border-radius: 10px !important;
	color: #0d6efd;
}


.header-invoice {
	padding-top: 7px;
	padding-bottom: 9px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.header-invoice-logo {
	width: 150px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
}

.paypal-bg {
	background-color: #002991;
}