nav.navbar a.menu-btn:hover {
    background: #C59B27;
}

.pos-page .container-fluid {
	padding: 0 15px;
}

.side-navbar {
	background-color: #fafbfe;
    position: fixed;
    top: 63px;
    left: 0;
    width: 200px;
    height: 90%;
    opacity: 1;
    width: 230px;
    text-align: left;
    transition: all 0.1s linear;
    z-index: 999;
    overflow-y: auto;
}

.pos-page .side-navbar {
	top: 0;
}

.side-navbar li a:focus,
.side-navbar li a:hover,
.side-navbar li.active>a,
.side-navbar li a[aria-expanded="true"] {
    background: #f8f8f8;
	color: #C59B27;
    text-decoration: none;
}

.side-navbar .sidenav-header {
    background: linear-gradient(135deg, #FFFDF5 0%, #FFF8E1 100%);
    border-bottom: 2px solid #C59B27;
    margin-bottom: 10px;
    padding: 10px 12px;
    text-align: center;
}

.side-navbar .sidebar-brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: #3a2f0b;
    justify-content: center;
}

.side-navbar .sidebar-brand-link:hover {
    text-decoration: none !important;
    opacity: 0.85;
}

.side-navbar .sidebar-logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 6px;
    background: transparent;
}

.side-navbar .sidebar-brand-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #A07E1A, #E2B93B);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
}

.side-navbar .sidebar-brand-text {
    font-size: 13px;
    font-weight: 700;
    color: #6B5A1E;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.dashboard-counts .count-title i {
    font-size: 2em;
    color: #C59B27;
    width: 60px;
}

.statistics .user-activity .progress .progress-bar.bg-primary {
    background: #C59B27 !important;
}

.statistics .user-activity .page-statistics strong {
    display: block;
    text-transform: uppercase;
    color: #C59B27;
    font-size: 2em;
}

.gmpc {
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    color: #C59B27 !important;
    border-right: 1px solid #eee;
}

input.input-material:focus {
    border-color: #C59B27;
    outline: none;
}

input.input-material~label.active {
    font-size: 0.8em;
    top: -10px;
    color: #C59B27;
}

input.form-control-custom:checked+label::before {
    background: #C59B27 !important;
}

.login-page .logo span,
.register-page .logo span {
    color: #C59B27;
}

.login-page a.forgot-pass,
.login-page a.signup,
.register-page a.forgot-pass,
.register-page a.signup {
    font-size: 0.8em;
    color: #C59B27;
}

.btn-primary {
    color: color-yiq(#C59B27);
    background-color: #C59B27;
    border-color: #C59B27;
}

.btn-primary.disabled,
.btn-primary:disabled {
    background-color: #C59B27;
    border-color: #C59B27;
}

.btn-outline-primary {
    color: #C59B27;
    background-color: transparent;
    background-image: none;
    border-color: #C59B27;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #C59B27;
    border-color: #C59B27;
}

.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
    color: #C59B27;
    background-color: transparent;
}

.btn-outline-primary:not([disabled]):not(.disabled):active,
.btn-outline-primary:not([disabled]):not(.disabled).active,
.show>.btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #C59B27;
    border-color: #C59B27;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(51, 179, 90, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(51, 179, 90, 0.5);
}

a {
    color: #C59B27;
    text-decoration: none;
}

.blockquote {
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    font-size: 1.25rem;
    border-left: 5px solid #C59B27;
}

.text-primary {
    color: #C59B27 !important;
}

.page-item.active .page-link {
    color: #fff;
    background-color: #C59B27;
    border-color: #C59B27;
}

.page-link {
    padding: 0.5rem 0.75rem;
    color: #C59B27;
    background-color: #fff;
    border: 1px solid #ddd;
    font-size: 13px;
    line-height: 22px !important
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    background-color: #C59B27;
}

.bg-primary {
    background-color: #C59B27 !important;
}

.border-primary {
    border-color: #C59B27 !important;
}

.text-primary {
    color: #C59B27 !important;
}

