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;
}


.container.draft {
  position: relative;
  background: url("/images/simply-invoicing-draft-watermark.webp") no-repeat center center;
  background-size: contain; /* or 'cover' if you want it to fill more */
}


.sidebar
 {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
	min-width: 160px;
}

.rightbar {
	position: fixed;
  top: 40px;
	height: 94vh;
  bottom: 0;
  right: 0;
  z-index: 990;
	overflow-y: auto;
}
.nav-flex-fix {
	position:fixed;
	top: 60px;
}

.nav-flex-fix-right {
	position:fixed;
}

.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;
}



#offcanvasProfile {
	max-width: 300px;
}

.nav-link { 
	color: #000000;
}

.nav-pad {
	padding-left: 0px;
}

#activeCompanyName {
	max-width: calc(100vw - 210px);
	overflow: hidden;
} 

.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;
}

.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;
}

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; }


/* TOUR DRIVER */

.tour-btn{
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 9999;
}
.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{
  padding: 4px 10px;
  font-size: 13px;
  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);
}












.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(33, 37, 41) !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: var(--bs-secondary);
}
.dropdown-item.custom-secondary:hover,
.dropdown-item.custom-secondary:focus,
.dropdown-item.custom-secondary:active {
  background-color: var(--bs-secondary-bg);
  color: var(--bs-secondary);
}


/* 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; 
}



/* RESPONSIVE 992 PX*/

@media (max-width: 991.98px) {

	.table-responsive {
			scrollbar-gutter: stable both-edges;
		}
	.sidebar {
		display: none !important;
	}
	.rightbar {
		position: inherit;
		top: 40px;
		bottom: 0;
		right: 0;
		height: auto;
		z-index: 990;
		overflow-y: auto;
	}
	.register-box-wrapper {
		margin-top: 80px;
	}
	.mob-btn {width: 50% !important;}
}

/* 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;
  }
	.mobile-noshow { display: none !important; }
}

/* RESPONSIVE 576 PX*/	

@media (max-width: 575.98px) {
  .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 }



