/**
* Template Name: NiceAdmin - v2.2.2
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  background: #f6f9ff;
  color: #444444;
}

a {
  color: #4154f1;
  text-decoration: none;
}

a:hover {
  color: #717ff5;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Nunito", sans-serif;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: 60px;
  padding: 20px 30px;
  transition: all 0.3s;
}
@media (max-width: 1199px) {
  #main {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  margin-bottom: 10px;
}
.pagetitle h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 600;
  color: #012970;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #4154f1;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}
.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}
.back-to-top:hover {
  background: #6776f4;
  color: #fff;
}
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
  border-radius: 4px;
  padding: 10px 0;
  -webkit-animation-name: dropdown-animate;
  animation-name: dropdown-animate;
  -webkit-animation-duration: 0.2s;
  animation-duration: 0.2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}
.dropdown-menu .dropdown-header, .dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}
.dropdown-menu .dropdown-footer a {
  color: #444444;
  text-decoration: underline;
}
.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}
.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}
.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}
.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}
.dropdown-menu .dropdown-item:hover {
  background-color: #f6f9ff;
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
  }
}
@-webkit-keyframes dropdown-animate {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
  0% {
    opacity: 0;
  }
}
@keyframes dropdown-animate {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
  0% {
    opacity: 0;
  }
}
/* Light Backgrounds */
.bg-primary-light {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
}

.bg-secondary-light {
  background-color: #e2e3e5;
  border-color: #e2e3e5;
}

.bg-success-light {
  background-color: #d1e7dd;
  border-color: #d1e7dd;
}

.bg-danger-light {
  background-color: #f8d7da;
  border-color: #f8d7da;
}

.bg-warning-light {
  background-color: #fff3cd;
  border-color: #fff3cd;
}

.bg-info-light {
  background-color: #cff4fc;
  border-color: #cff4fc;
}

.bg-dark-light {
  background-color: #d3d3d4;
  border-color: #d3d3d4;
}

/* Card */
.card {
  margin-bottom: 30px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header, .card-footer {
  border-color: #ebeef4;
  background-color: #fff;
  color: #798eb3;
  padding: 15px;
}

.card-title {
  padding: 20px 0 15px 0;
  font-size: 18px;
  font-weight: 500;
  color: #012970;
  font-family: "Poppins", sans-serif;
}
.card-title span {
  color: #899bbd;
  font-size: 14px;
  font-weight: 400;
}
.card-body {
  padding: 0 20px 20px 20px;
}

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
}

/* Close Button */
.btn-close {
  background-size: 25%;
}
.btn-close:focus {
  outline: 0;
  box-shadow: none;
}

/* Accordion */
.accordion-item {
  border: 1px solid #ebeef4;
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}
.accordion-button:not(.collapsed) {
  color: #012970;
  background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
  padding: 15px 0;
  background: none;
  border: 0;
}
.accordion-flush .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: #4154f1;
}
.accordion-flush .accordion-body {
  padding: 0 0 15px 0;
  color: #3e4f6f;
  font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  color: #899bbd;
  font-weight: 600;
}
.breadcrumb a {
  color: #899bbd;
  transition: 0.3s;
}
.breadcrumb a:hover {
  color: #51678f;
}
.breadcrumb .breadcrumb-item::before {
  color: #899bbd;
}
.breadcrumb .active {
  color: #51678f;
  font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid #ebeef4;
}
.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #2c384e;
}
.nav-tabs-bordered .nav-link:hover, .nav-tabs-bordered .nav-link:focus {
  color: #4154f1;
}
.nav-tabs-bordered .nav-link.active {
  background-color: #fff;
  color: #4154f1;
  border-bottom: 2px solid #4154f1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
  line-height: 1;
}
@media (min-width: 1200px) {
  .logo {
    width: 280px;
  }
}
.logo img {
  /* max-height: 26px; */
  margin-right: 6px;
}
.logo span {
  font-size: 26px;
  font-weight: 700;
  color: #012970;
  font-family: "Nunito", sans-serif;
}

.header {
  transition: all 0.5s;
  z-index: 997;
  height: 60px;
  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
  padding-left: 20px;
  /* Toggle Sidebar Button */
  /* Search Bar */
}
.header .toggle-sidebar-btn {
  font-size: 32px;
  padding-left: 10px;
  cursor: pointer;
  color: #012970;
}
.header .search-bar {
  min-width: 360px;
  padding: 0 20px;
}
@media (max-width: 1199px) {
  .header .search-bar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
    background: white;
    z-index: 9999;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
  }
  .header .search-bar-show {
    top: 60px;
    visibility: visible;
    opacity: 1;
  }
}
.header .search-form {
  width: 100%;
}
.header .search-form input {
  border: 0;
  font-size: 14px;
  color: #012970;
  border: 1px solid rgba(1, 41, 112, 0.2);
  padding: 7px 38px 7px 8px;
  border-radius: 3px;
  transition: 0.3s;
  width: 100%;
}
.header .search-form input:focus, .header .search-form input:hover {
  outline: none;
  box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
  border: 1px solid rgba(1, 41, 112, 0.3);
}
.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}
.header .search-form button i {
  color: #012970;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}
.header-nav > ul {
  margin: 0;
  padding: 0;
}
.header-nav .nav-icon {
  font-size: 20px;
  color: #012970;
}
.header-nav .nav-profile {
  color: #012970;
}
.header-nav .nav-profile img {
  max-height: 36px;
}
.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
}
.header-nav .badge-number {
  position: absolute;
  inset: 4px 6px auto auto;
  font-weight: normal;
  font-size: 11px;
  padding: 3px 6px;
}
.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
}
.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}
.header-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}
.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}
.header-nav .notifications .notification-item:hover {
  background-color: #f6f9ff;
}
.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}
.header-nav .messages .message-item a {
  display: flex;
}
.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}
.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444444;
}
.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}
.header-nav .messages .message-item:hover {
  background-color: #f6f9ff;
}
.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
}
.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: #444444;
}
.header-nav .profile .dropdown-header span {
  font-size: 14px;
}
.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}
.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}
.header-nav .profile .dropdown-item:hover {
  background-color: #f6f9ff;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 996;
  transition: all 0.3s;
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #aab7cf transparent;
  box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
}
@media (max-width: 1199px) {
  .sidebar {
    left: -300px;
  }
}
.sidebar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #fff;
}
.sidebar::-webkit-scrollbar-thumb {
  background-color: #aab7cf;
}

