@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import 'fonts/fonts.css';
@import 'typography.css';
@import 'table.css';
/*@import 'buttons.css';
@import 'icons.css';
@import 'informational.css';*/
@import 'form.css';


/* Custom Scrollbars (Thin & Always Visible) */
::-webkit-scrollbar {
	width: 6px !important;
	height: 6px !important;
	display: block !important;
}

::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.02) !important;
	border-radius: 3px !important;
}

::-webkit-scrollbar-thumb {
	background-color: rgba(54, 197, 111, 0.3) !important; /* Muted theme accent */
	border-radius: 3px !important;
}

::-webkit-scrollbar-thumb:hover {
	background-color: rgba(54, 197, 111, 0.6) !important;
}

::-webkit-scrollbar-button {
	display: none !important;
}

* {
	scrollbar-width: thin !important;
	scrollbar-color: rgba(54, 197, 111, 0.3) rgba(0, 0, 0, 0.02) !important;
}


::-webkit-input-placeholder {
	/* Chrome/Opera/Safari */
	color: #aaa !important;
}

::-moz-placeholder {
	/* Firefox 19+ */
	color: #aaa !important;
}

:-ms-input-placeholder {
	/* IE 10+ */
	color: #aaa !important;
}

:-moz-placeholder {
	/* Firefox 18- */
	color: #aaa !important;
}

::placeholder {
	color: #aaa !important;
}

@keyframes loader {
	0% {
		position: relative;
		left: 0;
		top: 5vh;
		opacity: 0.2;
	}

	100% {
		position: relative;
		left: 0;
		top: 0vh;
		opacity: 1;
	}
}

@-moz-keyframes loader {
	0% {
		position: relative;
		left: 0;
		top: 5vh;
		opacity: 0.2;
	}

	100% {
		position: relative;
		left: 0;
		top: 0vh;
		opacity: 1;
	}
}

@-webkit-keyframes loader {
	0% {
		position: relative;
		left: 0;
		top: 5vh;
		opacity: 0.2;
	}

	100% {
		position: relative;
		left: 0;
		top: 0vh;
		opacity: 1;
	}
}

#instantclick-bar {
	background: gold;
	height: 6px;
}


/* .lds-ring {
  display: inline-block;
	position: relative;
	top: calc(50% - 40px);
	left: calc(50% - 40px);
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#loadme {
	position: fixed;
	top:0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0,0,0,0.85);
	z-index: 99999999;
	display: none;
} */

body::-webkit-scrollbar-track {
	background-color: #2b2d31;
}

body::-webkit-scrollbar-thumb {
	background-color: #4f5156;
	border-radius: 6px;
	border: 3px solid #2b2d31;
}

/* * {
  -webkit-user-select: none; 
  -moz-user-select: none;
  -khtml-user-select: none;
  -ms-user-select: none;
}

input, input:before, input:after, td, td * {
  -webkit-user-select: initial !important;
  -khtml-user-select: initial !important;
  -moz-user-select: initial !important;
  -ms-user-select: initial !important;
  user-select: initial !important;
} */

* {
	font-family: 'Outfit';
	font-size: 13px;
	line-height: 1.4em;
	appearance: none;
	-webkit-appearance: none;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	scrollbar-color: var(--text-muted) transparent;
}

html,
body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

details summary::-webkit-details-marker {
	display: none;
}

details summary::marker {
	display: none;
}

:focus {
	outline: none;
}

input:focus, select:focus, textarea:focus {
	outline: none;
	border-color: var(--accent) !important;
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
}

input:read-only:focus {
	outline: none;
	box-shadow: none !important
}

::selection {
	background: #c7d2fe;
}

::-moz-selection {
	background: #c7d2fe;
}

br,
.clear {
	width: 100%;
	display: inline-block;
	clear: both;
}

body {
	position: relative;
	top: 0;
	left: 0;
	background-color: var(--bg-page);
	padding-bottom: 20px;
	height: auto;
	transition: left 0.5s, top 0.5s, opacity 0.5s;
}

body.login {
	height: 100vh;
	background-color: var(--bg-page);
	background-image: radial-gradient(rgba(79, 70, 229, 0.04) 1px, transparent 0), radial-gradient(rgba(79, 70, 229, 0.04) 1px, transparent 0);
	background-size: 24px 24px;
	background-position: 0 0, 12px 12px;
}

