@charset "UTF-8";

/* BASIC */

html {
	font-size: 12px;
}

@media (max-width: 768px) {
  html {
    font-size: 14px; /* kleiner scherm, voorkomt automatische zoom */
  }

  input, textarea, select {
    font-size: 16px; /* mobiel blijft minimaal 16px om zoom te voorkomen */
  }

  #sidebar{
	width: 220px;
  }

  .flyout-menu{
	left: 210px;
  }

}

caption {
	caption-side: top !important;
	padding-left: 1rem !important;
	padding-bottom: none !important;
	font-weight: bolder;

}

/* Style for the favorite star */
i.favoriteStar {
	color: yellow; /* Makes the star icon yellow */
	font-size: 20px;
}

div.AdviesSignalen label{
	color: red;
	size: 1.5 rem;
}

i.notFavoriteStar {
	font-size: 20px;
}

.negative{
	color:red;
}

.molliebutton{
	height: 2rem;
	cursor:pointer;
	transition: 0.2s all; 
}

.molliebutton:active{
	transform: scale(0.98); 
	/* Scaling button to 0.98 to its original size */ 
	box-shadow: 3px 2px 22px 1px rgba(0, 0, 0, 0.24); 
	/* Lowering the shadow */ 
}

#DivIframeFactuur{
	height: 75vh;
	width: 50vw;
}

.displayNone{
	display: none;
}

.boektzelf{
  background-color: indianred !important; 
}

#DivFacturenKlanten{
  min-height: 500px;
}

.bolder label{
	font-weight: bolder;
}

.footer {
	bottom: 0;
	margin-top: 10px;
}

.nav-link:hover {
	margin-left: 2px;
	border-left: 10px solid #4154f1;
}

i.pointer {
	cursor: pointer;
}

i.pointer:hover {
	font-weight: bolder;
}

.border-box {
	border: 1px solid rgba(85, 145, 255, 0.3);
	border-radius: 5px;
	padding: 10px;
}

body {
	/*background-color: rgb(241, 246, 248) !important;*/
	background: rgb(243, 244, 255) !important;
	background: linear-gradient(90deg, rgb(223, 225, 248) 7%, rgb(230, 239, 245) 52%, rgb(217, 241, 247) 97%) !important;
	/* rgb(222, 238, 243) */
	/* pointer-events: none; */
}

.btn-shadow {
	background-color: transparent;
	border: none;
	border-radius: 5px;
}

.btn-shadow:hover {
	box-shadow: rgb(0 0 0 / 15%) 0px 5px 15px 0px !important;
	background-color: transparent !important;
}

#main {
	margin-top: 2% !important;
	padding: unset !important;
	min-height: 85vh;
}

.kmRegArea {
	padding: 10px;
}

@media (min-width: 1200px) {
	#main {
		margin-left: 250px !important;
	}
}

@media (min-width: 1200px) {
	.toggle-sidebar #main {
		margin-left: 50px !important;
	}
}

option {
	display: block;
	margin-top: 10px;
	font-size: 1rem;
	width: 90%;
	margin-left: 5%;
	border-radius: 10px;
}

h2 .header {
	text-align: center;
}

.alert {
	display: none;
	max-width: 500px;
}

li {
	cursor: pointer;
}

.pointer {
	cursor: pointer;
	display: block;
}

.h_bolder:hover {
	font-weight: bolder
}


/* STRUCTURE */

thead tr th[name=datum],
tbody tr td[name=datum] {
	width: 6em;
}

thead tr th[name=wijzig],
tbody tr td[name=wijzig] {
	width: 4em;
}

thead tr th[name=kilometer],
tbody tr td[name=kilometer] {
	text-align: right;
}

.center {
	margin: auto;
	/* max-width: 1400px; */
}

.inline {
	display: inline-block;
}

.pointer {
	cursor: pointer;
} 

.pagetitle h1,
.fo-page-title h1 {
	margin-top: 0;
	margin-bottom: 0.25rem;
	font-size: 1.8rem;
	line-height: 1.2;
}

.pagetitle,
.fo-page-title {
	margin-bottom: 1rem;
}

.fo-page-title p {
	margin-bottom: 1rem;
	color: #5a6b7b;
	font-size: 0.96rem;
}

#SiteContent>div {
	display: none;
	min-width: 70vw;
	/* justify-content: flex-end; */
}

.PanelTitel {
	text-transform: uppercase;
	size: 1.2em;
	cursor: pointer;
	font-weight: bold;
	display: block;
	color: #6574f5;
	padding-top: 2%;
}

.hidden {
	display: none;
}


/* FORM TYPOGRAPHY*/

select {
	padding: 1px 2px;
}

.formContent {
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius: 10px 10px 10px 10px;
	background: #fff;
	padding: 30px;
	width: 90%;
	max-width: 450px;
	position: relative;
	padding: 0px;
	-webkit-box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
	box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
	text-align: center;
}

input[type=button],
input[type=submit],
input[type=reset] {
	background-color: #007bff;
	border: none;
	color: white;
	padding: 5px 5%;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	text-transform: uppercase;
	font-size: 1rem;
	-webkit-box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
	box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
	-webkit-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
	margin: 5px 20px 20px 20px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	margin-left: 5%;
	width: 90%;
	max-width: 300px;
}

button[type=button].small {
	padding: 15px 15px;
	margin-top: 30px;
}

button[type=button]:hover:not(.chat-topic-item),
input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover {
	background-color: #2175cf;
}

button[type=button]:active,
input[type=button]:active,
input[type=submit]:active,
input[type=reset]:active {
	-moz-transform: scale(0.95);
	-webkit-transform: scale(0.95);
	-o-transform: scale(0.95);
	-ms-transform: scale(0.95);
	transform: scale(0.95);
}


/* ANIMATIONS */


/* Simple CSS3 Fade-in-down Animation */

.fadeInDown {
	-webkit-animation-name: fadeInDown;
	animation-name: fadeInDown;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}


/* Simple CSS3 Fade-in Animation */

@-webkit-keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@-moz-keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.locked * {
	cursor: wait !important;
}

.fadeIn {
	opacity: 0;
	-webkit-animation: fadeIn ease-in 1;
	-moz-animation: fadeIn ease-in 1;
	animation: fadeIn ease-in 1;
	-webkit-animation-fill-mode: forwards;
	-moz-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
	-webkit-animation-duration: 1s;
	-moz-animation-duration: 1s;
	animation-duration: 1s;
}

