@media screen and (min-width: 768px){
	.app.signin.v2 .card .card-block, .app.signup.v2 .card .card-block {
		padding-top: 50px;
	}
}

/* App-wide typography — theme default 0.8125rem is too small */
body,
#appShell {
	font-size: 15px !important;
	line-height: 1.5 !important;
}

#appShell .main-content {
	font-size: 15px;
}

#appShell .main-content .form-control,
#appShell .main-content .input-group-addon,
#appShell .main-content .btn,
#appShell .main-content select,
#appShell .main-content textarea,
#appShell .main-content .select2-selection,
#appShell .main-content .select2-selection__rendered,
#appShell .main-content .select2-results__option {
	font-size: 15px !important;
}

#appShell .main-content .form-label,
#appShell .main-content .control-label,
#appShell .main-content label {
	font-size: 14px !important;
}

#appShell .main-content .table,
#appShell .main-content .table > thead > tr > th,
#appShell .main-content .table > tbody > tr > td {
	font-size: 14px !important;
}

#appShell .main-content legend,
#appShell .main-content .page-section-title {
	font-size: 16px !important;
}

#appShell .main-content h3,
#appShell .main-content .card-title {
	font-size: 17px !important;
}

#appShell .main-content .nav-tabs > li > a {
	font-size: 15px !important;
}

#appShell .main-content .panel-title,
#appShell .main-content .panel-title > a {
	font-size: 16px !important;
}

/* Wider sidebar so menu labels fit */
@media screen and (min-width: 768px) {
	#appShell .sidebar-panel {
		width: 18.5rem !important;
	}
	/* width:100% + margin-left causes right-side clipping — use calc */
	#appShell .main-panel {
		margin-left: 18.5rem !important;
		width: calc(100% - 18.5rem) !important;
		max-width: calc(100% - 18.5rem) !important;
		box-sizing: border-box !important;
	}
	#appShell.layout-fixed-header .main-panel > .header {
		left: 18.5rem !important;
		right: 0 !important;
		width: auto !important;
	}
	#appShell.layout-small-menu .sidebar-panel {
		width: 4.688rem !important;
	}
	#appShell.layout-small-menu .main-panel {
		margin-left: 4.688rem !important;
		width: calc(100% - 4.688rem) !important;
		max-width: calc(100% - 4.688rem) !important;
	}
	#appShell.layout-fixed-header.layout-small-menu .main-panel > .header {
		left: 4.688rem !important;
		right: 0 !important;
		width: auto !important;
	}
}

#appShell .main-panel {
	overflow-x: hidden;
	box-sizing: border-box !important;
}

/* Locked shell: same on every page (ignore BS4/Kartik overrides) */
#appShell .main-panel > .header,
#appShell .sidebar-panel > .brand {
	background: #f4d169 !important;
	background: linear-gradient(to bottom, #f4d169 0%, #ed9017 100%) !important;
}

#appShell .main-panel {
	background: #FFF9E5 !important;
}

#appShell .sidebar-panel {
	background: #f4d169 !important;
	overflow-x: hidden;
	overflow-y: auto;
}

/* Kill theme overlay that blocks header clicks / can hide content.
   Important: do NOT keep theme width:100% with left:sidebar — that pushes
   the right edge past the viewport and clips Settings/Logout. */
#appShell .main-panel > .header {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: auto !important;
	max-width: none !important;
	z-index: 1030 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	overflow: visible !important;
	height: 3.75rem !important;
	min-height: 3.75rem !important;
	padding: 0 1rem 0 1.1rem !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-sizing: border-box !important;
	line-height: 1.2 !important;
}
#appShell .main-panel > .header::before {
	content: none !important;
	display: none !important;
}

#appShell .main-content {
	padding-top: 4.4rem !important;
	max-width: 100%;
	overflow-x: hidden;
	box-sizing: border-box;
}

/* Brand / logo in sidebar */
#appShell .sidebar-panel > .brand {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.35rem;
	height: 3.75rem !important;
	min-height: 3.75rem !important;
	padding: 0 0.65rem !important;
	overflow: hidden;
	box-sizing: border-box;
}

#appShell .sidebar-panel > .brand .brand-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	height: 100%;
	min-width: 0;
	padding: 0;
	line-height: 1;
	overflow: hidden;
}