body:not(.no-page-transition) {
	animation-name: loader;
	animation-iteration-count: 1;
	animation-duration: 1s;
	-moz-animation-name: loader;
	-moz-animation-iteration-count: 1;
	-moz-animation-duration: 1s;
	-webkit-animation-name: loader;
	-webkit-animation-iteration-count: 1;
	-webkit-animation-duration: 1s;
}

main,
nav {
	width: 95vw;
	max-width: 1400px;
	height: auto;
	padding: 24px;
	margin: 0 auto;
	background-color: var(--bg-card);
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	color: var(--text-main);
	margin-bottom: 16px;
}

nav {
	padding: 12px 24px;
	margin: 16px auto 8px auto;
	background-color: transparent;
	border: none;
	box-shadow: none;
	display: flex;
	align-items: center;
	scrollbar-width: none !important;
}

.mobileonly {
	display: none;
}

.full {
	width: 95vw;
	max-width: 1400px;
	height: auto;
	margin: 0 auto;
	clear: both;
	display: flex;
	gap: 16px;
}

main.half:nth-child(odd) {
	width: 50%;
	height: auto;
	float: left;
	border-radius: var(--radius-lg);
	display: block;
}

main.half:nth-child(even) {
	width: 50%;
	height: auto;
	float: left;
	border-radius: var(--radius-lg);
	display: block;
}

#sidemenu {
	width: 280px;
	height: 100vh;
	overflow-y: auto;
	padding: 24px 16px;
	background-color: var(--bg-card);
	border-right: 1px solid var(--border);
	box-shadow: 4px 0 24px rgba(15, 23, 42, 0.02);
	position: fixed;
	top: 0;
	left: -300px;
	z-index: 99999;
	transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	scrollbar-width: none !important;
}

@media (max-width: 1400px) {
    #sidemenu {
        padding-bottom: 100px;
    }
}

#sidemenu::before {
	content: 'RJK';
	display: none;
	font-size: 13px;
	font-weight: 800;
	color: var(--accent);
	letter-spacing: 0.8px;
	padding: 10px 14px;
	margin-bottom: 24px;
	margin-top: 8px;
}

#sidemenu::-webkit-scrollbar {
	display: none !important;
}

#sidemenu a:not(.separator) {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	text-transform: none;
	padding: 10px 14px;
	border-radius: var(--radius-md);
	color: var(--text-muted);
	margin-bottom: 4px;
	transition: all 0.2s;
}

#sidemenu a:not(.separator)::before {
	content: '';
	display: inline-block;
	width: 18px;
	height: 18px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0.8;
	transition: all 0.2s;
}

/* Dynamic SVG Icons mapping based on href */
#sidemenu a[href*="index"]::before,
#sidemenu a[href$="/"]::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z'/%3E%3C/svg%3E");
}
#sidemenu a[href*="index"].active::before,
#sidemenu a[href$="/"].active::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234f46e5' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z'/%3E%3C/svg%3E");
}

#sidemenu a[href*="requests"]::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 7h12m0 0l-4-4m4 4l-4 4m0 6H4m0 0l4 4m-4-4l4-4'/%3E%3C/svg%3E");
}
#sidemenu a[href*="requests"].active::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234f46e5' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 7h12m0 0l-4-4m4 4l-4 4m0 6H4m0 0l4 4m-4-4l4-4'/%3E%3C/svg%3E");
}

#sidemenu a[href*="purchase_orders"]::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E");
}
#sidemenu a[href*="purchase_orders"].active::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234f46e5' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E");
}

#sidemenu a[href*="payment_invoices"]::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E");
}
#sidemenu a[href*="payment_invoices"].active::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234f46e5' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E");
}

#sidemenu a[href*="petty_cash"]::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
}
#sidemenu a[href*="petty_cash"].active::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234f46e5' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
}

#sidemenu a[href*="settlements"]::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z'/%3E%3C/svg%3E");
}
#sidemenu a[href*="settlements"].active::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234f46e5' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z'/%3E%3C/svg%3E");
}

#sidemenu a[href*="budgets"]::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z'/%3E%3C/svg%3E");
}
#sidemenu a[href*="budgets"].active::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234f46e5' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z'/%3E%3C/svg%3E");
}

#sidemenu a[href*="coa"]::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10'/%3E%3C/svg%3E");
}
#sidemenu a[href*="coa"].active::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234f46e5' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10'/%3E%3C/svg%3E");
}