.fadeIn.first {
	-webkit-animation-delay: 0.4s;
	-moz-animation-delay: 0.4s;
	animation-delay: 0.4s;
}

.fadeIn.second {
	-webkit-animation-delay: 0.6s;
	-moz-animation-delay: 0.6s;
	animation-delay: 0.6s;
}

.fadeIn.third {
	-webkit-animation-delay: 0.8s;
	-moz-animation-delay: 0.8s;
	animation-delay: 0.8s;
}

.fadeIn.fourth {
	-webkit-animation-delay: 1s;
	-moz-animation-delay: 1s;
	animation-delay: 1s;
}


/*header */


/* Clear floats after the columns */

.row:after {
	content: "";
	display: table;
	clear: both;
}

.column {
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
	display: table;
	content: " ";
	float: left;
}

.col10 {
	width: 100%;
}

.col80 {
	width: 100%;
}

.col-25 {
	float: left;
	width: 25%;
	margin-top: 6px;
}

.col-75 {
	float: left;
	width: 75%;
	margin-top: 6px;
}

.form-group {
	margin: 0px auto;
	max-width: 100%;
}

select.form-control[size],
select.form-control[multiple],
input[type=number].form-control {
	height: auto;
}

input[type=text] .search {
	width: 80%;
	padding: 10px;
	margin-left: 10%;
	display: block;
	border-radius: 10px;
	font-size: 1rem;
}

textarea.form-control {
	height: auto;
}

.container {
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
	width: 90%;
}

.header {
	display: block;
	color: black;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 2rem;
	font-weight: bold;
}

#selectcompany ul {
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius: 10px 10px 10px 10px;
	list-style-type: none;
	margin-left: 5%;
	/* width: 250px; */
	padding: 10px;
	max-height: 80vh;
	/*background-color: rgb(181, 181, 184);*/
	overflow-y: auto;
	position: relative;
	white-space: nowrap;
}

#selectcompany {
	margin: auto;
	margin-top: 5%;
	width: 80%;
	max-width: 600px;
	box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.3);
}

li.header:hover:not(.active) {
	background-color: rgb(0, 109, 128);
}

li.active {
	color: #fff;
	background: rgb(156, 155, 155);
}

.error {
	color: red;
	display: none;
}

img:not(.icon) {
	max-width: 100%;
	max-height: 100%;
}

select,
input,
textarea {
	display: block;
	/* margin-top: 10px; */
	/*font-size: 1rem;*/
	width: 90%;
	margin-left: 5%;
	margin-bottom: 10px;
}

input[type=checkbox]:not(.form-check-input) {
	width: auto;
	display: inline-block;
}

.half {
	width: 40%;
	display: inline-block;
}

input[type=number].half {
	/*float: right;*/
	margin-right: 5%;
	width: 35%;
}

img.icon {
	width: 15px;
	height: 15px;
	cursor: pointer;
}

.openstaand{
  background-color:#ff00194f!important; 
}

/* TABLE */

td,
th {
	/* border: 1px solid #dddddd; */
	text-align: left;
	padding: 8px;
}

#verkoopfactuur table td, #verkoopfactuur table th{
	text-align: left;
	padding: 5px 2rem 1rem 1rem !important;
}

/* tr:nth-child(even) {
	background-color: #dddddd;
} */


/*DRAG AND DROP*/

#drop_file_zone {
	margin-left: 5%;
	background-color: #f3f7fd;
	border: #ced4da 2px dashed;
	max-width: 290px;
	width: calc(90%);
	height: 100px;
	margin-bottom: 15px;
	margin-top: 20px;
}

#drag_upload_file {
	margin: 0 auto;
}

#drop_file_zone.is-dragover {
	background-color: grey;
}

#drag_upload_file p {
	text-align: center;
}

#drag_upload_file #KiesInkoopBestand {
	display: none;
}

#drag_upload_file #KiesBestand {
	display: none;
}

#drag_upload_file input[type="button"] {
	text-transform: none;
	width: auto;
}

.ListBestanden {
	margin-top: 15px;
	margin-bottom: 15px;
	margin-left: 5%;
	height: auto;
	max-width: 290px;
	width: 90%;
}


/*SLIDER*/


/* The switch - the box around the slider */

.switch {
	position: relative;
	display: inline-block;
	width: 40px !important;
	height: 1.5rem;
}


/* Hide default HTML checkbox */

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}


/* The slider */

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 1rem;
	width: 16px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked+.slider {
	background-color: #00ca22;
}

input:focus+.slider {
	box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
	-webkit-transform: translateX(16px);
	-ms-transform: translateX(16px);
	transform: translateX(16px);
}


/* Rounded sliders */

.slider.round {
	border-radius: 34px;
}

.slider.round:before {
	border-radius: 50%;
}

.bottom-right {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 100px;
}

.meldingpopup{
     display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    background: #333;
    color: #fff;
    padding: 12px 16px;
    border-radius: 6px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.melding {
	margin: auto;
	width: 100%;
	/* background-color: white; */
	color: blue;
	text-align: center;
	font-size: 1.2rem;
	display: none;
	z-index: 10000;
	position: fixed;
	display: block;
}

.selectie {
	width: 80%;
	max-width: 1000px;
	/* background-color: #eeeeee; */
	margin: auto;
	padding: 12px 20px;
	border-radius: 8px;
	margin-bottom: 15px;
}

.data {
	/* width: 80%; */
	max-width: 1000px;
	/* background-color: #eeeeee;
    margin: auto;
    padding: 12px 20px; */
	border-radius: 8px;
	overflow-x: auto;
}

.zoekveld {
	/* background-image: url('/portal/images/searchicon.png'); */
	background-position: 10px 12px;
	background-repeat: no-repeat;
	padding: 12px 15px 12px 35px;
}

.inline {
	display: inline-block;
}

table th {
	text-align: left;
}

.w70px {
	width: 70px;
}

.selectie select {
	width: 150px;
}

.w150px {
	width: 150px;
}

i {
	cursor: pointer;
}

.fa-trash-alt {
	color: red;
}

.subnav:hover .subnav-content {
	display: block;
}


/* SEARCH BAR */

.filter {
	position: relative;
	box-shadow: 0 0 40px rgba(51, 51, 51, .1)
}

.filter input {
	/* height: 60px; */
	text-indent: 25px;
	border: 2px solid #d6d4d4
}

.filter input:focus {
	box-shadow: none;
	border: 2px solid blue
}

.filter .fa-search {
	position: absolute;
	top: 1rem;
	left: 16px
}


/* Add a black background color to the top navigation */

.topnav {
	/* background-color: #333; */
	overflow: hidden;
}


/* Style the links inside the navigation bar */

.nav-link {
	cursor: pointer;
	border-radius: 2px;
}


/* Change the color of links on hover */

.nav-link:hover {
	/* background-color: #ddd; */
	font-weight: bold;
	/* color: black; */
}


/* Add a color to the active/current link */

.nav-link.active {
	/*  background-color: #04AA6D; */
	/*     color: white; */
	font-weight: bold;
}

input[type=number] {
	min-width: 70px !important;
}

.form-check {
	margin-bottom: 10px;
}

.quickItem {
	margin: 0 auto;
}

#QuickView {
	margin-left: 2%;
	/* width: 90vw; */
}