#appShell .sidebar-panel > .brand .brand-logo img {
	display: block;
	max-height: 2.75rem !important;
	max-width: 100% !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain;
}

/* Sidebar menu — larger & clearer */
#appShell .sidebar-panel > nav {
	padding: 0.5rem 0 1.25rem;
}

#appShell .sidebar-panel > nav > ul,
#appShell .sidebar-panel > nav > ul.nav-sidebar {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	width: 100%;
	border: 0 !important;
}

#appShell .sidebar-panel > nav > ul > li {
	margin: 0 !important;
	float: none !important;
	display: block !important;
	width: 100% !important;
}

#appShell .sidebar-panel > nav > ul > li > a {
	display: flex !important;
	align-items: center !important;
	gap: 0.95rem;
	padding: 1.1rem 1.2rem !important;
	line-height: 1.4 !important;
	color: #5a4630 !important;
	white-space: normal !important;
	word-break: break-word;
	text-decoration: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	height: auto !important;
	max-height: none !important;
}

#appShell .sidebar-panel > nav > ul > li > a > i,
#appShell .sidebar-panel > nav > ul > li > a [class^="icon-"],
#appShell .sidebar-panel > nav > ul > li > a [class*=" icon-"] {
	flex: 0 0 1.75rem;
	width: 1.75rem !important;
	padding-right: 0 !important;
	margin: 0 !important;
	text-align: center;
	font-size: 1.5rem !important;
	line-height: 1 !important;
	color: inherit !important;
}

#appShell .sidebar-panel > nav > ul > li > a > span {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 1.2rem !important;
	font-weight: 600;
	color: inherit !important;
}

#appShell .sidebar-panel > nav li.open > a,
#appShell .sidebar-panel > nav li.active > a,
#appShell .sidebar-panel > nav li.open > a span,
#appShell .sidebar-panel > nav li.active > a span,
#appShell .sidebar-panel > nav li.open > a i,
#appShell .sidebar-panel > nav li.active > a i {
	color: #fff !important;
}

#appShell .sidebar-panel > nav > ul > li > a:hover,
#appShell .sidebar-panel > nav > ul > li.open > a,
#appShell .sidebar-panel > nav > ul > li.open > a:hover,
#appShell .sidebar-panel > nav > ul > li.open > a:focus {
	background-color: #ed9017 !important;
	color: #fff !important;
	text-decoration: none !important;
}

/* Header left / right */
#appShell .main-panel > .header .header-left,
#appShell .main-panel > .header .header-right {
	display: flex !important;
	align-items: center !important;
	gap: 0.5rem;
	min-width: 0;
	height: 100%;
}

#appShell .main-panel > .header .header-right {
	margin-left: auto !important;
	margin-right: 0 !important;
	flex-shrink: 0;
	position: relative;
	z-index: 1040;
}

#appShell .main-panel > .header .header-menu-toggle {
	display: none;
	padding: 0 0.35rem;
	color: #fff !important;
	line-height: 1;
}

#appShell .main-panel > .header .header-app-name {
	display: inline-block !important;
	max-width: 42vw;
	padding: 0;
	font-size: 1.15rem !important;
	font-weight: 600;
	line-height: 1.2 !important;
	color: #fff !important;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#appShell .main-panel > .header .header-user-nav {
	display: flex !important;
	align-items: center !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	height: 100%;
}

#appShell .main-panel > .header .header-user-nav > li {
	float: none !important;
	position: relative;
	display: flex !important;
	align-items: center !important;
	height: 100%;
}

#appShell .main-panel > .header .header-user-toggle {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.45rem;
	padding: 0.35rem 0.55rem !important;
	max-height: none !important;
	height: auto !important;
	color: #fff !important;
	line-height: 1.2 !important;
	font-size: 0.95rem !important;
	text-decoration: none !important;
	background: transparent !important;
	border: 0 !important;
	box-sizing: border-box !important;
}

#appShell .main-panel > .header .header-user-toggle:hover,
#appShell .main-panel > .header .header-user-toggle:focus,
#appShell .main-panel > .header .open > .header-user-toggle {
	background: rgba(255, 255, 255, 0.12) !important;
	color: #fff !important;
	border-radius: 4px;
}

/* Prevent Bootstrap 4 double caret */
#appShell .main-panel > .header .header-user-toggle::after,
#appShell .main-panel > .header .header-user-toggle::before {
	display: none !important;
	content: none !important;
	border: 0 !important;
}