@media (min-width: 1200px) {
  #main, #footer {
    margin-left: 300px;
  }
}
@media (max-width: 1199px) {
  .toggle-sidebar .sidebar {
    left: 0;
  }
}
@media (min-width: 1200px) {
  .toggle-sidebar #main, .toggle-sidebar #footer {
    margin-left: 0;
  }
  .toggle-sidebar .sidebar {
    left: -300px;
  }
}

.sidebar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}
.sidebar-nav li {
  padding: 0;
  margin: 0;
  list-style: none;
}
.sidebar-nav .nav-item {
  margin-bottom: 5px;
}
.sidebar-nav .nav-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: #899bbd;
  font-weight: 600;
  margin: 10px 0 5px 15px;
}
.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #D52717;
  transition: 0.3;
  background: #f6f9ff;
  padding: 10px 15px;
  border-radius: 4px;
}
.sidebar-nav .nav-link i {
  font-size: 16px;
  margin-right: 10px;
  color: #D52717;
}
.sidebar-nav .nav-link.collapsed {
  color: #012970;
  background: #fff;
}
.sidebar-nav .nav-link.collapsed i {
  color: #899bbd;
}
.sidebar-nav .nav-link:hover {
  color: #4154f1;
  background: #f6f9ff;
}
.sidebar-nav .nav-link:hover i {
  color: #4154f1;
}
.sidebar-nav .nav-link .bi-chevron-down {
  margin-right: 0;
  transition: transform 0.2s ease-in-out;
}
.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}
.sidebar-nav .nav-content {
  padding: 5px 0 0 0;
  margin: 0;
  list-style: none;
}
.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #012970;
  transition: 0.3;
  padding: 10px 0 10px 40px;
  transition: 0.3s;
}
.sidebar-nav .nav-content a i {
  font-size: 6px;
  margin-right: 8px;
  line-height: 0;
  border-radius: 50%;
}
.sidebar-nav .nav-content a:hover, .sidebar-nav .nav-content a.active {
  color: #D52717;
}
.sidebar-nav .nav-content a.active i {
  background-color: #D52717;
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
  position: absolute;
  right: 0px;
  top: 15px;
}
.dashboard .filter .icon {
  color: #aab7cf;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  font-size: 16px;
}
.dashboard .filter .icon:hover, .dashboard .filter .icon:focus {
  color: #4154f1;
}
.dashboard .filter .dropdown-header {
  padding: 8px 15px;
}
.dashboard .filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #aab7cf;
  margin-bottom: 0;
  padding: 0;
}
.dashboard .filter .dropdown-item {
  padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
  padding-bottom: 10px;
}
.dashboard .info-card h6 {
  font-size: 28px;
  color: #012970;
  font-weight: 700;
  margin: 0;
  padding: 0;
}
.dashboard .card-icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
}
.dashboard .sales-card .card-icon {
  color: #4154f1;
  background: #f6f6fe;
}
.dashboard .revenue-card .card-icon {
  color: #2eca6a;
  background: #e0f8e9;
}
.dashboard .customers-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}
.dashboard .sales-card2 .card-icon {
  color: #d2e627;
  background: #fffafa;
}
.dashboard .revenue-card2 .card-icon {
  color: #f34aeb;
  background: #f5eff5;
}
.dashboard .customers-card2 .card-icon {
  color: #8642f1;
  background: #f2f1f5;
}