.viewItem {
	padding: 5px;
	background-color: #fff;
	border-radius: 9px;
}

.facturenTabel {
	padding: 9px;
	background-color: #fff;
	border-radius: 9px;
}

.overzichtBtn {
	/* width: 13% !important; */
	margin-right: -2.6% !important;
	margin-top: 1% !important;
}

#rapportageOmzetPerKlant {
	padding: 9px;
	background-color: #fff;
	border-radius: 9px;
}

.viewItems {
	padding: 5px;
	background-color: #fff;
	border-radius: 9px;
}

.viewItemsOverzichten {
	background-color: #fff;
	/* padding: 5px; */
	border-radius: 9px;
}

#Overzichten{
	margin-left: 3%;
	/* width: 1200px; */
}

#DivNawKlanten {
	padding: 15px;
	background-color: #fff;
	border-radius: 9px;
}

.geregistreerdeUren {
	background-color: #fff;
	border-radius: 9px;
	/* height: 80vh; */
	overflow: auto;
	margin: 5px;
	padding: 10px !important;
}

.registratieArea {
	background-color: #fff;
	border-radius: 9px;
	/* height: 80vh; */
	padding: 8px;
}

.kmRegArea {
	background-color: #fff;
	border-radius: 9px;
	/* max-height: 780px; */
	/* width: 28% !important; */
}

.InstellingenGebruiker {
	background-color: #fff;
	border-radius: 9px;
	padding: 2%;
}

.urenTable {
	margin: 5px;
	padding-top: 10px !important;
}

#DivAlgemeneGegevensFactuur {
	box-shadow: 0px 2px 20px rgb(1 41 112 / 10%);
	padding: 10px;
}

#DivKlantgegevensFactuur {
	box-shadow: 0px 2px 20px rgb(1 41 112 / 10%);
	padding: 10px;
}

#DivProductenFactuur {
	box-shadow: 0px 2px 20px rgb(1 41 112 / 10%);
	padding: 10px;
}

#DivLosseProductenFactuur {
	box-shadow: 0px 2px 20px rgb(1 41 112 / 10%);
	padding: 10px;
}

#DivBijlagenFactuur {
	box-shadow: 0px 2px 20px rgb(1 41 112 / 10%);
	padding: 10px;
}

#frmFactuur {
	max-width: 90%;
}

.divKlantenFilter {
	width: 20% !important;
	margin-right: 2%;
}

.tableBetaalAdvies {
	width: 100% !important;
}

/* Laat tekst in cellen automatisch afbreken */


@media (max-width: 980px) {
	.tableBetaalAdvies {
		font-size: 8px;
	}
}

@media (max-width: 450px) {
	.tableBetaalAdvies {
		font-size: 6px;
	}
}

@media (max-width: 575px) {
	.btnKasBetalingBetaaladvies {
		font-size: 8px !important;
		width: min-content !important;
	}
}

#rapportageBetaalAdviesLijst {
	background-color: #fff;
	border-radius: 9px;
	padding: 8px;
}

.facturenTabelx {
	max-height: 60vh;
	/* overflow-y: auto; */
	background-color: #fff;
	border-radius: 9px;
	padding: 8px;
}

.cijfersTabel {
	width: 100% !important;
	max-height: 60vh;
	overflow-y: none;
	background-color: #fff;
	border-radius: 9px;
	padding: 8px;
}

#herinnerMailTxb {
	background-color: red;
}

.modal:not(#FacturenDebiteuren) {
	position: absolute !important;
	width: fit-content !important;
	max-height: 55% !important;
	background: #f8f8f8 !important;
	box-shadow: 0 0px 30px 0 rgba(1, 41, 112, 0.1);
	border: 2px solid #d6d4d4;
}

#FacturenDebiteuren {
	max-width: 1000px;
	max-height: 60vh !important;
	background: #f8f8f8 !important;
	box-shadow: 0 0px 30px 0 rgba(1, 41, 112, 0.1);
	border: 2px solid #d6d4d4;
}

#rapportageDebiteuren {
	width: 100% !important;
	/* margin-left: 4.5%; */
}

#rapportageCrediteuren {
	width: 100% !important;
	/* margin-left: 4.5%; */
}

#dragModalheader {
  padding: 10px;
  cursor: move;
  z-index: 10;
  background-color: #dddddd;
  color: #fff;
}

#DataTables_Table_3_wrapper {
	width: max-content;
}

.dt-buttons {
	margin-top: 10px;
}

#DataTables_Table_3_filter {
	float: left;
	text-align: left;
}

#modalBody {
	margin: 10px;
}

#Bedrag.tdBalValue {
	text-align: right;
}

.lijstDebiteur {
	max-height: 80vh;
	overflow-y: auto;
	width: 22%;
}

#tblAlleMutaties {
	width: 97% !important;
	background-color: #fff;
	border-radius: 9px;
	padding: 1%;
}

.mutatieRow {
	margin: 5px;
	padding-top: 10px !important;
}

.mutatieSelectie {
	width: 88% !important;
}

.wachtwoordTextbx {
	margin-left: 5% !important;
	margin-right: 5% !important;
	width: 90% !important;
}

.mutatiesTable {
	max-height: calc(100vh - 420px);
	min-height: 320px;
	overflow: auto;
}

.mutatiesTable .dataTables_wrapper {
	min-height: 0;
}

.mutatiesTable #tblInboekMutaties thead {
	position: sticky;
	top: 0;
	z-index: 8;
	background: #fff;
	background-color: #fff !important;
}

.mutatiesTable #tblInboekMutaties thead tr,
.mutatiesTable #tblInboekMutaties thead th {
	background: #fff;
	background-color: #fff !important;
}