.badge-primary {
    color: color-yiq(#C59B27);
    background-color: #C59B27;
}

.badge-primary[href]:focus,
.badge-primary[href]:hover {
    color: color-yiq(#C59B27);
    text-decoration: none;
    background-color: #288b46;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    border-color: transparent;
    color: #C59B27;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff;
    background-color: #C59B27;
}

.italic {
	font-style: italic;
}

.modal{
	overflow: scroll;
}

.dataTable {
	margin-top: 30px;
}

.table thead {
	background-color: #FFF;
}

.details-header{
	margin-left: 300px !important;
	margin-top: -5px;
	font-size: 21px !important;
	color: #C59B27;
	position: relative;
}

.daterangepicker{
    z-index: 9999;
}

.details-note{
	margin-top: -24px;
    padding-left: 370px;
    font-size: 13px;
    font-style: italic;
}

.white-text {
	color: #FFF !important
}

.sendmail-form {
	display: inline-block;
}

.btn-pos {
	background-color: #C59B27;
	border: 2px solid transparent;
	border-radius: 5px;
	color: #FFF;
	line-height: 30px !important;
	padding-left: 10px !important;
	padding-right: 10px !important;
	text-decoration: none !important;
}

.btn-pos i,
.btn-pos span {
	color: #FFF !important;
}

.btn-pos:hover {
	background-color: transparent;
	border: 2px solid #C59B27;
}

.btn-pos:hover i,
.btn-pos:hover span {
	color: #C59B27 !important;
}

#loader {
  position: fixed;
  left: 53%;
  top: 50%;
  z-index: 1;
  width: 50px;
  height: 50px;
  margin: -75px 0 0 -75px;
  border: 2px solid #d9d9db;
  border-radius: 50%;
  border-top: 2px solid #C59B27;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}

.colored-box {
	background-color: #FFF;
	box-shadow: 0 0 35px 0 rgba(154,161,171,.15);
	margin-bottom: 25px;
	padding: 15px;
	color: #333;
	min-height: 250px;
	overflow: hidden;
	position: relative;
}

.colored-box h3 {
	color: #C59B27;
}

.colored-box hr {
	background-color: rgba(255,255,255,0.5)
}

.colored-box i {
	color: #adad85;
	font-size: 170px;
	opacity: 0.07;
	position: absolute;
	right: -10px;
	top: 25%;
}

.colored-box.green-bg {
	background-color: #00cc44;
	min-height: 110px !important;
}

.purple-bg {
	background-color: #C59B27;
}

.orange-bg {
	background-color: #ff8952;
	min-height: 110px !important;
}

.red-bg {
	background-color: #ff3030;
}

.blue-bg {
	background-color: #014463;
}

.yellow-bg {
	background-color: #f78b38;
}

.light-blue-bg {
	background-color: #138496;
}

a:focus,button:focus,.btn:focus {
	outline: none;
	box-shadow: none;
}

.btn-default.btn-primary:hover {
	color: #FFF;
}

.btn-info:focus,.btn-primary:focus {
	color: #FFF;
}

.btn.btn-default,
.btn.btn-default:focus {
	background-color: #FFF;
	color: #C59B27;
}

.btn.btn-default:focus {
	background-color: #FFF;
	border: 1px solid #ddd;
	color: #666;
	box-shadow: none;
}

.btn-primary.active {
	background-color: transparent !important;
	border: 2px solid #C59B27 !important;
	box-shadow: none !important;
	color: #C59B27 !important;
}

.count-title {
	background: #FFF;
	border-radius: 5px;
	box-shadow: 0 0 35px 0 rgba(154,161,171,.15);
	padding: 20px 10px;
}

.dashboard-counts {
	padding: 10px 0; 
}

.filter-toggle {
	float: right;
	list-style: none;
	margin-top: 15px;
}

.filter-toggle .date-btn {
	padding: 0.3rem 0.75rem;
	border-radius: 15px; 
}

.filter-toggle .date-btn.active {
	box-shadow: none !important
}

.count-title .count-number {
	font-size: 1.5em;
	margin-top: 17px;
}

.product-link, .product-img, .sale-link, .return-link, .purchase-link, .transfer-link, .quotation-link, .category-img, .brand-img, .theme-option {
	cursor: pointer;
}

.bootstrap-select.form-control {
	border: 1px solid;
}

.bootstrap-select .btn-link {
	color: #C59B27;
}

.form-control, .input-group-text, .bootstrap-select.form-control {
    background-color: #fdfdff;
    border-color: #e4e6fc;
}

.mce-panel {
	border: 1px solid #e4e6fc;
	border-radius: 5px;
}

.daterangepicker .custom-range-buttons button.apply-btn,
.daterangepicker .custom-range-buttons button.apply-btn:hover {
    background: #C59B27;
}

div.ui-keyboard {
	position: fixed;
	z-index: 2000;
	top: auto !important;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 180px;
	background-color:rgba(255,255,255,0.8);
}
.ui-keyboard-button {
	min-width: 3em;
}

.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front {
	background: #C59B27;
	width: 300px;
	padding: 15px;
}

.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front li.ui-menu-item {
	color: #FFF;
	cursor: pointer;
	font-size: 14px;
	list-style: none;
	padding: 5px 10px;
	padding-left: 0;
}

.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front li.ui-menu-item:hover {
	opacity: 0.7;
}

.vertical-center {
  min-height: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

p.top-border {
	border-top: 1px solid #000;
	width: 50%
}

th span.number-in-words{
	text-transform: uppercase;
}

@media print {
    .hide-element {
        display:none
    }
}

/*--------Written by Tarik -----------*/

.btn-primary {
    background-color: #C59B27;
    border-color: #C59B27;
}

.btn-primary:hover {
    background-color: #6244a6;
    border-color: #6244a6;
}

a:hover {
	text-decoration: none;
}

.form-control:focus {
	border: 1px solid #C59B27;
	box-shadow: none;
}

.dataTables_wrapper label .bootstrap-select {
	max-width: 70px
}

.table:not(.permission-table) thead th {
	border-bottom: none;
    border-top: none;
}

.table td {
	border-bottom: 1px solid #f5f5f5;
}

.table:not(.permission-table) tr:last-child td {
	border-bottom: none;
}

table.dataTable {
	background-color: #FFF;
    border-collapse: collapse !important;
    border-radius: 5px;
	box-shadow: 0 0 35px 0 rgba(154,161,171,.15);
}

table.dataTable.no-shadow {
	box-shadow: none;
}

.table thead th {
	border-bottom: 1px solid #e4e6fc
}

section {
	padding: 30px 0;
}

.side-navbar .sidenav-header {
    background: linear-gradient(135deg, #FFFDF5 0%, #FFF8E1 100%);
    margin-bottom: 0;
    padding: 10px 12px;
}

.side-navbar .brand-big {
    line-height: 60px;
}

.side-navbar .brand-big i {
    font-size: 26px;
    vertical-align: middle;
}

.side-navbar li a {
    padding: 5px 10px;
}

.side-navbar li a i {
    vertical-align: middle;
}

.side-navbar li ul.collapse a:hover {
    padding-left: 15px;
}

nav.navbar a.menu-btn {
    background: transparent;
    border: 1px solid #C59B27;
    border-radius: 5px;
    color: #C59B27;
}

nav.navbar a.menu-btn:hover {
    background: #C59B27;
    border: 1px solid #C59B27;
    color: #FFF;
}

.navbar-brand {
	padding: 0;
}

.brand-text h3 {
	color: #C59B27;
	font-weight: 300;
}

.brand-text h3 span {
	font-weight: 500;
}

nav.navbar {
    background: #FFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    line-height: 60px;
    padding: 0;
}

nav.navbar .nav-item a i {
    color: #C59B27;
    font-size: 14px;
    margin-right: 5px;
    vertical-align: middle;
}

nav.navbar .nav-item .edit-options a i {
    font-size: 16px;
    margin-right: 5px;
    vertical-align: middle;
    width: 20px;
}

nav.navbar .notifications {
    width: 260px;
}

nav.navbar .nav-item {
	margin-left: 15px;
}

nav.navbar .nav-item li.notifications a i{
	color: #fff;
}

.nav-tabs .nav-item .nav-link.active {
	border-color: transparent;
    border-bottom: 2px solid #C59B27;
}

.dropdown-item {
    padding: 0 0.5rem;
    color: #7d7d7d;
}

.dropdown-item.selected{
	background-color: #f8f8f8;
	color: #C59B27;
}

.dataTables_wrapper {
	margin-top: 30px;
}

.dataTables_filter,
.dataTables_length,
.dt-buttons {
	float: left;
	vertical-align: middle;
	width: 30%;
} 

.dt-buttons {
	display: inline-block;
	text-align: right;
	width: 40%;
}

.dt-buttons button {
	padding: 0.25rem 0.75rem;
}

.dt-buttons button span {
	color: #FFF;
}

.dt-button-collection.dropdown-menu {
	background: #C59B27;
	padding: 10px 15px;
}

.dt-button-collection.dropdown-menu a {
	background: transparent;
	font-size: 14px;
	line-height: 30px;
}

.buttons-pdf {
	background: #ff7588;
	border: none;
}

.buttons-csv {
	background: #ffc107;
	border: none;
}

.buttons-print {
	background: #2196f3;
	border: none;
}

.buttons-delete {
	background: #eb543a;
	border: none;
}

.buttons-collection {
	background: #C59B27;
	border: none;
}

.dataTables_info,
.dataTables_paginate {
	display: table-cell;
	width: 50%;
}

.dataTables_paginate {
	text-align: right;
}

.dropdown-menu.edit-options li a,
.dropdown-menu.edit-options li .btn-link {
	color: #C59B27;
	display: block;
	text-align: left;
	text-decoration: none;
	width: 100%;
}

.dropdown-menu.edit-options li a:hover,
.dropdown-menu.edit-options li .btn-link:hover {
	background-color: #f8f8f8;
	color: #C59B27
}

.table.totals tr td {
	vertical-align: middle;
}

.table.order-list tr td .btn-link,
.table.totals tr td .btn-link {
	color: #C59B27;
}

#product-table_wrapper.dataTables_wrapper {
	margin-top: 0;
	padding: 0;
}

table#product-table.dataTable {
	border-collapse: separate !important;
	margin: 15px 0 !important;
}

#product-table_paginate {
	float: right;
}

#product-table tr:last-child td:hover{
	border-bottom: 1px solid #C59B27;
}