#sidemenu a[href*="vendors"]::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z'/%3E%3C/svg%3E");
}
#sidemenu a[href*="vendors"].active::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234f46e5' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z'/%3E%3C/svg%3E");
}

#sidemenu a[href*="departments"]::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4'/%3E%3C/svg%3E");
}
#sidemenu a[href*="departments"].active::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234f46e5' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4'/%3E%3C/svg%3E");
}

#sidemenu a[href*="users"]::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z'/%3E%3C/svg%3E");
}
#sidemenu a[href*="users"].active::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234f46e5' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z'/%3E%3C/svg%3E");
}

#sidemenu a[href*="logout"]::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1'/%3E%3C/svg%3E");
}
#sidemenu a[href*="logout"].active::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234f46e5' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1'/%3E%3C/svg%3E");
}

/* Sassy Registry detail links mapping */
#sidemenu a[href*="form_input"]::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 9v3m0 0v3m0-3h3m-3 0H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
}
#sidemenu a[href*="form_input"].active::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234f46e5' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 9v3m0 0v3m0-3h3m-3 0H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
}

#sidemenu a.separator {
	color: var(--text-muted) !important;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.8px;
	padding: 18px 14px 8px 14px;
	display: inline-block;
	width: 100%;
	opacity: 0.75;
}

#sidemenu a.separator[style*="#8bc547"] {
	background-color: #f8fafc !important;
	border: 1px solid var(--border) !important;
	border-radius: var(--radius-md) !important;
	padding: 14px !important;
	margin-bottom: 20px !important;
	color: var(--text-main) !important;
	font-size: 13px !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	opacity: 1 !important;
	display: flex !important;
	align-items: center;
	gap: 10px;
	font-weight: 600 !important;
}

#sidemenu a.separator[style*="#8bc547"]::before {
	content: '';
	display: inline-block;
	width: 10px;
	height: 10px;
	background-color: #10b981;
	border-radius: 50%;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

#sidemenu a.separator:not([style*="#8bc547"]) {
	color: #94a3b8 !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	padding: 24px 14px 8px 14px !important;
	opacity: 1 !important;
}

#sidemenu a.separator:not([style*="#8bc547"]) br {
	display: none !important;
}

#sidemenu a.active {
	color: var(--accent) !important;
	background-color: var(--accent-light);
	font-weight: 600;
}

#sidemenu a:not(.separator):hover {
	color: var(--text-main);
	background-color: #f1f5f9;
}

#sidemenu_back {
	position: fixed;
	top: 0px;
	left: 280px;
	height: 100vh;
	width: calc(100vw - 280px);
	background-color: rgba(15, 23, 42, 0.3);
	backdrop-filter: blur(4px);
	display: none;
	z-index: 99998;
	cursor: pointer;
}

/* LOGIN */