.mutatiesTable .dataTables_paginate {
	position: sticky;
	right: 0;
	bottom: 0;
	z-index: 5;
	padding: 0.75rem 0 0.25rem;
	background: #fff;
}

.mutatiesTable .dataTables_info {
	position: sticky;
	left: 0;
	bottom: 0;
	z-index: 4;
	padding: 0.75rem 0 0.25rem;
	background: #fff;
}

.ModalMutatieDetails {
	z-index: 1000;
	position: fixed;
	top: 10%;
	left: 20%;
	background-color: #fff;
	border-radius: 5px;
	min-width: unset !important;
	max-height: 80vh;
}

.MutatieDetails{
	padding: 1.5rem;
	padding-left: 3rem;
	padding-right: 3rem;
	max-height: inherit;
	overflow-y: auto;
}

.column2MutatieDetails{
	padding-top: 3.1rem;
}

.MutatieFacturen{
	margin-left: auto;
	margin-right: auto;
}

#MutatieFacturen_wrapper {
	width: 35vw;
	overflow-x: auto;
}

.activeRegelMutatie{
	background-color: lightblue !important;
}

.KostprijsPerKm{
	width: 20rem;

}

.ModalSamenvoegenLeveranciers {
	z-index: 1000;
	position: fixed;
	top: 10%;
	left: 40%;
	background-color: #fff;
	border-radius: 5px;
	min-width: unset !important;
	width: 35rem;
}

.SamenvoegenLeveranciers{
	padding: 1.5rem;
	padding-left: 3rem;
	padding-right: 3rem;
}

.shake {
	animation-name: shake;
	animation-duration: 1s;
	animation-fill-mode: both;
}
@keyframes shake {
	0%, 100% {
			transform: translateX(0);
	}
	10%, 30%, 50%, 70%, 90% {
			transform: translateX(-10px);
	}
	20%, 40%, 60%, 80% {
			transform: translateX(10px);
	}
}

.grootboekModal{
	z-index: 1000;
	position: fixed !important;
	top: 10%;
	left: 40%;
	min-width: unset !important;
	background-color: #fff;
	border-radius: 5px;
}

.clickableLbl:hover{
	background-color: lightgray;
	padding: 4px;
	border-radius: 3px;
	transform: translateY(4px);
}

hr.s1 {
	background-color:white;
	/*margin:0 0 45px 0 !important;*/
	max-width:600px;
	border-width:0;

	height:5px;
	border-top:2px solid black;
}

hr.s2 {
	background-color:white;
	margin:0 0 45px 0 !important;
	max-width:600px;
	border-width:0;

	height:150px;
	border-top:2px solid black;
	border-bottom:2px solid black;
}

.selectfloat > div > .selectize-input {
    z-index: 0;
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.selectLabel {
opacity: .65; 
transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
}

.modalGB {
	font-weight: bold;
	cursor: pointer;
	margin-top: 2px;
}

#modalBackFade {
	width: 100vw;
    height: 100vh;
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
	pointer-events: auto;
}

.TblMutatiesRapportage,.TblBetalingenRapportage{
	max-height: 40vh;
	overflow-y: auto;
}

#tblAlleMutaties th, #tblAlleMutaties td{
	font-size: 0.8rem;
}

.vervallen{
	background-color: #ff9898 !important;
}

#divRubriekenAlleMutaties ul{
	list-style: none;
}

.subListRubriekenAlleMutaties{
	display: none;
}

.BedragRubriekAlleMutaties{
	position: absolute;
	right: 10px;
}

.flatpickr-current-month .numInputWrapper {
	width: 6ch;
	display: inline-block;
	position: absolute;
	top: 6px;
	right: 18px;
}

#tblActivastaat thead th {
	position: sticky;
	top: 0; /* Sticks the header to the top of the scrolling container */
	background-color: #FFFFFF; /* Optional: Light background for better visibility */
	z-index: 2; /* Ensure header stays above table content */
	border-bottom: 2px solid #dee2e6; /* Optional: Add a border for better separation */
}


/* Label styling */
.styled-label {
  font-size: 12px;
  font-weight: 500;
  color: #333;
  padding: 5px 10px;
  border: 2px solid transparent;
  border-radius: 8px;
  background-color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
  user-select: none;
  display: inline-block;
  text-align: center;
}

/* Hover effect */
.styled-label:hover {
  background-color: #2175CF;
  color: #fff;
  border-color: #2175CF;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

/* Active (clicked) state */
.styled-label-active {
  background-color: #2175CF;
  border-color: #2175CF;
  transform: translateY(0);
  box-shadow: none;
  color: white;
}


/* CSS to hide elements only when printing */
@media print {
	.no-pdf {
		display: none !important;
	}
}

/* Class to make inputs ready for PDF */
.pdf-ready {
	border: 1px solid white !important; /* White border */
	text-align: right !important;       /* Align text to the right */
	background-color: transparent !important; /* Transparent background */
	outline: none !important; /* Remove outline for cleaner output */	
	box-shadow: none !important; /* Remove box shadow if any */
	-webkit-appearance: none; /* Ensure consistency across browsers */
	-moz-appearance: none; /* Ensure consistency across browsers */
	appearance: none; /* Ensure consistency across browsers */
}

#divDataOmzetbelasting .pdf-only {
	display: none;
}

#divDataOmzetbelasting.pdf-exporting {
	color: #000;
	font-size: 12px;
}


#divDataOmzetbelasting.pdf-exporting .pdf-only {
	display: block;
}

#divDataOmzetbelasting.pdf-nowrap {
	white-space: nowrap;
}

#divDataOmzetbelasting.pdf-exporting .pdf-header {
	margin-bottom: 12px;
}

#divDataOmzetbelasting.pdf-exporting .pdf-header-row {
	display: flex;
	justify-content: space-between;
	font-style: italic;
	gap: 24px;
}

#divDataOmzetbelasting.pdf-exporting .pdf-header-right {
	text-align: right;
}

#divDataOmzetbelasting.pdf-exporting .pdf-header-separator {
	border-top: 2px solid #000;
	margin: 8px 0 10px;
}

#divDataOmzetbelasting.pdf-exporting .pdf-header-title {
	background-color: #b3b3b3;
	color: #fff;
	font-weight: 700;
	padding: 6px 10px;
}

#divDataOmzetbelasting.pdf-exporting .pdf-column-headers {
	font-weight: 700;
	margin-bottom: 6px;
}