#product-table_paginate .page-link{
	line-height: 1;
}

#product-table td{
	border: none;
	border-right: 1px solid #e4e6fc;
	border-bottom: 1px solid #e4e6fc;
}

.table-bordered td, .table-bordered th {
	border-color: #e4e6fc
}

#product-table tr td:first-child{
	border-left: 1px solid #e4e6fc;
}

#product-table tr:first-child td{
	border-top: 1px solid #e4e6fc;
}

#product-table td:hover{
	border: 1px solid #C59B27;
	color: #C59B27;
}

#product-table tr:first-child td:hover{
	border-top: 1px solid #C59B27;
}
#product-table tr td:first-child:hover{
	border-left: 1px solid #C59B27;
}

#product-table td p {
	margin: 15px 0 0;
}

#product-table td:hover p {
	color: #C59B27;
}
.product-img {
	margin-bottom: 0;
	padding: 15px 7px 0;
	text-align: center;
	text-transform: capitalize;
	width: 20%;
}

.product-img img, .brand-img img, .category-img img{
	height: 70px;
	max-width: 100%;
	width: auto;
}

.category-img, .brand-img {
	text-transform: capitalize;
}

.card-header {
	border-bottom: none;
}

section.pos-section{
	padding: 5px 0;
}

.pos-page .table-fixed {
	margin-bottom: 0;
}