/* Activity */
.dashboard .activity {
  font-size: 14px;
}
.dashboard .activity .activity-item .activite-label {
  color: #888;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 64px;
}
.dashboard .activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: #eceefe;
}
.dashboard .activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 11px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #fff;
  flex-grow: 0;
}
.dashboard .activity .activity-item .activity-content {
  padding-left: 10px;
  padding-bottom: 20px;
}
.dashboard .activity .activity-item:first-child .activite-label::before {
  top: 5px;
}
.dashboard .activity .activity-item:last-child .activity-content {
  padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item + .post-item {
  margin-top: 15px;
}
.dashboard .news img {
  width: 80px;
  float: left;
  border-radius: 5px;
}
.dashboard .news h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
  margin-bottom: 5px;
}
.dashboard .news h4 a {
  color: #012970;
  transition: 0.3s;
}
.dashboard .news h4 a:hover {
  color: #4154f1;
}
.dashboard .news p {
  font-size: 14px;
  color: #777777;
  margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
  font-size: 14px;
}
.dashboard .recent-sales .table thead {
  background: #f6f6fe;
}
.dashboard .recent-sales .table thead th {
  border: 0;
}
.dashboard .recent-sales .dataTable-top {
  padding: 0 0 10px 0;
}
.dashboard .recent-sales .dataTable-bottom {
  padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
  font-size: 14px;
}
.dashboard .top-selling .table thead {
  background: #f6f6fe;
}
.dashboard .top-selling .table thead th {
  border: 0;
}
.dashboard .top-selling .table tbody td {
  vertical-align: middle;
}
.dashboard .top-selling img {
  border-radius: 5px;
  max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding-top: 15px;
}
.iconslist .icon {
  background-color: #fff;
  border-radius: 0.25rem;
  text-align: center;
  color: #012970;
  padding: 15px 0;
}
.iconslist i {
  margin: 0.25rem;
  font-size: 2.5rem;
}
.iconslist .label {
  font-family: var(--bs-font-monospace);
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
  max-width: 120px;
}
.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin: 10px 0 0 0;
}
.profile .profile-card h3 {
  font-size: 18px;
}
.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}
.profile .profile-card .social-links a:hover {
  color: #012970;
}
.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}
.profile .profile-overview .card-title {
  color: #012970;
}
.profile .profile-overview .label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}
.profile .profile-edit label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}
.profile .profile-edit img {
  max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
  font-size: 18px;
  font-weight: 600;
  color: #4154f1;
}
.faq .basic p {
  color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  padding: 28px 30px;
}
.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: #4154f1;
}
.contact .info-box h3 {
  font-size: 20px;
  color: #012970;
  font-weight: 700;
  margin: 20px 0 10px 0;
}
.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}
.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}
.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}
.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}
.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}
.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 0;
}
.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
  border-color: #4154f1;
}
.contact .php-email-form input {
  padding: 10px 15px;
}
.contact .php-email-form textarea {
  padding: 12px 15px;
}
.contact .php-email-form button[type=submit] {
  background: #4154f1;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}
.contact .php-email-form button[type=submit]:hover {
  background: #5969f3;
}
@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
  padding: 30px;
}
.error-404 h1 {
  font-size: 180px;
  font-weight: 700;
  color: #4154f1;
  margin-bottom: 0;
  line-height: 150px;
}
.error-404 h2 {
  font-size: 24px;
  font-weight: 700;
  color: #012970;
  margin-bottom: 30px;
}
.error-404 .btn {
  background: #51678f;
  color: #fff;
  padding: 8px 30px;
}
.error-404 .btn:hover {
  background: #3e4f6f;
}
@media (min-width: 992px) {
  .error-404 img {
    max-width: 50%;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 20px 0;
  font-size: 14px;
  transition: all 0.3s;
  border-top: 1px solid #cddfff;
}
.footer .copyright {
  text-align: center;
  color: #012970;
}
.footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #012970;
}




/*------------------- serach fields ------ */
/* src/assets/styles/forms.scss */

/* Modern Form Components - Global Styling */
.modern-filter-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  margin-bottom: 1.5rem;
  overflow: hidden;
  width: 100%;
}

/* Header Styling */
.modern-header {
  background: linear-gradient(135deg, #556a49 0%, #274222 100%);
  border-bottom: none;
  padding: 1.25rem 1.5rem;
  width: 100%;
}


.header-content {
  display: flex;
  align-items: center;
  width: 100%;
}

.title-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.title-section i {
  font-size: 1.25rem;
  color: white;
}

.modern-title {
  color: white;
  margin: 0;
  font-weight: 600;
  font-size: 1.25rem;
  width: 100%;
}

/* Body Styling */
.modern-body {
  padding: 1.5rem;
  width: 100%;
}

/* Filter Controls */
.filter-controls {
  width: 100%;
}

/* Four Column Layout */
.filter-row.four-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  margin-bottom: 1rem;
}

/* Input Group Styling - FIXED */
.modern-input-group {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  margin-bottom: 0;
}

.modern-label {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #495057;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  width: 100%;
}

.modern-label i {
  color: #667eea;
}

/* CRITICAL FIXES for form controls */
input.form-control.modern-input,
select.form-select.modern-select,
.form-control.modern-input,
.form-select.modern-select {
  border: 1px solid #e9ecef !important;
  border-radius: 0 0 8px 8px !important;
  padding: 0.75rem !important;
  font-size: 0.875rem !important;
  transition: all 0.2s ease !important;
  background: white !important;
  height: 48px !important;
  width: 100% !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
  line-height: 1.5 !important;
  color: #495057 !important;
  display: block !important;
}

/* Remove Bootstrap's default focus styles */
input.form-control.modern-input:focus,
select.form-select.modern-select:focus,
.form-control.modern-input:focus,
.form-select.modern-select:focus {
  border-color: #667eea !important;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
  outline: none !important;
}

input.form-control.modern-input:hover,
select.form-select.modern-select:hover,
.form-control.modern-input:hover,
.form-select.modern-select:hover {
  border-color: #adb5bd !important;
}