#divDataOmzetbelasting.pdf-exporting .row {
	display: flex;
	flex-wrap: nowrap;
}

#divDataOmzetbelasting.pdf-exporting .col-sm-1 {
	flex: 0 0 8.333333%;
	max-width: 8.333333%;
}

#divDataOmzetbelasting.pdf-exporting .col-sm-7 {
	flex: 0 0 58.333333%;
	max-width: 58.333333%;
}

#divDataOmzetbelasting.pdf-exporting .col-sm-8 {
	flex: 0 0 66.666667%;
	max-width: 66.666667%;
}

#divDataOmzetbelasting.pdf-exporting .col-sm-2 {
	flex: 0 0 16.666667%;
	max-width: 16.666667%;
}

#divDataOmzetbelasting.pdf-exporting .value-col {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 6px;
}

#divDataOmzetbelasting.pdf-exporting .pdf-currency-symbol {
	font-weight: 700;
	display: inline-block;
	flex: 0 0 10px;
	width: 10px;
	text-align: center;
}

#divDataOmzetbelasting.pdf-exporting .input-pdf {
	width: 90px;
	text-align: right;
}

#divDataOmzetbelasting.pdf-exporting .pdf-empty-value {
	display: inline-block;
	flex: 0 0 90px;
	width: 90px;
	min-width: 20px;
	text-align: right;
}

#TblOpdrachtenFactuur tbody tr select[name="Grootboeken"]{
	width: unset !important;
}

.UBL-logo{
	width: 40px;
	height: 40px;
	cursor: pointer;
}

.redTD {
	background-color: red !important;
	opacity: 0.6;
}

.mw100{
	max-width: 100vw !important;
}

.mw90{
	max-width: 90vw !important;
}

.mw85{
	max-width: 85vw !important;
}

.p1{
	padding: 1rem !important;
}

.p2{
	padding: 2rem !important;
}

#SnelkoppelingenBox .sk-header-name{
	width: 150px;
}

#SnelkoppelingenBox .sk-header-actions{
	width: 120px;
}

#SnelkoppelingenList .sk-name{
	width: 140px;
}

#SnelkoppelingenList .sk-actions{
	width: 120px;
	text-align: right;
}

@media (max-width: 768px){
	#SnelkoppelingenBox .sk-header{
		display: none !important;
	}

	#SnelkoppelingenList .sk-item{
		flex-wrap: wrap;
		align-items: flex-start;
		gap: 6px;
	}

	#SnelkoppelingenList .sk-name{
		width: auto;
		margin-left: 0 !important;
		font-weight: 600;
	}

	#SnelkoppelingenList .sk-url{
		min-width: 100%;
	}

	#SnelkoppelingenList .sk-actions{
		width: auto;
		text-align: left;
	}

	#SnelkoppelingenList .sk-btn{
		margin-top: 4px;
	}
}

.regelUL{
    display: block !important;
    max-height: 40vh;
    overflow-y: auto;
}

.regelLI{
    border: 1px solid black;
    border-radius: 5px;
}

.regelLI a{
	color: black;
}

.regelLI.active {
    background-color: #5fbae9;
}

.center {
    text-align: center;
}

.mt-6{
    margin-top: 2rem !important;
}

#InkoopFactuurListRegels{
	font-size: 10px;
}

@media (max-width: 1600px){
	#InkoopFactuurListRegels{
		font-size: 8px;
	}
}

* Basisklasse */
.sbtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--btn-padding-y) var(--btn-padding-x);
  font-size: var(--btn-font-size);
  line-height: 1;
  border-radius: var(--btn-radius);
  background: linear-gradient(180deg, var(--btn-bg), color-mix(in srgb, var(--btn-bg) 85%, black 5%));
  color: var(--btn-foreground);
  border: 0;
  cursor: pointer;
  box-shadow: var(--btn-shadow);
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--btn-transition), box-shadow var(--btn-transition), opacity var(--btn-transition), filter var(--btn-transition);
  -webkit-tap-highlight-color: transparent;
  width: 100%;
}

/* Hover / focus / active */
.sbtn:hover{
  transform: translateY(-2px);
  filter: brightness(1.04);
}
.sbtn:active{
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.sbtn:focus{
  outline: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--btn-bg) 16%, transparent);
  border: 0;
}

/* Toegankelijkheid: alleen focus wanneer via toetsenbord */
.sbtn:focus:not(:focus-visible){
  box-shadow: var(--btn-shadow);
}

/* Disabled state */
.sbtn[disabled],
.sbtn--disabled{
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

/* Kleine variant */
.sbtn--sm{
  padding: 0.35rem 0.65rem;
  font-size: 0.9rem;
  border-radius: calc(var(--btn-radius) - 4px);
}

/* Outline / ghost variant */
.sbtn--outline{
  background: transparent;
  color: var(--btn-bg);
  border: 1px solid color-mix(in srgb, var(--btn-bg) 18%, black 5%);
  box-shadow: none;
}
.sbtn--outline:hover{
  background: color-mix(in srgb, var(--btn-bg) 6%, transparent);
}

/* Danger variant */
.sbtn--danger{
  --btn-bg: #ef4444;
  --btn-shadow: 0 6px 18px rgba(239,68,68,0.12);
}

.pl1{
	padding-left: 1rem !important;
}

.pl2{
	padding-left: 2rem !important;
}

.pr1{
	padding-right: 1rem !important;
}

.pr2{
	padding-right: 2rem !important;
}

@media (max-width: 990px) {
	#verkoopFactuurtabellenRelatie table {
		font-size: 8px;
	}

	#verkoopFactuurtabellenRelatie table th {
		width: unset !important;
	}

	#TabellenInkoopFacturen table {
		font-size: 8px;
	}
}


/* #listRubriekenAlleMutaties > li {
  display: flex;
  justify-content: space-between;
  align-items: center;
} */

#listRubriekenAlleMutaties > li > label {
  display: inline-block;
  vertical-align: top;
}

#listRubriekenAlleMutaties > li > .icon {
  display: inline-block;
}

#faqAccordion button {
	font-weight: bold;
}

.right{
	float: right;
}

#factuurBlokkenContainer{
	height: 900px;
	align-content: baseline;
}

.factuurBlok{
	border: 2px dashed lightgray;
	height: 120px;
	cursor: pointer;
	font-size: 10px;
}

.factuurBlok:hover{
	background-color: #f0f8ff;
}

.bottom{
	margin-top: auto;
}