.transaction-list {
	height: 45vh;
	overflow-y: auto;
	width: 100%;
}

.btn-default.minus,
.btn-default.minus:focus,
.btn-default.plus,
.btn-default.plus:focus {
	background-color: #d6deff;
	border: none;
}

.form-control.qty {
	border: none;
	font-size: 0.9em;
}

@media all and (min-width:768px) {
	.table-fixed thead, .table-fixed tbody, .table-fixed tr, .table-fixed td, .table-fixed th {
	 	display: block;
	}

	.table-fixed tr {
		clear: both;
	}

	.table-fixed tbody td, .table-fixed thead > tr> th {
		float: left;
		border-bottom-width: 0;
	}
}

.btn-custom {
	display: block;
	font-size: 16px;
	letter-spacing: 0.075em;
	line-height: 1.7;
	width: 100%;
	color: #FFF;
	background: #C59B27;
}

.btn-custom.lg {
	font-size: 18px;
	font-weight: 700;
}

.btn-custom.sm {
	line-height: 18px;
	font-size: 15px;
	margin-bottom: 5px
}
.minus, .plus {
	padding: 0.35rem 0.75rem;
}
.numkey.qty {
	padding: 0 .75rem;
	max-width: 50px;
	text-align: center;
}
.pos-text {
	line-height: 1.8;
}