#appShell .main-panel > .header .header-avatar {
	display: inline-block !important;
	width: 28px !important;
	height: 28px !important;
	margin: 0 !important;
	vertical-align: middle;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid rgba(255, 255, 255, 0.55);
}

#appShell .main-panel > .header .header-username {
	display: inline-block !important;
	font-size: 1.05rem !important;
	font-weight: 600;
	color: #fff !important;
	max-width: 140px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 1.2 !important;
}

#appShell .main-panel > .header .caret {
	display: inline-block !important;
	width: 0;
	height: 0;
	margin-left: 2px;
	margin-top: 2px;
	border-top: 4px solid #fff;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	border-bottom: 0;
	vertical-align: middle;
}

#appShell .main-panel > .header .dropdown-menu {
	display: none;
	position: absolute !important;
	top: 100% !important;
	right: 0 !important;
	left: auto !important;
	min-width: 220px;
	margin-top: 0.25rem;
	padding: 0.4rem 0;
	border-radius: 4px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
	z-index: 2000 !important;
	transform: none !important;
}

#appShell .main-panel > .header .open > .dropdown-menu,
#appShell .main-panel > .header .dropdown.open > .dropdown-menu {
	display: block !important;
}

#appShell .main-panel > .header .dropdown-menu > li > a {
	display: block;
	padding: 0.75rem 1.25rem;
	line-height: 1.4;
	font-size: 15px;
	color: #444;
	white-space: nowrap;
	text-decoration: none;
}

#appShell .main-panel > .header .dropdown-menu > li > a > i {
	margin-right: 0.45rem;
	font-size: 1rem;
	vertical-align: middle;
}

#appShell .main-panel > .header .dropdown-menu > li > a:hover {
	background: #fff3d6;
	color: #ed9017;
}

@media (max-width: 767px) {
	#appShell .main-panel > .header .header-menu-toggle {
		display: inline-block !important;
	}
	#appShell .main-panel > .header .header-app-name {
		display: none !important;
	}
	#appShell .sidebar-panel > .brand {
		justify-content: flex-start;
	}
	#appShell .main-panel > .header {
		left: 0 !important;
		width: auto !important;
	}
}

.panel-primary > .panel-heading {
    border-color: #f4d169 ;
    background-color: #ed9017;
}

/* jQuery UI override */
.ui-accordion .ui-accordion-header {
    background-color: #ffe9b2 !important;
	border: 1px solid #fcd88a !important;
    color: #333;
	border-radius: 0 !important;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover{
	border: 1px solid #f4d169 !important;
    background: #ed9017 !important;
}

#ui-datepicker-div{
	z-index:9 !important;
}
/* end of jQuery UI override */

.panel-primary {
	border:0;
	-webkit-box-shadow: 1px 1px 1px 1px rgba(189,187,189,0.8);
	-moz-box-shadow: 1px 1px 1px 1px rgba(189,187,189,0.8);
	box-shadow: 1px 1px 1px 1px rgba(189,187,189,0.8);	
	border-color: #f4d169 ;
}

select.form-control{
	width:100%;
}

.panel-group .panel{
	border-radius: 0 !important;
	-moz-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
}

.cs-radio{
	float: left !important;
}


/* Spinner Load Page
 css3: tobiasahlin.com/spinkit/
*/
.sk-cube-grid {
	width: 40px;
	height: 40px;
	margin: 100px auto;
}

.sk-cube-grid .sk-cube {
	width: 33%;
	height: 33%;
	background-color: #ed9017;
	float: left;
	-webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
	animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
}
.sk-cube-grid .sk-cube1 {
	-webkit-animation-delay: 0.2s;
	animation-delay: 0.2s; }
.sk-cube-grid .sk-cube2 {
	-webkit-animation-delay: 0.3s;
	animation-delay: 0.3s; }
.sk-cube-grid .sk-cube3 {
	-webkit-animation-delay: 0.4s;
	animation-delay: 0.4s; }
.sk-cube-grid .sk-cube4 {
	-webkit-animation-delay: 0.1s;
	animation-delay: 0.1s; }
.sk-cube-grid .sk-cube5 {
	-webkit-animation-delay: 0.2s;
	animation-delay: 0.2s; }