.padding-unset{
	padding: unset !important;
}

.margin-unset{
	margin: unset !important;
}

.h500{
	height: 500px;
}

.tblVoorbeeldFactuur thead th { 
	background-color: #eeeeee;
	border: 0.1mm none #000000;
}

.tblVoorbeeldFactuur { 
	width: 100%;
	font-size: 10px;
}

.activeBlok{
	background-color: #d0e7ff !important;
}

.textleft{
	text-align: left;
}

.textcenter{
	text-align: center;
}

.textright{
	text-align: right;
}

#factuurVoorbeeldContainer{
	height: 900px;
}

@media (max-width: 1900px) {
	#factuurBlokkenContainer{
		height: 800px;
	}

	.h500{
		height: 400px;
	}

	#factuurVoorbeeldContainer{
		height: 800px;
	}

}

@media (max-width: 1600px) {
	#factuurBlokkenContainer{
		height: 700px;
	}

	.h500{
		height: 300px;
	}

	#factuurVoorbeeldContainer{
		height: 700px;
	}

}

.flex-start {
	align-items: flex-start;
}

/* flyout container */
.flyout {
  list-style: none;
}

/* submenu rechts */
.flyout-menu {
  position: fixed;
  top: 65px;
  left: 240px;            /* sidebar breedte */
  width: 180px;
  background: #fff;
  display: none;
  list-style: none;
  padding: 5px;
  margin: 0;
  z-index: 9999;
  border-radius: 5px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  clip-path: inset(-24px -24px -24px 0);
}

.zoekPagina {
	width: 300px;
	margin-left: 40px;
}

.dropdown-submenu {
	position: relative;
}

.dropdown-submenu > .dropdown-menu {
	top: 0;
	left: auto;
	right: 100%;
	margin-right: 0.1rem;
}

.dropdown-submenu:hover > .dropdown-menu {
	display: block;
}

.ui-autocomplete {
  z-index: 9999;
}


#TblLosseProductenFactuur td{
	vertical-align: top;
}

#TblLosseProductenFactuur textarea{
	width: 100%;
}

@media (max-width: 1000px) {
	#lblSorteerBestanden{
		display: none;
	}
}

#rapportageAanbetalingenPerMaand, #rapportageAanbetalingenPerKlant {
	padding: 1rem;
	background-color: #fff;
	border-radius: 9px;
}



/* facturen en offertes */

  .fo-theme {
    --fo-border: #d9e2ec;
    --fo-text-muted: #5a6b7b;
    --fo-bg-soft: #f6f9fc;
    --fo-accent: #1f6fb2;
  }

  .fo-theme .fo-page-title h1 {
    margin-bottom: 0.25rem;
    font-size: 1.8rem;
  }

  .fo-theme .fo-page-title p {
    margin-bottom: 1rem;
    color: var(--fo-text-muted);
    font-size: 0.96rem;
  }

  .fo-theme .fo-tabs {
    border-bottom: 0;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .fo-theme .fo-tabs .nav-link {
    border: 1px solid var(--fo-border);
    border-radius: 999px;
    color: #2d3c4d;
    background: #fff;
    padding: 0.45rem 1rem;
    font-weight: 600;
  }

  .fo-theme .fo-tabs .nav-link.active {
    background: var(--fo-accent);
    border-color: var(--fo-accent);
    color: #fff;
  }

  .fo-theme .fo-card {
    border: 1px solid var(--fo-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(18, 42, 66, 0.05);
    overflow: hidden;
  }

  .fo-theme .fo-card-header {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--fo-border);
    background: var(--fo-bg-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
  }

  .fo-theme .fo-card-header h3,
  .fo-theme .fo-card-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
  }

  .fo-theme .fo-card-body {
    padding: 0.9rem;
  }

  .fo-theme .fo-controls {
    background: #fff;
    border: 1px solid var(--fo-border);
    border-radius: 10px;
    padding: 0.85rem;
    margin-bottom: 0.95rem;
  }

  .fo-theme .fo-refresh {
    cursor: pointer;
    color: #2d3c4d;
  }

  .fo-theme .fo-choice-wrap {
    display: flex;
    align-items: center;
  }

  .fo-theme .fo-choice-group {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--fo-border);
    border-radius: 999px;
    padding: 0.25rem;
    background: #fff;
    flex-wrap: wrap;
  }

  .fo-theme .fo-label-group {
    width: 100%;
    gap: 0.5rem;
    border-radius: 10px;
  }

  .fo-theme .fo-label-group .styled-label {
    margin-bottom: 0 !important;
    border: 1px solid var(--fo-border);
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
  }

  .fo-theme .fo-label-group .styled-label:hover {
    transform: none;
    box-shadow: none;
  }

  .fo-theme .fo-label-group .styled-label-active {
    background-color: var(--fo-accent);
    border-color: var(--fo-accent);
  }

  .fo-theme .fo-table-card {
    padding: 0.8rem;
  }

  .fo-theme .fo-table-card table.display {
    width: 100% !important;
  }

  .fo-theme .fo-choice-option {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    cursor: pointer;
  }

  .fo-theme .fo-choice-option input[type="radio"] {
    margin-top: 0;
  }

  .fo-theme .fo-choice-option span {
    padding: 0.2rem 0.1rem;
    border-radius: 999px;
    color: #2d3c4d;
  }

  .fo-theme .fo-choice-option input[type="radio"]:checked + span {
    background: #eaf3fb;
    color: #16395a;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
  }

  .fo-theme .fo-list,
  .fo-theme .fo-pdf {
    height: 68vh;
    max-height: 68vh;
  }

  .fo-theme .fo-list {
    overflow-y: auto;
  }

  .fo-theme .fo-list .list-group-item {
    cursor: pointer;
    border-left: 0;
    border-right: 0;
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
  }

  .fo-theme .fo-list .list-group-item.active {
    background: #eaf3fb;
    border-color: #c9e1f6;
    color: #16395a;
    font-weight: 600;
  }

  .fo-theme .fo-select-visible {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2d3c4d;
    cursor: pointer;
    white-space: nowrap;
  }

  .fo-theme .fo-list .fo-export-check {
    flex: 0 0 auto;
    margin-top: 0.2rem;
  }

  .fo-theme .fo-list .fo-list-label {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .fo-theme .fo-list .fo-export-check:disabled {
    cursor: not-allowed;
    opacity: 0.45;
  }

  .fo-theme .fo-pdf {
    width: 100%;
    border: 0;
    background: #fff;
  }

  .fo-theme .fo-section-toggle {
    width: 100%;
    text-align: left;
    border: 1px solid var(--fo-border);
    border-radius: 8px;
    background: var(--fo-bg-soft);
    padding: 0.6rem 0.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }

  .fo-theme .fo-section-count {
    margin-left: 0.35rem;
    font-size: 0.78em;
    color: var(--fo-text-muted);
  }

  .fo-theme .fo-section-body {
    border: 1px solid var(--fo-border);
    border-radius: 8px;
    padding: 0.45rem;
    margin-bottom: 1rem;
  }

  .fo-theme .fo-table-wrap {
    max-height: 31vh;
    overflow-y: auto;
  }

  .fo-theme .fo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
  }

  @media (max-width: 991px) {
    .fo-theme .fo-choice-group {
      width: 100%;
      border-radius: 10px;
    }

    .fo-theme .fo-label-group .styled-label {
      width: 100%;
    }

    .fo-theme .fo-choice-option {
      flex: 1 1 145px;
      justify-content: center;
    }

    .fo-theme .fo-list,
    .fo-theme .fo-pdf {
      height: 45vh;
      max-height: 45vh;
    }

    .fo-theme .fo-table-wrap {
      max-height: 22vh;
    }
  }