.product-title{
	text-transform: capitalize;
}

.dataTables_info,
.dataTables_paginate {
    display: table-cell;
    width: 50%;
    float: left;
    padding-top: 10px;
}

.pos-page section header {
	padding: 0 0 15px;
}

.pos .bootstrap-select button{
	padding-right: 21px !important
}

.pos .bootstrap-select.form-control:not([class*="col-"]) {
    width: 100px;
}

#myTable .input-group{
	max-width: 150px;
}

.filter-window{
	width: 100%;
	height: 100%;
	background-color: #fff;
	overflow-y: auto;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 999;
	display: none;
}

.datepicker.datepicker-dropdown  {
	padding: 15px;
}

@media all and (min-width:576px){
	.modal-dialog {
		max-width: 800px;
	}
}

.checkbox input[type="checkbox"] {
    display: none;
}

.checkbox label {
    cursor: pointer;
    vertical-align: top
}

.checkbox label:before {
}

.checkbox label::after {
    color: #C59B27;
}

table.dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected {
    background-color: #f5f5f5;
}

table.dataTable tbody > tr.selected td, table.dataTable tbody > tr > .selected td {
    color: #666;
}

.report-permissions span {
	display: inline-block;
	min-width: 200px;
}

.logo-container{
    width: 100px;
}
.logo-container > img{
    width: 100%;
}

.main-container {
    margin-top: 65px;
}

.form-container{
    max-width: 600px;
    margin: 10px auto;
}
.form-container h1{
    font-weight: 300;
    font-size: 2.5rem;
}

.dropzone {
    border: 1px solid #e4e6fc;
    border-radius: 5px;
    background: white;
}

#imageUpload{
    margin-bottom: 0;
    min-height: 80px;
}

div.has-error > input {
    border: 1px solid #dc3545;
}

div.has-error> .form-text {
    color: #dc3545;
}

#successModal .fa-thumbs-up {
    font-size: 7.5rem;
    color: #2ebf2e;
}

#successModal .fa-thumbs-down {
    font-size: 7.5rem;
    color: #e13535;
}

#success-text{
    margin-top: 20px;
    font-size: 1.2rem;
}

.dripicons-question {
	color: #C59B27
}

.modal {
	background-color: rgba(255,255,255,0.4);
}

.modal-content {
	border: none;
}

.totals .col-sm-4 {
	border-bottom: 1px solid #f5f5f5;
	font-size: 13px;
	line-height: 2;
}

.totals .col-sm-4:nth-child(4),
.totals .col-sm-4:nth-child(5),
.totals .col-sm-4:nth-child(6) {
	border-bottom: none;
}

.payment-amount {
	background-color: #d6deff;
	margin-top: 10px;
	text-align: center;
}

.payment-amount h2 {
	color: #C59B27;
	font-size: 1.5rem;
	line-height: 2;
	margin-bottom: 0;
}

.totals .totals-title {
	color: #7d7d7d;
	display: inline-block;
	width: 100px;
}

.payment-options {
	background-color: #FFF;
	bottom: 0;
	left: 0;
	padding: 0 10px;
	position: fixed;
	width: 100%;
	z-index: 999;
}

.payment-options .column-5 {
	min-width: 10%;
	float: left;
	margin: 10px 0;
	padding: 0 5px;
}

.pos-page .order-list .btn {
	padding: 2px 5px;
}

table.dataTable tbody td.dt-checkboxes-cell {
	vertical-align: middle;
}

.daterangepicker {
    box-shadow: 0 0 35px rgba(0,0,0,.07);
    padding: 10px;
}

.pos-page [class*="col-"] {
	padding: 0 10px;
}

.pos-page #myTable [class*="col-"] {
	padding: .75rem;
}

.table-container {
	height: 75vh;
	overflow-y: auto;
}

/* ==========================================================
   DASHBOARD IMPROVEMENTS - DESKTOP VERSION
   ========================================================== */