.sk-cube-grid .sk-cube6 {
	-webkit-animation-delay: 0.3s;
	animation-delay: 0.3s; }
.sk-cube-grid .sk-cube7 {
	-webkit-animation-delay: 0s;
	animation-delay: 0s; }
.sk-cube-grid .sk-cube8 {
	-webkit-animation-delay: 0.1s;
	animation-delay: 0.1s; }
.sk-cube-grid .sk-cube9 {
	-webkit-animation-delay: 0.2s;
	animation-delay: 0.2s; }

@-webkit-keyframes sk-cubeGridScaleDelay {
	0%, 70%, 100% {
		-webkit-transform: scale3D(1, 1, 1);
		transform: scale3D(1, 1, 1);
	} 35% {
		  -webkit-transform: scale3D(0, 0, 1);
		  transform: scale3D(0, 0, 1);
	  }
}

@keyframes sk-cubeGridScaleDelay {
	0%, 70%, 100% {
		-webkit-transform: scale3D(1, 1, 1);
		transform: scale3D(1, 1, 1);
	} 35% {
		  -webkit-transform: scale3D(0, 0, 1);
		  transform: scale3D(0, 0, 1);
	  }
}
/* End Spinner Load Page */

.app.signup .card {
	max-width: 800px !important;
}

/* Specific mapael css class are below
 * 'mapael' class is added by plugin
*/

.mapael .map {
	position: relative;
	overflow:hidden;
}

.mapael .mapTooltip {
	position: absolute;
	background-color: #fff;
	moz-opacity: 0.70;
	opacity: 0.70;
	filter: alpha(opacity=70);
	border-radius: 10px;
	padding: 10px;
	z-index: 1000;
	max-width: 200px;
	display: none;
	color: #343434;
}
@media (max-width: 767px) {
	.sidebar-panel > .brand {
		justify-content: flex-start;
		padding-left: 0.5rem;
	}

	.sidebar-panel > .brand .brand-logo {
		width: auto;
		max-width: calc(100% - 3rem);
	}

	.sidebar-panel > .brand .toggle-offscreen {
		margin-left: 0;
		margin-right: 0.35rem;
	}

	.main-panel > .header .dropdown-menu {
		position: absolute !important;
		top: 100%;
		right: 0.75rem;
		left: auto;
		min-width: 220px;
		z-index: 2000;
	}
}

.border-primary {
	border-color: #f4d169 !important;
}
.card-header {
	background-color: #ed9017 !important;
	color: #FFF9E5;
}

.card-header .btn-link,
.card-header .btn-link:hover,
.produksi-accordion .panel-heading a,
.produksi-accordion .panel-heading a:hover,
.produksi-accordion .panel-heading a:focus {
	color: #fff;
	text-decoration: none;
	display: block;
}

/* Bootstrap 3 accordion for produksi harian (was BS4 markup) */
.produksi-accordion.panel-group {
	margin-bottom: 1rem;
	clear: both;
}

.produksi-accordion > .panel {
	position: static;
	float: none;
	margin-top: 0;
	margin-bottom: 0.5rem;
	border: 1px solid #f4d169;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}

.produksi-accordion > .panel + .panel {
	margin-top: 0.5rem;
}

.produksi-accordion .panel-heading,
.produksi-accordion .card-header {
	position: static !important;
	padding: 0.75rem 1.25rem;
	background-color: #ed9017 !important;
	border: 0;
	border-radius: 0;
}

.produksi-accordion .panel-title,
.produksi-accordion .panel-title > a {
	font-size: 15px;
	font-weight: 600;
	color: #fff !important;
}

.produksi-accordion .panel-collapse.collapse {
	display: none;
	height: auto !important;
}

.produksi-accordion .panel-collapse.collapse.in {
	display: block;
}

.produksi-accordion .panel-body,
.produksi-accordion .card-body {
	padding: 1rem 1.25rem;
	background: #fff;
	border-top: 1px solid #f4d169;
}

/* Produksi Harian form — prevent right-side field clipping */
#produksiForm fieldset {
	margin: 0 0 1rem;
	padding: 0;
	border: 0;
	min-width: 0;
}

#produksiForm fieldset > legend {
	display: block;
	width: 100%;
	margin: 0 0 0.75rem;
	padding: 0;
	font-size: 1rem;
	font-weight: 600;
	color: #5a4630;
	border: 0;
}