.chat-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.25rem 1.25rem;
  background: rgba(23, 31, 42, 0.46);
}

#header .nav-profile {
  position: relative;
}

.chat-notification-dot {
  display: none;
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d92d20;
  box-shadow: 0 0 0 2px #ffffff;
}

.chat-notification-dot.is-visible {
  display: inline-block;
}

#headerChatNotification {
  position: absolute;
  top: 3px;
  right: -4px;
  width: 10px;
  height: 10px;
}

.chat-dropdown-dot {
  margin-left: auto;
}

.chat-overlay.is-open {
  display: flex;
}

.chat-window {
  width: min(1180px, 100%);
  height: min(780px, calc(100vh - 6.25rem));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #f7f9fb;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(20, 30, 42, 0.28);
}

.chat-window-header,
.chat-thread-header,
.chat-topic-tools,
.chat-thread-actions,
.chat-compose-row,
.chat-new-topic-actions,
.chat-edit-actions {
  display: flex;
  align-items: center;
}

.chat-window-header {
  justify-content: space-between;
  padding: 1rem 1.15rem;
  background: #ffffff;
  border-bottom: 1px solid #dbe3eb;
}

.chat-window-header h3,
.chat-thread-header h4 {
  margin: 0;
  color: #1f2d3d;
  font-weight: 700;
  letter-spacing: 0;
}

.chat-window-header h3 {
  font-size: 1.05rem;
}

.chat-window-header span,
.chat-thread-header span,
.chat-topic-meta,
.chat-topic-preview,
.chat-message-meta {
  color: #6c7b89;
  font-size: 0.82rem;
}

.chat-layout {
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
}

.chat-topics {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-right: 1px solid #dbe3eb;
}

.chat-topic-tools {
  gap: 0.55rem;
  padding: 0.85rem;
  border-bottom: 1px solid #e3e9ef;
}

.chat-search {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid #cfd9e3;
  border-radius: 8px;
  background: #f8fafc;
}

.chat-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.9rem;
}

.chat-topic-list {
  min-height: 0;
  overflow-y: auto;
}

.chat-topic-item {
  width: 100%;
  display: grid;
  gap: 0.22rem;
  padding: 0.78rem 0.9rem;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #edf1f5;
  background: #ffffff;
  color: #263748;
}

.chat-topic-item:hover,
.chat-topic-item.active {
  background: #edf6ff;
}

.chat-topic-item.is-unread .chat-topic-title {
  color: #1f6fae;
}

.chat-topic-item.is-unread .chat-topic-title::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 0.4rem;
  border-radius: 50%;
  background: #d92d20;
  vertical-align: middle;
}

.chat-topic-title,
.chat-topic-preview,
.chat-document span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-topic-title {
  font-weight: 700;
}

.chat-thread {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.chat-thread-header {
  flex: 0 0 auto;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border-bottom: 1px solid #dbe3eb;
}

.chat-thread-header h4 {
  font-size: 1rem;
}

.chat-messages {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1rem;
  background: #f3f6f8;
}

.chat-message {
  display: flex;
  margin-bottom: 0.85rem;
}

.chat-message.own {
  justify-content: flex-end;
}

.chat-message-bubble {
  position: relative;
  min-width: 300px;
  max-width: min(680px, 82%);
  padding: 0.75rem 0.85rem;
  border: 1px solid #dbe3eb;
  border-radius: 8px;
  background: #ffffff;
  color: #213142;
  box-shadow: 0 1px 2px rgba(20, 30, 42, 0.06);
}

.chat-message.own .chat-message-bubble {
  border-color: #b7d6f1;
  background: #e8f4ff;
}

.chat-message-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.38rem;
}

.chat-message-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
  color: #6c7b89;
  font-size: 0.78rem;
}

.chat-message-text {
  overflow-wrap: anywhere;
  white-space: normal;
  text-align: left;
}

.chat-documents,
.chat-message-actions,
.chat-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chat-documents {
  margin-top: 0.6rem;
}

.chat-document,
.chat-file-list span {
  min-width: 0;
  max-width: 260px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid #cad6e2;
  border-radius: 8px;
  background: #ffffff;
  color: #24445f;
  text-decoration: none;
  font-size: 0.85rem;
}

.chat-message-actions {
  justify-content: flex-end;
  margin-top: 0.45rem;
}

.chat-message-action,
.chat-icon-button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd7e3;
  border-radius: 8px;
  background: #ffffff;
  color: #33485c;
}

.chat-message-action:hover,
.chat-icon-button:hover {
  background: #edf3f8;
}

.chat-composer {
  flex: 0 0 auto;
  padding: 0.8rem;
  background: #ffffff;
  border-top: 1px solid #dbe3eb;
}

.chat-compose-row {
  gap: 0.55rem;
}

.chat-compose-row textarea,
.chat-edit-textarea,
.chat-new-topic input,
.chat-new-topic select,
.chat-new-topic textarea,
.chat-access-editor select {
  width: 100%;
  resize: vertical;
  border: 1px solid #cbd7e3;
  border-radius: 8px;
  padding: 0.58rem 0.7rem;
  outline: 0;
  background: #ffffff;
}

.chat-compose-row textarea {
  min-height: 44px;
  max-height: 150px;
}