/* Dashboard Header */
.dashboard-header {
	background: linear-gradient(135deg, #7a5e0e 0%, #C59B27 50%, #E2B93B 100%);
	border-radius: 16px;
	padding: 32px 36px;
	color: #ffffff;
	box-shadow: 0 6px 28px rgba(197, 155, 39, 0.35);
	margin-bottom: 30px;
	position: relative;
	overflow: hidden;
}

.dashboard-header::before {
	content: '';
	position: absolute;
	top: -60px; right: -60px;
	width: 220px; height: 220px;
	background: rgba(255,255,255,0.07);
	border-radius: 50%;
	pointer-events: none;
}

.dashboard-header::after {
	content: '';
	position: absolute;
	bottom: -80px; left: 30px;
	width: 160px; height: 160px;
	background: rgba(255,255,255,0.05);
	border-radius: 50%;
	pointer-events: none;
}

.dashboard-welcome {
	font-size: 30px;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
	text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.dashboard-welcome .text-primary {
	color: #fff8e0 !important;
}

.quick-stats-badge {
	background: rgba(0, 0, 0, 0.18);
	padding: 12px 22px;
	border-radius: 10px;
	display: inline-block;
	font-size: 16px;
	font-weight: 600;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255,255,255,0.2);
	color: #fff;
}

/* Statistics Cards */
.stat-card {
	background: #ffffff;
	border-radius: 14px;
	padding: 22px 20px;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
	transition: all 0.3s ease;
	height: 100%;
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(197, 155, 39, 0.08);
}

.stat-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	transition: all 0.3s ease;
}

.stat-card::after {
	content: '';
	position: absolute;
	bottom: -30px; right: -30px;
	width: 100px; height: 100px;
	border-radius: 50%;
	background: rgba(197, 155, 39, 0.04);
	pointer-events: none;
}

.stat-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 30px rgba(197, 155, 39, 0.18);
	border-color: rgba(197, 155, 39, 0.2);
}