/* Fix for date inputs specifically */
input[type="date"].form-control.modern-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Error Message Styling */
.error-message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  width: 100%;
  animation: slideDown 0.3s ease-out;
}

.error-message i {
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* Button Row */
.button-row {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 0.5rem;
}

/* Search Button Styling */
.btn.modern-search-btn {
  background: linear-gradient(135deg, #a6ea66 0%, #57a24b 100%) !important;
  border: none !important;
  color: white !important;
  padding: 0.75rem 2rem !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  transition: all 0.3s ease !important;
  height: 48px !important;
  min-width: 180px !important;
  cursor: pointer !important;
  font-family: inherit !important;
}

.btn.modern-search-btn:hover:not(:disabled) {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(111, 234, 102, 0.3) !important;
}

.btn.modern-search-btn:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

/* Fix Bootstrap input group issues */
.input-group.modern-input-group {
  flex-direction: column;
  align-items: stretch;
  position: relative;
  width: 100%;
}

.input-group.modern-input-group .input-group-text {
  border-radius: 8px 8px 0 0 !important;
  border-bottom: none !important;
  background: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
  padding: 0.5rem 0.75rem !important;
}

.input-group.modern-input-group .form-control {
  border-radius: 0 0 8px 8px !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .filter-row.four-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .modern-body {
    padding: 1rem;
  }

  .modern-header {
    padding: 1rem;
  }

  .modern-title {
    font-size: 1.125rem;
  }

  .filter-row.four-columns {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .button-row {
    justify-content: center;
  }

  .btn.modern-search-btn {
    width: 100%;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .modern-filter-card {
    border-radius: 8px;
    margin-bottom: 1rem;
  }

  .modern-body {
    padding: 0.75rem;
  }

  .error-message {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
  }
}

/* Animations */
.modern-filter-card {
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/************* Stats card design ******************/
.attendance-summary {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.attendance-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.attendance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.attendance-card.success::before {
  background: linear-gradient(90deg, #28a745, #20c997);
}

.attendance-card.warning::before {
  background: linear-gradient(90deg, #ffc107, #fd7e14);
}

.attendance-card.danger::before {
  background: linear-gradient(90deg, #dc3545, #e83e8c);
}

.attendance-card.info::before {
  background: linear-gradient(90deg, #17a2b8, #6f42c1);
}

.attendance-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  opacity: 0.8;
}

.attendance-card.success .card-icon {
  color: #28a745;
}

.attendance-card.warning .card-icon {
  color: #ffc107;
}

.attendance-card.danger .card-icon {
  color: #dc3545;
}

.attendance-card.info .card-icon {
  color: #17a2b8;
}

.card-content .count {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #2c3e50, #3498db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-content .label {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.progress {
  height: 6px;
  border-radius: 3px;
  background-color: #f8f9fa;
  overflow: hidden;
}

.progress-bar {
  border-radius: 3px;
  transition: width 0.8s ease-in-out;
}

.circular-progress {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 0;
  position: relative;
}

.circular-progress::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
}

.progress-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: #17a2b8;
  position: relative;
  z-index: 1;
}

.summary-stats {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.stat-item {
  text-align: center;
  color: #737170;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  display: block;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 1.2rem;
  display: block;
}

.status-badge {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-excellent {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
  border: 1px solid #28a745;
}

.status-good {
  background: rgba(23, 162, 184, 0.2);
  color: #17a2b8;
  border: 1px solid #17a2b8;
}

.status-poor {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid #ffc107;
}

.status-critical {
  background: rgba(220, 53, 69, 0.2);
  color: #dc3545;
  border: 1px solid #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
  .attendance-card {
    padding: 16px;
  }

  .card-content .count {
    font-size: 2rem;
  }

  .summary-stats {
    flex-direction: column;
    gap: 10px;
  }

  .stat-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

/****************************************************** Stock card styling ******************************/
/* Stock Dashboard Styles */
.stock-dashboard {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.stock-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.stock-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.stock-card.primary::before {
  background: linear-gradient(90deg, #007bff, #6610f2);
}

.stock-card.info::before {
  background: linear-gradient(90deg, #17a2b8, #6f42c1);
}

.stock-card.success::before {
  background: linear-gradient(90deg, #28a745, #20c997);
}

.stock-card.utilization-low::before {
  background: linear-gradient(90deg, #28a745, #20c997);
}

.stock-card.utilization-medium::before {
  background: linear-gradient(90deg, #ffc107, #fd7e14);
}

.stock-card.utilization-high::before {
  background: linear-gradient(90deg, #fd7e14, #dc3545);
}

.stock-card.utilization-critical::before {
  background: linear-gradient(90deg, #dc3545, #e83e8c);
}

.stock-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Statistics Sections */
.statistics-section {
  background: white;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f8f9fa;
}

.section-header i {
  font-size: 1.5rem;
  color: #6c757d;
}

.section-header h4 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
}

/* Statistics List */
.statistics-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-item {
  display: flex;
  justify-content: between;
  align-items: center;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: #e9ecef;
  transform: translateX(4px);
}

.stat-info h6 {
  margin: 0 0 8px 0;
  font-weight: 600;
  color: #2c3e50;
}

.stat-details {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
}

.stat-details span {
  color: #6c757d;
}

.stat-utilization {
  min-width: 80px;
  text-align: right;
}

.utilization-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.utilization-bar .progress {
  width: 80px;
  height: 6px;
}

.utilization-bar small {
  font-size: 0.75rem;
  color: #6c757d;
  font-weight: 600;
}

/* Capacity Info */
.capacity-info {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e9ecef;
}

.capacity-info > div {
  margin-bottom: 4px;
}

/* Status Badge */
.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.utilization-low {
  background: rgba(40, 167, 69, 0.15);
  color: #28a745;
  border: 1px solid #28a745;
}

.status-badge.utilization-medium {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
  border: 1px solid #ffc107;
}

.status-badge.utilization-high {
  background: rgba(253, 126, 20, 0.15);
  color: #fd7e14;
  border: 1px solid #fd7e14;
}

.status-badge.utilization-critical {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
  border: 1px solid #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
  .stat-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .stat-utilization {
    width: 100%;
    text-align: left;
  }

  .utilization-bar {
    align-items: flex-start;
  }
}

/* View More Section Styles */
.view-more-section {
  text-align: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e9ecef;
}

.view-more-btn {
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.view-more-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Smooth animations for expanding/collapsing */
.statistics-list {
  transition: all 0.3s ease;
}

.stat-item {
  animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced statistics section for better scrolling */
.statistics-section {
  max-height: 500px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.statistics-section.expanded {
  max-height: 800px;
}

/* Better spacing for view more section */
.view-more-section {
  background: linear-gradient(transparent, #f8f9fa);
  margin: 0 -20px -20px -20px;
  padding: 20px 20px 20px 20px;
  border-radius: 0 0 12px 12px;
}

.statistics-header {
  background: linear-gradient(135deg, #254e1d 0%, #4ba24c 100%);
  border: none;
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: visible;
  z-index: 1050;

}

.statistics-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.05)"><polygon points="0,0 1000,50 1000,100 0,100"/></svg>');
  background-size: cover;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.title-section {
  flex: 1;
}

/* Title with icon layout */
.title-with-icon {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* Stock Icon with Glass Background - WITH HOVER ANIMATION */
.stock-icon {
  font-size: 30px!important;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 1.3rem;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

/* Shine effect on hover - RESTORED */
.stock-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.7s ease;
  border-radius: 20px;
  z-index: 1;
}

.stock-icon:hover::after {
  left: 100%;
}

.stock-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* Floating animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .stock-icon {
    font-size: 2.5rem;
    padding: 1.2rem;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .stock-icon {
    font-size: 2rem;
    padding: 1rem;
    border-radius: 14px;
  }
}

.title-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.page-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  font-size: 2.5rem;
  font-weight: 600;
}

.title-text {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.title-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Subtitle positioned below the title */
.page-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  padding-left: 0.25rem;
}

/* Header Actions */
.text-end {
  display: flex;
  align-items: center;
}

.modern-search-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modern-search-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  color: white;
}

.modern-search-btn:active {
  transform: translateY(0);
}

/* Animation Effects */
.modern-search-btn {
  position: relative;
  overflow: hidden;
}

.modern-search-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.modern-search-btn:hover::before {
  left: 100%;
}

.modern-search-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modern-search-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  color: white;
}

.modern-search-btn:active {
  transform: translateY(0);
}

/* Export Animation Effects */

.modern-export-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modern-export-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  color: white;
}

.modern-export-btn:active {
  transform: translateY(0);
}
.modern-export-btn {
  position: relative;
  overflow: hidden;
}

.modern-export-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.modern-export-btn:hover::before {
  left: 100%;
}

/* Glass morphism effect */
.statistics-header,
.title-badge,
.modern-export-btn {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .statistics-header {
    padding: 1.5rem;
  }

  .header-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .title-with-icon {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .stock-icon {
    font-size: 2.5rem;
    margin-top: 0;
  }

  .page-title {
    font-size: 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .page-subtitle {
    font-size: 1.1rem;
    padding-left: 0;
  }

  .text-end {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .statistics-header {
    padding: 1rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .stock-icon {
    font-size: 2rem;
  }

  .modern-export-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }
}

/* Floating animation for icon */
.stock-icon {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/************ Compliant Sites *****************************/
/* Modern Card Styles */
.modern-card {
  border: none;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  background: white;
  overflow: hidden;
}

.modern-card-header {
  background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
  color: white;
  border: none;
  padding: 1.5rem 2rem;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-icon {
  font-size: 2rem;
  opacity: 0.9;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.card-subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

/* Stat Cards */
.stat-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-left: 4px solid;
  transition: all 0.3s ease;
}

.stat-card.danger {
  border-left-color: #dc3545;
}

.stat-card.warning {
  border-left-color: #ffc107;
}

.stat-card.info {
  border-left-color: #17a2b8;
}

.stat-card.status-excellent {
  border-left-color: #28a745;
}

.stat-card.status-good {
  border-left-color: #20c997;
}

.stat-card.status-warning {
  border-left-color: #ffc107;
}

.stat-card.status-critical {
  border-left-color: #dc3545;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.stat-card.danger .stat-icon {
  color: #dc3545;
}

.stat-card.warning .stat-icon {
  color: #ffc107;
}

.stat-card.info .stat-icon {
  color: #17a2b8;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: #2c3e50;
}

.stat-label {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0;
}

/* Site Cards */
.site-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.site-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/*.site-card.compliant-low {
  border-left: 4px solid #dc3545;
}

.site-card.compliant-medium {
  border-left: 4px solid #ffc107;
}

.site-card.compliant-high {
  border-left: 4px solid #28a745;
}*/
.site-card.compliant-low {
  border-left: 4px solid #6c757d;
}

.site-card.compliant-medium {
  border-left: 4px solid #6c757d;
}

.site-card.compliant-high {
  border-left: 4px solid #6c757d;
}

.site-card.compliance-unknown {
  border-left: 4px solid #6c757d;
}

.site-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
}

.site-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.site-info {
  flex: 1;
}

.site-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 0.25rem 0;
}

.site-id {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
}

.compliance-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
}

/*.compliance-indicator.compliant-high {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.compliance-indicator.compliant-medium {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.compliance-indicator.compliant-low {
  background: linear-gradient(135deg, #dc3545, #e83e8c);
}*/
.compliance-indicator.compliant-high {
  background: linear-gradient(135deg, #6c757d, #adb5bd);

}

.compliance-indicator.compliant-medium {
  background: linear-gradient(135deg, #6c757d, #adb5bd);

}

.compliance-indicator.compliant-low {
  background: linear-gradient(135deg, #6c757d, #adb5bd);

}

.compliance-indicator.compliance-unknown {
  background: linear-gradient(135deg, #6c757d, #adb5bd);
}

.site-card-body {
  padding: 0 1.5rem 1rem 1.5rem;
}

.compliance-description {
  color: #495057;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.compliance-details {
  border-top: 1px solid #f8f9fa;
  padding-top: 1rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.detail-label {
  font-size: 0.85rem;
  color: #6c757d;
}

.detail-value {
  font-size: 0.85rem;
  font-weight: 600;
}

.detail-value.compliant-high {
  color: #28a745;
}

.detail-value.compliant-medium {
  color: #ffc107;
}

.detail-value.compliant-low {
  color: #dc3545;
}

.priority-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.5rem;
}

.priority-dot.compliant-high {
  background: #28a745;
}

.priority-dot.compliant-medium {
  background: #ffc107;
}

.priority-dot.compliant-low {
  background: #dc3545;
}

.site-card-footer {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid #f8f9fa;
}

.site-card-footer .btn {
  flex: 1;
  border-radius: 8px;
  font-size: 0.8rem;
}

/* Progress and Charts */
.circular-progress-mini {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Status Badges */
.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.status-excellent {
  background: rgba(40, 167, 69, 0.15);
  color: #28a745;
  border: 1px solid #28a745;
}

.status-badge.status-good {
  background: rgba(32, 201, 151, 0.15);
  color: #20c997;
  border: 1px solid #20c997;
}

.status-badge.status-warning {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
  border: 1px solid #ffc107;
}

.status-badge.status-critical {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
  border: 1px solid #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .title-section {
    flex-direction: column;
    text-align: center;
  }

  .site-card-header {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .site-card-footer {
    flex-direction: column;
  }
}

/****************Cash Up Compliance ******************/
/* Cash-up Cards */
.cashup-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.cashup-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.cashup-card.primary::before {
  background: linear-gradient(90deg, #007bff, #6610f2);
}

.cashup-card.success::before {
  background: linear-gradient(90deg, #28a745, #20c997);
}

.cashup-card.warning::before {
  background: linear-gradient(90deg, #ffc107, #fd7e14);
}

.cashup-card.danger::before {
  background: linear-gradient(90deg, #dc3545, #e83e8c);
}

.cashup-card.info::before {
  background: linear-gradient(90deg, #17a2b8, #6f42c1);
}

.cashup-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Performance Cards */
.performance-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  height: 100%;
}

.performance-card.info {
  border-left: 4px solid #17a2b8;
}

.performance-card.success {
  border-left: 4px solid #28a745;
}

.performance-card.status-excellent {
  border-left: 4px solid #28a745;
}

.performance-card.status-good {
  border-left: 4px solid #20c997;
}

.performance-card.status-warning {
  border-left: 4px solid #ffc107;
}

.performance-card.status-critical {
  border-left: 4px solid #dc3545;
}

.performance-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.performance-header i {
  font-size: 1.5rem;
  color: #6c757d;
}

.performance-header h6 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
}

.performance-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.circular-progress-large {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.circular-progress-large::before {
  content: '';
  position: absolute;
  width: 84px;
  height: 84px;
  background: white;
  border-radius: 50%;
}

.progress-text-large {
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.performance-stats {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f8f9fa;
}

.stat:last-child {
  border-bottom: none;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
}

.stat-label {
  font-size: 0.8rem;
  color: #6c757d;
}

/* Status Overview */
.status-overview {
  text-align: center;
  width: 100%;
}

.status-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.status-excellent .status-icon {
  color: #28a745;
}

.status-good .status-icon {
  color: #20c997;
}

.status-warning .status-icon {
  color: #ffc107;
}

.status-critical .status-icon {
  color: #dc3545;
}

.status-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.status-description {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.status-badge-large {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge-large.status-excellent {
  background: rgba(40, 167, 69, 0.15);
  color: #28a745;
  border: 1px solid #28a745;
}

.status-badge-large.status-good {
  background: rgba(32, 201, 151, 0.15);
  color: #20c997;
  border: 1px solid #20c997;
}

.status-badge-large.status-warning {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
  border: 1px solid #ffc107;
}

.status-badge-large.status-critical {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
  border: 1px solid #dc3545;
}

/* Enhanced Summary Stats */
.summary-stats-enhanced {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 16px;
  padding: 1.5rem;
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.summary-header h6 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.stat-item-enhanced {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stat-item-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-icon-enhanced {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
}

.stat-icon-enhanced.success {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.stat-icon-enhanced.warning {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.stat-icon-enhanced.danger {
  background: linear-gradient(135deg, #dc3545, #e83e8c);
}

.stat-icon-enhanced.primary {
  background: linear-gradient(135deg, #007bff, #6610f2);
}

.stat-info-enhanced {
  display: flex;
  flex-direction: column;
}

.stat-value-enhanced {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
}

.stat-label-enhanced {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .performance-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item-enhanced {
    justify-content: center;
    text-align: center;
  }
}

/*****************Revenue Cards 8***************************/
/* Currency Cards */
.currency-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.currency-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.currency-card.currency-primary::before {
  background: linear-gradient(90deg, #007bff, #6610f2);
}

.currency-card.currency-success::before {
  background: linear-gradient(90deg, #28a745, #20c997);
}

.currency-card.currency-warning::before {
  background: linear-gradient(90deg, #ffc107, #fd7e14);
}

.currency-card.currency-info::before {
  background: linear-gradient(90deg, #17a2b8, #6f42c1);
}

.currency-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Currency Card Header */
.currency-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.currency-icon-container {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.currency-primary .currency-icon-container {
  background: linear-gradient(135deg, #007bff, #6610f2);
}

.currency-success .currency-icon-container {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.currency-warning .currency-icon-container {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.currency-info .currency-icon-container {
  background: linear-gradient(135deg, #17a2b8, #6f42c1);
}

.currency-info {
  flex: 1;
}

.currency-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 0.25rem 0;
}

.currency-code-badge {
  background: rgba(108, 117, 125, 0.1);
  color: #6c757d;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.currency-performance {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.currency-performance.status-excellent {
  background: rgba(40, 167, 69, 0.15);
  color: #28a745;
  border: 1px solid #28a745;
}

.currency-performance.status-good {
  background: rgba(32, 201, 151, 0.15);
  color: #20c997;
  border: 1px solid #20c997;
}

.currency-performance.status-average {
  background: rgba(23, 162, 184, 0.15);
  color: #17a2b8;
  border: 1px solid #17a2b8;
}

.currency-performance.status-warning {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
  border: 1px solid #ffc107;
}

/* Revenue Breakdown */
.revenue-breakdown {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.revenue-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.revenue-item:hover {
  background: #e9ecef;
  transform: translateX(4px);
}

.revenue-period {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #495057;
}

.revenue-amount {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
}

.annual-revenue {
  font-size: 1.1rem;
  font-weight: 700;
  color: #007bff;
}

.revenue-growth {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Progress Section */
.progress-section {
  margin-bottom: 1.5rem;
}

.progress-item {
  margin-bottom: 1rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #6c757d;
}

/* Quick Stats */
.quick-stats {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.stat-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #f8f9fa;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #495057;
}

/* Currency Card Footer */
.currency-card-footer {
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
}

.currency-card-footer .btn {
  flex: 1;
  border-radius: 8px;
  font-size: 0.8rem;
}

/********************************SOld Stock **************/
/* Sold Cards */
.sold-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.sold-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.sold-card.primary::before {
  background: linear-gradient(90deg, #007bff, #6610f2);
}

.sold-card.info::before {
  background: linear-gradient(90deg, #17a2b8, #6f42c1);
}

.sold-card.success::before {
  background: linear-gradient(90deg, #28a745, #20c997);
}

.sold-card.warning::before {
  background: linear-gradient(90deg, #ffc107, #fd7e14);
}

.sold-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Sold Meta */
.sold-meta {
  margin: 0.5rem 0;
}

.period-badge {
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Sold Stats */
.sold-stats {
  margin: 0.5rem 0;
}

.sold-stats .stat-item {
  font-size: 0.85rem;
  color: #6c757d;
}

/* Search Section */
.search-section {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
}

.search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.search-header h6 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

/* Performance Summary */
.performance-summary {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 16px;
  padding: 1.5rem;
}

.performance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.performance-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.performance-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
}

.performance-icon.primary {
  background: linear-gradient(135deg, #007bff, #6610f2);
}

.performance-icon.success {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.performance-icon.warning {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.performance-info {
  display: flex;
  flex-direction: column;
}

.performance-label {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
}

.performance-value {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
}

.performance-amount {
  font-size: 0.9rem;
  color: #28a745;
  font-weight: 600;
}

/* Status Classes for Sales */
.status-excellent {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.status-good {
  background: linear-gradient(135deg, #20c997, #17a2b8);
}

.status-medium {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.status-warning {
  background: linear-gradient(135deg, #fd7e14, #dc3545);
}

.status-critical {
  background: linear-gradient(135deg, #dc3545, #e83e8c);
}

/* Responsive Design */
@media (max-width: 768px) {
  .performance-grid {
    grid-template-columns: 1fr;
  }

  .search-header {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/****************************** Sales stats styling *************************/
/* Sales Performance Cards - Beautiful Design */
.sales-performance-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.sales-performance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  opacity: 0.8;
}

.sales-performance-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border-color: #cbd5e0;
}

/* Card Header */
.card-header-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
}

.month-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.month-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.month-icon i {
  font-size: 1.4rem;
  color: white;
}

.month-info h5 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a202c;
  line-height: 1.2;
  background: linear-gradient(135deg, #2d3748, #4a5568);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.year-text {
  font-size: 0.9rem;
  color: #718096;
  font-weight: 600;
}

.performance-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.performance-badge.status-exceeded {
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: white;
}

.performance-badge.status-excellent {
  background: linear-gradient(135deg, #4299e1, #3182ce);
  color: white;
}

.performance-badge.status-good {
  background: linear-gradient(135deg, #68d391, #48bb78);
  color: white;
}

.performance-badge.status-warning {
  background: linear-gradient(135deg, #f6ad55, #ed8936);
  color: white;
}

.performance-badge.status-critical {
  background: linear-gradient(135deg, #fc8181, #f56565);
  color: white;
}

/* Metrics Section */
.metrics-section {
  margin-bottom: 1.5rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.metric-item {
  background: white;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.metric-item:hover {
  transform: translateY(-2px);
  border-color: #e2e8f0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.metric-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: white;
}

.metric-item.target .metric-icon {
  background: linear-gradient(135deg, #fed7d7, #feb2b2);
}

.metric-item.actual .metric-icon {
  background: linear-gradient(135deg, #c6f6d5, #9ae6b4);
}

.metric-item.achievement .metric-icon {
  background: linear-gradient(135deg, #bee3f8, #90cdf4);
}

.metric-content {
  flex: 1;
}

.metric-label {
  display: block;
  font-size: 0.8rem;
  color: #718096;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.metric-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: #2d3748;
  line-height: 1.2;
}

.metric-unit {
  font-size: 0.8rem;
  color: #a0aec0;
  font-weight: 600;
  margin-left: 4px;
}

/* Achievement Circle */
.achievement-section {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.achievement-circle {
  position: relative;
}

.circle-progress {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.circle-inner {
  width: 90px;
  height: 90px;
  background: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.06);
}

.achievement-percent {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}

.achievement-label {
  font-size: 0.75rem;
  color: #718096;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Progress Section */
.progress-section {
  margin-bottom: 1.5rem;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.progress-label {
  font-size: 0.9rem;
  color: #718096;
  font-weight: 700;
}

.progress-value {
  font-size: 0.9rem;
  font-weight: 800;
  color: #2d3748;
}

.progress-bar-container {
  width: 100%;
}

.progress-bar-background {
  width: 100%;
  height: 10px;
  background: #f1f5f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.progress-bar-fill {
  height: 100%;
  border-radius: 12px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Variance Section */
.variance-section {
  margin-bottom: 1.5rem;
}

.variance-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1.25rem;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.variance-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.variance-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.variance-icon.positive {
  background: linear-gradient(135deg, #c6f6d5, #9ae6b4);
  color: #276749;
}

.variance-icon.negative {
  background: linear-gradient(135deg, #fed7d7, #feb2b2);
  color: #c53030;
}

.variance-content {
  flex: 1;
}

.variance-label {
  display: block;
  font-size: 0.85rem;
  color: #718096;
  font-weight: 700;
  margin-bottom: 4px;
}

.variance-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
}

/* Card Footer */
.card-footer-section {
  border-top: 1px solid #f1f5f9;
  padding-top: 1.25rem;
}

.summary-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.summary-item {
  text-align: center;
  flex: 1;
}

.summary-label {
  display: block;
  font-size: 0.8rem;
  color: #718096;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.summary-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: #2d3748;
}

.summary-divider {
  width: 1px;
  height: 35px;
  background: linear-gradient(to bottom, transparent, #e2e8f0, transparent);
}

/* Performance Colors */
.text-success { color: #38a169 !important; }
.text-primary { color: #3182ce !important; }
.text-info { color: #319795 !important; }
.text-warning { color: #dd6b20 !important; }
.text-danger { color: #e53e3e !important; }

.bg-success { background: #38a169 !important; }
.bg-primary { background: #3182ce !important; }
.bg-info { background: #319795 !important; }
.bg-warning { background: #dd6b20 !important; }
.bg-danger { background: #e53e3e !important; }

/* Grid Layout */
.sales-grid {
  margin-top: 1rem;
}

.statistics-section {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f7fafc;
}

.section-header i {
  font-size: 1.5rem;
  color: #667eea;
}

.section-header h4 {
  margin: 0;
  font-weight: 700;
  color: #2d3748;
  flex: 1;
}

/****************** Header drop down Menu ********************. */
.dropdown-menu {
  min-width: 150px !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  overflow: visible;
  position: absolute !important;
  z-index: 1050 !important;
}

.dropdown-item {
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: visible;
}

.dropdown-item:hover {
  background-color: #abaeb1;
  transform: translateX(5px);
}

.dropdown-item i {
  margin-right: 8px;
  overflow: visible;
}

/* Add hover effects */
.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 53, 69, 0.3) !important;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(108, 117, 125, 0.2) !important;
}

/* Smooth modal entrance */
.modal-content {
  animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.btn-close:hover {
  background-color: #f1f3f5 !important;
  border-color: #dee2e6 !important;
  transform: rotate(90deg);
  filter: invert(0.4) !important;
}