.chat-primary-button,
.chat-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 36px;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.chat-primary-button {
  border: 1px solid #2f80c4;
  background: #2f80c4;
  color: #ffffff;
}

.chat-primary-button:hover {
  background: #256ca8;
}

.chat-secondary-button {
  border: 1px solid #cbd7e3;
  background: #ffffff;
  color: #33485c;
}

.chat-file-button input,
.chat-secondary-button input {
  display: none;
}

.chat-file-list {
  margin-bottom: 0.5rem;
}

.chat-closed-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  color: #647482;
  font-weight: 700;
}

.chat-new-topic {
  max-width: 780px;
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
}

.chat-access-editor {
  max-width: 780px;
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}

.chat-thread-actions {
  gap: 0.45rem;
}

.chat-new-topic label,
.chat-access-editor label {
  margin: 0;
  font-weight: 700;
  color: #263748;
}

.chat-access-block {
  display: grid;
  gap: 0.5rem;
  padding: 0.7rem;
  border: 1px solid #dbe3eb;
  border-radius: 8px;
  background: #ffffff;
}

.chat-checkline,
.chat-user-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.chat-checkline input,
.chat-user-check input {
  flex: 0 0 auto;
}

.chat-user-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.4rem 0.7rem;
}

.chat-user-check {
  min-width: 0;
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  background: #f8fafc;
  font-weight: 500 !important;
}

.chat-user-check span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-new-topic-actions,
.chat-edit-actions {
  gap: 0.55rem;
  justify-content: flex-end;
}

.chat-empty-state,
.chat-empty-small {
  color: #647482;
  text-align: center;
}

.chat-empty-state {
  padding: 3rem 1rem;
}

.chat-empty-small {
  padding: 1rem;
}

.chat-error-state {
  color: #a93535;
}

.chat-document-preview {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(23, 31, 42, 0.62);
}

.chat-document-preview.is-open {
  display: flex;
}

.chat-document-preview-window {
  width: min(980px, 100%);
  height: min(820px, 94vh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #d8e0e8;
}

.chat-document-preview-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid #dbe3eb;
}

.chat-document-preview-header strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-document-preview-body {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2f5;
}

.chat-document-preview-body iframe,
.chat-document-preview-body img {
  width: 100%;
  height: 100%;
  border: 0;
}

.chat-document-preview-body img {
  object-fit: contain;
  padding: 1rem;
}

.support-chat-dock {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 9998;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.support-chat-launcher,
.support-chat-panel {
  pointer-events: auto;
}

.support-chat-launcher {
  position: relative;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd7e3;
  border-radius: 50%;
  background: #ffffff;
  color: #24445f;
  box-shadow: 0 10px 26px rgba(20, 30, 42, 0.2);
  font-size: 1.55rem;
}

.support-chat-launcher:hover {
  background: #f3f7fa;
}

.support-chat-launcher.is-active {
  border-color: #16834d;
  background: #1f9d55;
  color: #ffffff;
}

.support-chat-unread-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  display: none;
  width: 12px;
  height: 12px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #d92d20;
}

.support-chat-unread-dot.is-visible {
  display: block;
}

.support-chat-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(390px, calc(100vw - 2rem));
  height: min(560px, calc(100vh - 7rem));
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #cbd7e3;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(20, 30, 42, 0.24);
}

.support-chat-panel.is-open {
  display: flex;
}

.support-chat-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid #dbe3eb;
  background: #ffffff;
}

.support-chat-header strong,
.support-chat-header span {
  display: block;
  min-width: 0;
}

.support-chat-header strong {
  overflow: hidden;
  color: #1f2d3d;
  font-size: 0.98rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-chat-header span {
  color: #6c7b89;
  font-size: 0.78rem;
}

.support-chat-header-actions {
  display: inline-flex;
  gap: 0.35rem;
  flex: 0 0 auto;
}

.support-chat-body {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.85rem;
  background: #f3f6f8;
}

.support-chat-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.support-chat-category {
  min-height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid #cbd7e3;
  border-radius: 8px;
  background: #ffffff;
  color: #263748;
  font-weight: 700;
  text-align: center;
}

.support-chat-category i {
  font-size: 1.25rem;
  color: #2f80c4;
}

.support-chat-category.active {
  border-color: #2f80c4;
  background: #e8f4ff;
}

.support-chat-body textarea,
.support-chat-compose-row textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #cbd7e3;
  border-radius: 8px;
  padding: 0.58rem 0.7rem;
  outline: 0;
  background: #ffffff;
}

.support-chat-composer {
  flex: 0 0 auto;
  padding: 0.7rem;
  border-top: 1px solid #dbe3eb;
  background: #ffffff;
}

.support-chat-composer .chat-primary-button {
  width: 100%;
}

.support-chat-start-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.support-chat-start-actions .chat-primary-button {
  flex: 1 1 auto;
}

.support-chat-start-actions .chat-secondary-button {
  flex: 0 0 auto;
}

.support-chat-compose-row {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
}

.support-chat-compose-row textarea {
  min-height: 42px;
  max-height: 120px;
}

.support-chat-compose-row .chat-primary-button {
  width: auto;
  min-width: 48px;
}

.support-chat-messages {
  min-height: 100%;
}

.support-chat-panel .chat-message-bubble {
  min-width: 0;
  max-width: 86%;
}

.support-chat-panel .chat-message {
  margin-bottom: 0.7rem;
}

.support-chat-panel .chat-message-meta,
.support-chat-panel .chat-message-footer {
  font-size: 0.74rem;
}

.support-chat-panel .chat-document {
  max-width: 210px;
}

@media (max-width: 900px) {
  .chat-overlay {
    padding: 4.5rem 0.5rem 0.5rem;
  }

  .chat-window {
    height: calc(100vh - 5rem);
  }

  .chat-layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(170px, 34vh) minmax(0, 1fr);
  }

  .chat-topics {
    border-right: 0;
    border-bottom: 1px solid #dbe3eb;
  }

  .chat-message-bubble {
    max-width: 94%;
  }

  .chat-compose-row {
    align-items: stretch;
  }

  .chat-primary-button span {
    display: none;
  }

  .support-chat-dock {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .support-chat-panel {
    width: calc(100vw - 1rem);
    height: min(560px, calc(100vh - 5.5rem));
    bottom: 68px;
  }

  .support-chat-categories {
    grid-template-columns: 1fr;
  }
}


.ml0{
	margin-left: 0;
}