.stat-card-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.stat-card-icon {
	width: 58px;
	height: 58px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	color: #ffffff;
	margin-bottom: 14px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stat-card:hover .stat-card-icon {
	transform: scale(1.1) rotate(5deg);
}

.stat-card-content {
	position: relative;
}

.stat-card-label {
	font-size: 10px;
	color: #8a8a8a;
	font-weight: 600;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.stat-card-value {
	font-size: 20px;
	font-weight: 700;
	color: #2c3e50;
	line-height: 1.2;
	word-break: break-word;
	overflow-wrap: anywhere;
}

/* Shrink value font when text is long */
.stat-card-value[data-long] {
	font-size: 15px;
}

/* Stat Card Color Variants */
/* Gold — Employees */
.stat-card-purple::before {
	background: linear-gradient(90deg, #A07E1A 0%, #C59B27 100%);
}

.stat-card-purple .stat-card-icon {
	background: linear-gradient(135deg, #A07E1A 0%, #C59B27 100%);
}

/* Amber/Orange — Attendance */
.stat-card-orange::before {
	background: linear-gradient(90deg, #d4820a 0%, #f5a623 100%);
}

.stat-card-orange .stat-card-icon {
	background: linear-gradient(135deg, #d4820a 0%, #f5a623 100%);
}

/* Green — Leave */
.stat-card-green::before {
	background: linear-gradient(90deg, #27ae60 0%, #2ecc71 100%);
}

.stat-card-green .stat-card-icon {
	background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

/* Blue — Expense */
.stat-card-blue::before {
	background: linear-gradient(90deg, #2980b9 0%, #3498db 100%);
}

.stat-card-blue .stat-card-icon {
	background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
}

/* Teal — Deposit */
.stat-card-teal::before {
	background: linear-gradient(90deg, #16a085 0%, #1abc9c 100%);
}

.stat-card-teal .stat-card-icon {
	background: linear-gradient(135deg, #16a085 0%, #1abc9c 100%);
}

/* Deep Gold/Bronze — Salaries */
.stat-card-indigo::before {
	background: linear-gradient(90deg, #6b4f0a 0%, #9c7420 100%);
}

.stat-card-indigo .stat-card-icon {
	background: linear-gradient(135deg, #6b4f0a 0%, #9c7420 100%);
}

/* Modern Card */
.modern-card {
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
	overflow: hidden;
	transition: all 0.3s ease;
	height: 100%;
	border: 1px solid rgba(197, 155, 39, 0.1);
}

.modern-card:hover {
	box-shadow: 0 8px 28px rgba(197, 155, 39, 0.18);
	border-color: rgba(197, 155, 39, 0.25);
}

.modern-card-header {
	padding: 20px 25px;
	border-bottom: 1px solid rgba(197, 155, 39, 0.12);
	background: linear-gradient(to right, #fffdf5, #ffffff);
}

.modern-card-title {
	font-size: 17px;
	font-weight: 600;
	color: #2c3e50;
	margin: 0;
	display: flex;
	align-items: center;
}

.modern-card-title .text-primary {
	color: #C59B27 !important;
}

.modern-card-body {
	padding: 25px;
}

/* Quick Link Cards */
.quick-link-card {
	background: #ffffff;
	border-radius: 14px;
	padding: 26px;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
	transition: all 0.3s ease;
	height: 100%;
	border: 1px solid rgba(197, 155, 39, 0.1);
	position: relative;
	overflow: hidden;
}

.quick-link-card::before {
	content: '';
	position: absolute;
	bottom: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, rgba(197,155,39,0.4), transparent);
	transition: opacity 0.3s;
	opacity: 0;
}

.quick-link-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(197, 155, 39, 0.2);
	border-color: rgba(197, 155, 39, 0.3);
}

.quick-link-card:hover::before {
	opacity: 1;
}

.quick-link-link {
	text-decoration: none;
	color: inherit;
	display: flex;
	align-items: center;
}

.quick-link-icon {
	width: 68px;
	height: 68px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	color: #ffffff;
	margin-right: 20px;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.quick-link-card:hover .quick-link-icon {
	transform: scale(1.08) rotate(5deg);
}

/* Announcement — Gold */
.quick-link-icon-blue {
	background: linear-gradient(135deg, #A07E1A 0%, #C59B27 100%);
	box-shadow: 0 4px 14px rgba(197,155,39,0.35);
}

/* Open Tickets — Teal */
.quick-link-icon-green {
	background: linear-gradient(135deg, #16a085 0%, #1abc9c 100%);
	box-shadow: 0 4px 14px rgba(26,188,156,0.3);
}

/* Projects — Orange */
.quick-link-icon-orange {
	background: linear-gradient(135deg, #d4820a 0%, #f5a623 100%);
	box-shadow: 0 4px 14px rgba(245,166,35,0.3);
}

.quick-link-content {
	flex: 1;
}

.quick-link-count {
	font-size: 38px;
	font-weight: 700;
	color: #2c3e50;
	line-height: 1;
	margin-bottom: 6px;
}

.quick-link-label {
	font-size: 13px;
	color: #6c757d;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.8px;
}

/* Modern Table */
.modern-table {
	border-collapse: separate;
	border-spacing: 0;
}

.modern-table thead th {
	background: linear-gradient(135deg, #8B6914 0%, #C59B27 60%, #E2B93B 100%);
	color: #ffffff;
	font-weight: 600;
	padding: 14px 15px;
	border: none;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.6px;
	text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.modern-table thead th:first-child {
	border-radius: 0;
}

.modern-table tbody tr {
	transition: all 0.2s ease;
}

.modern-table tbody tr:hover {
	background-color: #fdf8ec;
	transform: scale(1.005);
	box-shadow: 0 2px 8px rgba(197, 155, 39, 0.08);
}

.modern-table tbody td {
	padding: 14px 15px;
	border-bottom: 1px solid #f5f0e8;
	vertical-align: middle;
}

.modern-table tbody tr:last-child td {
	border-bottom: none;
}

/* Pie Chart Container */
.pie-chart {
	position: relative;
	height: 250px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
	.dashboard-welcome {
		font-size: 28px;
	}
	
	.stat-card-value {
		font-size: 24px;
	}
}

@media (max-width: 768px) {
	.dashboard-header {
		padding: 20px;
	}
	
	.dashboard-welcome {
		font-size: 24px;
	}
	
	.stat-card {
		padding: 20px;
	}
	
	.stat-card-icon {
		width: 50px;
		height: 50px;
		font-size: 24px;
	}
	
	.stat-card-value {
		font-size: 22px;
	}
	
	.quick-link-icon {
		width: 60px;
		height: 60px;
		font-size: 28px;
	}
	
	.quick-link-count {
		font-size: 28px;
	}
}

/* Animation */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.stat-card,
.modern-card,
.quick-link-card {
	animation: fadeInUp 0.5s ease-out;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }
.stat-card:nth-child(5) { animation-delay: 0.5s; }
.stat-card:nth-child(6) { animation-delay: 0.6s; }

/* ==========================================================
   CALENDAR / OPTIONS PANEL — LAODERM THEME
   ========================================================== */

/* Fix "Options" vertical text bug — force horizontal display */
.card-header.with-border {
	display: block;
	width: 100%;
	padding: 14px 18px;
	background: linear-gradient(135deg, #A07E1A 0%, #C59B27 100%);
	border-radius: 10px 10px 0 0;
	border-bottom: none;
}

.card-header.with-border h3.box-title {
	display: block;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 15px;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

/* Options panel card */
#list_group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 6px 0;
}

#list_group .btn-default.calendar-options {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	text-align: left;
	padding: 10px 14px;
	border-radius: 8px;
	border: 1px solid rgba(197,155,39,0.15);
	background: #fafafa;
	color: #444;
	font-size: 13.5px;
	font-weight: 500;
	transition: all 0.25s ease;
	white-space: nowrap;
}

#list_group .btn-default.calendar-options:hover,
#list_group .btn-default.calendar-options:focus {
	background: linear-gradient(135deg, #A07E1A 0%, #C59B27 100%);
	color: #ffffff;
	border-color: transparent;
	box-shadow: 0 4px 12px rgba(197,155,39,0.3);
	transform: translateX(3px);
}

#list_group .btn-default.calendar-options i {
	font-size: 16px;
	width: 20px;
	text-align: center;
	flex-shrink: 0;
}

/* Calendar card */
.card {
	border-radius: 12px;
	border: 1px solid rgba(197,155,39,0.1);
	box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

/* FullCalendar gold theme overrides */
.fc-button-primary {
	background-color: #C59B27 !important;
	border-color: #A07E1A !important;
}

.fc-button-primary:hover,
.fc-button-primary:focus {
	background-color: #A07E1A !important;
	border-color: #8B6914 !important;
}

.fc-button-primary:not(:disabled).fc-button-active,
.fc-button-primary:not(:disabled):active {
	background-color: #8B6914 !important;
	border-color: #6b4f0a !important;
}

.fc-daygrid-day.fc-day-today {
	background-color: rgba(197,155,39,0.08) !important;
}

.fc-event {
	border-radius: 4px;
}

/* ==========================================================
   NAVBAR & SIDEBAR — LAODERM THEME REFINEMENTS
   ========================================================== */

/* Top navbar gold accent */
nav.navbar {
	border-bottom: 2px solid rgba(197,155,39,0.25);
}

.navbar .btn-primary {
	background: linear-gradient(135deg, #A07E1A, #C59B27) !important;
	border-color: transparent !important;
	box-shadow: 0 2px 8px rgba(197,155,39,0.3);
}

/* Badge on nav icons */
.badge-danger {
	background-color: #dc3545;
}

/* ==========================================================
   GLOBAL TEXT & BADGE FIXES
   ========================================================== */

.text-primary {
	color: #C59B27 !important;
}

/* Salary / deduction display in attendance table */
.modern-table .text-primary strong {
	color: #A07E1A !important;
}

/* Modal map header gold accent */
#locationMapModal .modal-header {
	background: linear-gradient(135deg, #A07E1A, #C59B27);
	color: #fff;
	border-radius: 5px 5px 0 0;
}

#locationMapModal .modal-header .close {
	color: #fff;
	opacity: 0.9;
}

#locationMapModal .modal-header .close:hover {
	opacity: 1;
}

/* DataTable buttons */
.dt-buttons .btn {
	background: #C59B27;
	border-color: #A07E1A;
	color: #fff;
}

.dt-buttons .btn:hover {
	background: #A07E1A;
	border-color: #8B6914;
}