#produksiForm .row {
	display: flex !important;
	flex-wrap: wrap !important;
	margin-left: -0.5rem !important;
	margin-right: -0.5rem !important;
	width: auto !important;
	max-width: none !important;
}

#produksiForm .row > [class*="col-"] {
	float: none !important;
	position: relative;
	min-width: 0 !important;
	max-width: 100% !important;
	padding-left: 0.5rem !important;
	padding-right: 0.5rem !important;
	box-sizing: border-box !important;
	margin-bottom: 0.85rem;
}

#produksiForm .row > .col-md-3,
#produksiForm .row > .col-sm-6 {
	flex: 0 0 100%;
	width: 100% !important;
}

@media (min-width: 768px) {
	#produksiForm .row > .col-md-3,
	#produksiForm .row > .col-sm-6 {
		flex: 0 0 50%;
		width: 50% !important;
	}
}

@media (min-width: 1200px) {
	#produksiForm .row > .col-md-3 {
		flex: 0 0 33.333333%;
		width: 33.333333% !important;
	}
}

#produksiForm .form-group {
	margin-bottom: 0;
}

#produksiForm .form-label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	font-size: 14px;
	color: #5a4630;
	white-space: normal;
	word-break: break-word;
}

#produksiForm .input-group {
	display: table;
	width: 100%;
	max-width: 100%;
	table-layout: fixed;
}

#produksiForm .input-group .form-control {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

#produksiForm .input-group-addon {
	width: 3.25rem;
	white-space: nowrap;
}

#produksiForm .table {
	width: 100%;
	max-width: 100%;
	margin-bottom: 0;
}

#produksiForm .panel-body > .row,
#produksiForm .card-body > .row {
	overflow-x: auto;
}

.page-shell.col-sm-12 {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* DOC Chick In form */
.chickin-form .card-body {
	padding: 1.25rem 1.35rem 1.35rem !important;
}

.chickin-form .chickin-rows {
	display: block;
}

.chickin-form .chickin-row {
	margin: 0 0 1.15rem;
	padding: 1rem 1rem 0.85rem;
	background: #fffdf7;
	border: 1px solid #f0e2b8;
	border-radius: 4px;
}

.chickin-form .chickin-row + .chickin-row {
	margin-top: 0.85rem;
}

.chickin-form .chickin-fields {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.95rem 1.1rem;
	align-items: start;
}

@media (min-width: 768px) {
	.chickin-form .chickin-fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.chickin-form .chickin-fields {
		grid-template-columns:
			minmax(200px, 1.6fr)
			minmax(150px, 1.1fr)
			minmax(140px, 1.1fr)
			minmax(100px, 0.7fr)
			minmax(140px, 1fr);
	}
}

.chickin-form .chickin-field {
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.chickin-form .form-group,
.chickin-form .chickin-fg {
	margin-bottom: 0 !important;
	width: 100%;
}

.chickin-form .form-label,
.chickin-form .control-label,
.chickin-form .chickin-field > .form-label {
	display: block !important;
	margin: 0 0 0.45rem !important;
	padding: 0 !important;
	min-height: 1.35em;
	font-weight: 600 !important;
	font-size: 14px !important;
	line-height: 1.35 !important;
	color: #5a4630 !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.chickin-form .help-block {
	margin: 0.25rem 0 0;
	font-size: 12px;
}

.chickin-form .input-group {
	display: table;
	width: 100%;
	max-width: 100%;
	table-layout: fixed;
}

.chickin-form .input-group .form-control,
.chickin-form .form-control {
	height: 40px !important;
	min-height: 40px !important;
	padding: 0.45rem 0.7rem !important;
	font-size: 15px !important;
	line-height: 1.35 !important;
	box-sizing: border-box !important;
}

.chickin-form .input-group-addon {
	width: 3.5rem;
	padding: 0.45rem 0.55rem !important;
	font-size: 13px !important;
	font-weight: 600;
	vertical-align: middle;
	line-height: 1.35 !important;
}

.chickin-form .select2-container {
	width: 100% !important;
}

.chickin-form .select2-container--krajee .select2-selection--single,
.chickin-form .select2-container--default .select2-selection--single,
.chickin-form .select2-container .select2-selection--single {
	height: 40px !important;
	min-height: 40px !important;
	padding: 0 !important;
	border: 1px solid #ccc !important;
	border-radius: 3px !important;
	box-sizing: border-box !important;
}

.chickin-form .select2-container--krajee .select2-selection--single .select2-selection__rendered,
.chickin-form .select2-container--default .select2-selection--single .select2-selection__rendered,
.chickin-form .select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 38px !important;
	padding-left: 0.7rem !important;
	padding-right: 2rem !important;
	font-size: 15px !important;
	color: #555 !important;
}

.chickin-form .select2-container--krajee .select2-selection--single .select2-selection__arrow,
.chickin-form .select2-container--default .select2-selection--single .select2-selection__arrow,
.chickin-form .select2-container .select2-selection--single .select2-selection__arrow {
	height: 38px !important;
	top: 1px !important;
	right: 4px !important;
}

.chickin-form .select2-container--krajee .select2-selection--single .select2-selection__clear,
.chickin-form .select2-container .select2-selection__clear {
	margin-right: 1.5rem !important;
	line-height: 38px !important;
}

.chickin-form .chickin-readonly {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	height: 40px;
	min-height: 40px;
	padding: 0 0.7rem;
	background: #f7f1e3;
	border: 1px solid #e0d2b0;
	border-radius: 3px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: #5a4630;
	box-sizing: border-box;
}

.chickin-form .chickin-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.7rem;
	margin-top: 1.15rem;
	padding-top: 1rem;
	border-top: 1px solid #f0e2b8;
}