main.login {
	width: 380px !important;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	bottom: auto;
	margin-bottom: 0;
	padding: 32px 32px 80px 32px;
	background-color: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

main.login button {
	border-color: transparent;
	border-radius: 0px;
	border-bottom-left-radius: var(--radius-lg);
	border-bottom-right-radius: var(--radius-lg);
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 54px;
	margin: 0;
	background-color: var(--accent);
	color: #ffffff !important;
	font-weight: 600;
	letter-spacing: 0.5px;
	font-size: 14px;
	transition: all 0.5s;
}

main.login button:hover {
	background-color: var(--accent-hover);
}

@media (max-width: 600px) {
	main.login {
		width: 90%;
		/* left: 5%; */
		bottom: 10%;
		border-radius: 6px;
	}

	/*	main.login button {
		border-radius: 0px;
	}*/
}

/* MAIN FILTER */
main.filter {
	position: relative;
	width: 95vw;
	max-width: 1400px;
	height: 52px;
	transition: height 0.5s;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background-color: var(--bg-card);
	box-shadow: var(--shadow-sm);
}

main.filter h2 {
	position: absolute;
	top: 0;
	left: 0;
	padding: 16px 24px;
	width: 100%;
	font-weight: 600;
	background-color: #f1f5f9;
	border-bottom: 1px solid var(--border);
	font-size: 14px;
	color: var(--text-main);
	height: 54px;
	cursor: pointer;
	z-index: 99;
}

/**/

nav {
	background-color: transparent;
	border-radius: 0px;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	padding: 8px 0px;
	position: relative;
	top: 0;
	scrollbar-width: none !important;
}

nav::-webkit-scrollbar {
	display: none !important;
}

nav a,
nav .title {
	height: auto;
	padding: 10px 16px;
	display: inline-block;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	margin-right: 8px;
	color: var(--text-muted);
	cursor: pointer;
	border-radius: var(--radius-md);
	transition: all 0.2s;
}

nav a.active {
	color: var(--accent);
	background-color: var(--accent-light);
}

nav a:hover {
	color: var(--text-main);
	background-color: #f1f5f9;
}

nav .title {
	font-weight: 800;
	color: var(--accent);
	margin-right: 16px;
	position: relative;
	padding: 10px 24px 10px 16px;
	left: 0;
}

nav .title:hover {
	background-color: #f1f5f9;
}

nav .title:after {
	position: absolute;
	right: 10px;
	top: 15px;
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 4px 0 4px 6px;
	border-color: transparent transparent transparent var(--text-muted);
}

main *,
nav * {
	color: var(--text-main);
}

main.white {
	background-color: var(--bg-card);
	color: var(--text-main);
}

main.white * {
	color: var(--text-main);
}

@media (max-width: 600px) {
	.desktoponly {
		display: none;
	}
}

@media (max-width: 1024px) {
	main,
	nav {
		width: 100%;
		border-radius: 0px;
	}

	.full {
		display: inline-block;
		width: 100%;
	}

	main.half,
	main.half:nth-child(odd),
	main.half:nth-child(even) {
		width: 100%;
		margin-bottom: 10px;
	}
}

@media (max-width: 1344px) {
	main,
	nav,
	.full,
	main.filter {
		width: 100%;
	}
}

/* BADGE STATUS MUST USE THIS */

.badge-status.badge-approved {
	background: #dcfce7;
	color: #15803d;
	border: 1px solid #bbf7d0;
	padding: 2px 8px;
	border-radius: 100px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
}

.badge-status.badge-rejected {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
	padding: 2px 8px;
	border-radius: 100px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
}

a.btn.btn-secondary {
  color: grey !important;
}

@media (max-width: 600px) {
	.badge-status {
		width: auto !important;
	}
}

/* DESKTOP PERMANENT DOCKED SIDEBAR LAYOUT */
@media (min-width: 1400px) {
	body {
		padding-left: 280px !important;
		padding-top: 0 !important;
	}

	#sidemenu {
		left: 0 !important;
		width: 280px !important;
		border-right: 1px solid var(--border) !important;
		box-shadow: none !important;
		background-color: #ffffff !important;
	}

	#sidemenu_back {
		display: none !important;
	}

	main,
	main.filter,
	.full {
		width: calc(100% - 48px) !important;
		margin-left: 24px !important;
		margin-right: 24px !important;
		max-width: none !important;
	}

	nav {
		width: calc(100% - 48px) !important;
		margin-left: 24px !important;
		margin-right: 24px !important;
		max-width: none !important;
		padding: 16px 0 !important;
	}
	
	nav .title {
		cursor: default !important;
	}

	nav .title:hover {
		background-color: transparent !important;
	}

	nav .title:after {
		display: none !important;
	}
}

/* READ-ONLY RECORD DETAIL GRID */
.request-detail-card h2 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
}

.request-detail-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 16px;
}

.request-detail-field {
	min-width: 0;
	grid-column: span 12;
}

.request-detail-field--quarter {
	grid-column: span 3;
}

.request-detail-field--third {
	grid-column: span 4;
}

.request-detail-field--half {
	grid-column: span 6;
}

.request-detail-field--two-thirds {
	grid-column: span 8;
}

.request-detail-field--full {
	grid-column: span 12;
}

.request-detail-field label {
	display: block;
	margin: 0 0 6px 2px;
	color: var(--text-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.request-detail-field input,
.request-detail-field textarea {
	margin: 0;
	cursor: default;
}

.request-detail-field textarea[readonly] {
	min-height: 76px;
	resize: none;
	background-color: #f1f5f9;
	border: 1px solid var(--border);
	color: var(--text-muted);
}

.request-detail-field--amount input[readonly] {
	font-weight: 700;
	color: var(--text-main) !important;
}

.settlement-record-link {
	display: inline-flex;
	align-items: center;
	margin: 7px 0 0 2px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.settlement-record-link:hover {
	text-decoration: underline;
}

@media (max-width: 1024px) {
	.request-detail-field--quarter,
	.request-detail-field--third {
		grid-column: span 6;
	}

	.request-detail-field--half,
	.request-detail-field--two-thirds {
		grid-column: span 12;
	}
}

@media (max-width: 640px) {
	.request-detail-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.request-detail-field,
	.request-detail-field--quarter,
	.request-detail-field--third,
	.request-detail-field--half,
	.request-detail-field--two-thirds,
	.request-detail-field--full {
		grid-column: 1;
	}

	.request-detail-card h2 {
		align-items: flex-start;
		flex-wrap: wrap;
	}
}

/* BUDGET RECORD VIEW */
.budget-nav-actions {
	/*display: flex;*/
	gap: 10px;
	flex-wrap: wrap;
	margin-left: auto;
}

main.budget-alert-card {
	padding-bottom: 12px;
}

.budget-alert-card .fin-alert:last-child {
	margin-bottom: 0;
}

main.budget-overview-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
	gap: 28px;
	align-items: start;
}

.budget-overview-main,
.budget-overview-side {
	min-width: 0;
}

.budget-overview-side {
	display: grid;
	gap: 16px;
}

.budget-side-card {
	min-width: 0;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}

.budget-side-card h2,
.budget-section-card h2 {
	margin-bottom: 16px;
}

.budget-utilization-visual {
	display: flex;
	justify-content: center;
	margin: 2px 0 18px;
}

.budget-stat-list {
	display: grid;
	gap: 10px;
}

.budget-stat-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	font-size: 13px;
}

.budget-stat-row span {
	color: var(--text-muted) !important;
}

.budget-stat-row strong {
	text-align: right;
	font-size: 13px;
}

.budget-stat-row--used strong,
.budget-money--warning {
	color: #c2410c !important;
}

.budget-stat-row--remaining strong,
.budget-money--success {
	color: #15803d !important;
}

.budget-money--danger {
	color: #b91c1c !important;
}

.budget-money--default {
	color: var(--text-main) !important;
}

.budget-money {
	font-weight: 700;
	white-space: nowrap;
}

.budget-approval-field {
	margin-bottom: 12px;
}

.budget-approval-field textarea {
	resize: vertical;
}

.budget-action-buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.budget-action-buttons .btn {
	justify-content: center;
}

.budget-approval-list,
.budget-history-list {
	display: grid;
}

.budget-approval-step {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	font-size: 13px;
	border-bottom: 1px solid var(--border);
}

.budget-approval-step:first-child {
	padding-top: 0;
}

.budget-approval-step:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.budget-history-entry {
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
}

.budget-history-entry:first-child {
	padding-top: 0;
}

.budget-history-entry:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.budget-history-name {
	font-size: 13px;
	font-weight: 700;
}

.budget-history-meta {
	margin: 2px 0 7px;
	color: var(--text-muted) !important;
	font-size: 12px;
}

.budget-history-entry p {
	margin: 7px 0 0;
	color: var(--text-muted) !important;
	font-size: 12px;
	line-height: 1.45;
}

.budget-empty-state {
	margin: 0;
	color: var(--text-muted) !important;
	font-size: 13px;
}

.budget-document-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 10px;
}

.budget-document-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: #f8fafc;
	text-decoration: none;
	transition: border-color .2s, background-color .2s;
}

.budget-document-link:hover {
	background: var(--accent-light);
	border-color: #c7d2fe;
}

.budget-document-name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 600;
}

.budget-document-open {
	flex: 0 0 auto;
	color: var(--accent) !important;
	font-size: 12px;
	font-weight: 700;
}

.budget-section-card .tbl_cont {
	margin-top: 2px;
}

.budget-items-table td:nth-child(3) {
	min-width: 240px;
}

.budget-total-label {
	padding: 12px 16px !important;
	text-align: right;
	font-weight: 700;
	color: var(--text-muted) !important;
}

.budget-items-table tfoot td {
	padding: 12px 16px;
	border-top: 1px solid var(--border);
}

.budget-empty-cell {
	padding: 28px !important;
	text-align: center;
	color: var(--text-muted) !important;
}

@media (max-width: 1180px) {
	main.budget-overview-shell {
		grid-template-columns: 1fr;
	}

	.budget-overview-side {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.budget-nav-actions {
		margin-left: 0;
	}

	.budget-overview-side {
		grid-template-columns: 1fr;
	}

	.budget-document-list {
		grid-template-columns: 1fr;
	}

	.budget-document-link {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}
}