.chickin-form .chickin-btn-add {
	min-width: 42px;
	height: 40px;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
	padding: 0 0.9rem;
}

.chickin-form .chickin-btn-save {
	min-width: 7rem;
	height: 40px;
	padding: 0 1.35rem;
	font-size: 15px;
	font-weight: 600;
}

/* Chart comparison page */
.chart-page .chart-filters {
	margin-bottom: 1.15rem;
}

.chart-page .chart-filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.25rem;
	align-items: flex-end;
	margin-bottom: 1rem;
}

.chart-page .chart-filter-block {
	flex: 1 1 220px;
	min-width: 200px;
	max-width: 100%;
	margin-bottom: 0;
}

.chart-page .chart-filter-block .form-label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	color: #5a4630;
}

.chart-page .chart-period-options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 1.25rem;
	align-items: center;
	min-height: 34px;
}

.chart-page .chart-radio {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	font-weight: 500;
	cursor: pointer;
}

.chart-page .chart-radio input {
	margin: 0;
}

.chart-page .chart-month-selects {
	display: flex;
	gap: 0.65rem;
}

.chart-page .chart-month-selects > * {
	flex: 1 1 0;
}

.chart-page .input-daterange .form-control {
	height: 34px;
}

.chart-page .input-daterange .input-group-addon {
	background: #f5f5f5;
	border-color: #ccc;
	color: #666;
	min-width: 2.5rem;
}

.chart-page .select2-container {
	width: 100% !important;
}

.chart-page .chart-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0.25rem 0 0.85rem;
	padding-bottom: 0;
	border-bottom: 1px solid #f0e0c0;
}

.chart-page .chart-nav-tabs {
	margin: 0 !important;
	border-bottom: 0 !important;
	flex: 1 1 auto;
}

.chart-page .chart-nav-tabs > li {
	margin-bottom: 0;
}

.chart-page .chart-nav-tabs > li > a {
	font-size: 15px;
	font-weight: 600;
	padding: 0.7rem 1.05rem;
	color: #5a6a9a;
	border-radius: 4px 4px 0 0;
}

.chart-page .chart-nav-tabs > li.active > a,
.chart-page .chart-nav-tabs > li.active > a:hover,
.chart-page .chart-nav-tabs > li.active > a:focus {
	background-color: #ed9017 !important;
	border-color: #ed9017 !important;
	color: #fff !important;
}

.chart-page .chart-display-btn {
	flex: 0 0 auto;
	margin: 0 0 0.15rem;
	padding: 0.45rem 1.25rem;
	font-weight: 600;
	border: 0;
}

.chart-page .chart-tab-content {
	padding: 0;
	min-height: 0;
}

.chart-page .chart-canvas-area {
	margin-top: 0.5rem;
	clear: both;
}

.chart-page .chart-canvas-area canvas {
	max-width: 100%;
}

.chart-page .chart-desc-row {
	display: flex;
	flex-wrap: wrap;
	margin-top: 0.75rem;
}

.chart-page .descWrapper {
	padding: 0.25rem 0.5rem;
}

/* Chart comparison tabs (legacy) */
.chart-nav-tabs > li > a {
	font-size: 14px;
	padding: 0.65rem 1rem;
}

.chart-nav-tabs > li.active > a,
.chart-nav-tabs > li.active > a:hover,
.chart-nav-tabs > li.active > a:focus {
	background-color: #ed9017 !important;
	border-color: #ed9017 !important;
	color: #fff !important;
}

.chart-display-wrap {
	margin: 0.75rem 0;
}

.master-menu-hint {
	margin: 0.75rem 0 0;
	color: #555;
}

.master-menu-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.master-menu-links .btn {
	margin: 0;
}

/* Unified page shell across menus */
.page-shell {
	float: none;
	width: 100%;
	margin-bottom: 1rem;
	padding-left: 0;
	padding-right: 0;
}

.main-content .card.border-orange {
	border: 1px solid #f4d169;
	border-radius: 0;
	margin-bottom: 1rem;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.main-content .card.border-orange > .card-header {
	padding: 0.85rem 1.25rem;
	background-color: #ed9017 !important;
	border-bottom: 0;
}

.main-content .card.border-orange > .card-header .card-title,
.main-content .card.border-orange > .card-header h3 {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.4;
	color: #fff;
	text-transform: none;
}

.main-content .card.border-orange > .card-body {
	padding: 1.15rem 1.25rem;
	background: #fff;
}

.page-section-title {
	margin: 0.25rem 0 1rem;
	font-size: 1rem;
	font-weight: 600;
	color: #555;
}

.master-submenu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 1.15rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid #f0e2b8;
}

.master-submenu .btn {
	margin: 0;
}

.kv-grid-panel .card.border-primary {
	border-color: #f4d169 !important;
}
.grid-view .card .bg-primary {
	background-color: #ed9017 !important;
}
.kv-panel-pager .page-item.active .page-link {
	background-color: #ed9017 !important;
	border-color: #f4d169 !important;
}

.sidebar-panel,
#appShell {
	transition: all .3s ease;
}

/* Login page */
.app.signin.v2 .session-hero {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

.app.signin.v2 .login-card {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	overflow: hidden;
}

.app.signin.v2 .login-card > .card-block {
	padding: 2rem 1.75rem 1.5rem;
}

.login-form-wrap {
	max-width: 360px;
	margin: 0 auto;
}

.login-brand {
	margin-bottom: 1.25rem;
}

.login-logo {
	display: inline-block;
	max-width: 220px;
	max-height: 72px;
	width: auto;
	height: auto;
	margin: 0 auto 0.75rem;
}

.login-subtitle {
	margin: 0;
	color: #7a6548;
	font-size: 0.95rem;
}

.login-form .form-group {
	margin-bottom: 1rem;
}

.login-form .form-control {
	border: 1px solid #e2d3b5;
	border-radius: 6px;
	box-shadow: none;
	background: #fffdf7;
	text-align: left;
}

.login-form .form-control:focus {
	border-color: #ed9017;
	box-shadow: 0 0 0 2px rgba(237, 144, 23, 0.2);
	background: #fff;
}

.login-form .control-label {
	font-weight: 600;
	color: #5a4630;
}

.login-form .login-forgot {
	font-weight: 500;
	color: #ed9017;
}

.login-form .login-forgot:hover {
	color: #d07b0f;
	text-decoration: underline;
}

.login-form .remember-me {
	margin-bottom: 1.25rem;
}

.login-form .remember-me label {
	font-weight: normal;
	color: #5a4630;
}

.btn-login {
	background: #ed9017;
	border-color: #ed9017;
	color: #fff;
	font-weight: 600;
	border-radius: 6px;
	padding: 0.7rem 1rem;
}

.btn-login:hover,
.btn-login:focus,
.btn-login:active {
	background: #d07b0f;
	border-color: #d07b0f;
	color: #fff;
}

.login-footer {
	margin: 1.5rem 0 0;
	font-size: 0.85rem;
	color: #8a7660;
}

.login-footer a {
	color: #ed9017;
}

@media screen and (min-width: 768px) {
	.app.signin.v2 .login-card > .card-block {
		padding-top: 2.25rem;
		padding-bottom: 1.75rem;
	}
}
