@import 'https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap" rel="stylesheet';

:root {
  --dk-dark-text: #1a1a1a;
  --dk-text-white: #ffffff;
  --dk-gray-100: #F3F4F6;
  --dk-gray-200: #E5E7EB;
  --dk-gray-300: #D1D5DB;
  --dk-gray-400: #9CA3AF;
  --dk-gray-500: #6B7280;
  --dk-gray-600: #4B5563;
  --dk-gray-700: #374151;
  --dk-gray-800: #1F2937;
  --dk-gray-900: #111827;
  --dk-dark-bg: #313348;
  --dk-darker-bg: #2a2b3d;
  --navbar-bg-color: #6E35ED;
  --sidebar-bg-color: #252636;
  --bs-card-bg: #313348 !important;
  --bs-card-color: #ffffff;
  --sidebar-width: 250px;
  --hover-primary: #6a00ec;
  
  --primary-color: #6E36ED;
  --secondary-color: #D82D86;
  --accent-color: #FFCC00;
}

:root.light {
  --dk-text-white: #111827;
  --dk-input-text: #ffffff;
  --dk-gray-100: #FFFFFF;
  --dk-gray-200: #F3F4F6;
  --dk-gray-300: #E5E7EB;
  --dk-gray-400: #D1D5DB;
  --dk-gray-500: #9CA3AF;
  --dk-gray-600: #6B7280;
  --dk-gray-700: #4B5563;
  --dk-gray-800: #374151;
  --dk-gray-900: #1F2937;
  --dk-dark-bg: #FFFFFF;
  --dk-darker-bg: #F3F4F6;
  --navbar-bg-color: #6E35ED;
  --sidebar-bg-color: #6E35ED;
  --bs-table-bg: #ffffff !important;
  --bs-card-color: #ffffff;
  --sidebar-width: 250px;
  --secondary-color: #D82D86;
  --calendar-bg: #fff;
  --calendar-header-bg: #f3f4f6;
  --calendar-day-bg: #fff;
  --calendar-border: #d1d5db;
}

.light .calendar-wrapper .calendar {
  background-color: var(--calendar-bg);
  border-color: var(--calendar-border);
  color: var(--dk-text-white)
}
.light .calendar-wrapper .calendar-header {
  background-color: var(--calendar-header-bg);
}
.light .calendar-wrapper .calendar-day {
  background-color: var(--calendar-day-bg);
  border-color: var(--calendar-border);
}

.light .calendar-wrapper .calendar-day .content-item {
  background-color: var(--calendar-day-bg);
  color: var(--dk-text-white)
}

.table-dark {
  --bs-table-bg: #313348 !important;
}

.table-light {
  --bs-table-bg: #e2e2e2 !important;
}

.card-dark {
  background-color: var(--bs-card-bg);
}

.card-light {
  background-color: var(--bs-light-card-bg);
}

.card-dark .card-header {
  color: var(--dk-text-white) !important
}

.card-light .card-header {
  color: var(--dk-text-white) !important
}

.card:hover {
  opacity: 0.9
}

th,
td {
  text-align: center;
}

#sortable-table th {
  cursor: pointer;
  font-weight: 200;
  font-size: 13px;
}

table a i {
  font-size: 20px;
}

th.sorted-asc::after {
  content: " ↑";
}

th.sorted-desc::after {
  content: " ↓";
}

table tr {
  /* border-bottom: 1.5px !important; */
  border-color: rgb(106, 106, 106)
}

.color-yellow {
  color: #c0a300 !important;
}

.color-orange {
  color: #f6b337 !important;
}

.color-deep-orange {
  color: #ff8000 !important;
}

.color-blue {
  color: #007BFF !important;
}

.color-green {
  color: #28A745 !important;
}

.color-red {
  color: #DC3545 !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
  /* border-color: var(--primary-color) !important; */
}
.bg-grey {
  background-color: rgb(171, 171, 171);
}
.bg-dark-grey {
  background-color: #2e2e2e;
}

.border-primary {
  border-color: var(--primary-color) !important;
}

.bg-green td {
  background-color: rgba(71, 231, 56, 0.196);
}

.bg-yellow td {
  background-color: rgba(231, 208, 56, 0.196);
}

.bg-red td {
  background-color: rgba(231, 56, 56, 0.196);
}

.bg-purple td {
  background-color: rgb(88, 0, 129, 0.35);
}

.bg-blue td {
  background-color: rgba(28, 83, 236, 0.35);
}

.bg-custom-purple {
  background-color: rgb(88, 0, 129);
}
.badge.bg-darkslateblue {
  background-color: darkslateblue !important;
}
.bg-outline-primary {
  border: 1px solid var(--bs-primary);
  background-color: transparent;
  /* color: var(--bs-warning); */
}
.bg-outline-warning {
  border: 1px solid var(--bs-warning);
  background-color: transparent;
  /* color: var(--bs-warning); */
}
.bg-outline-info {
  border: 1px solid var(--bs-info);
  background-color: transparent;
  /* color: var(--bs-warning); */
}
.bg-outline-danger {
  border: 1px solid var(--bs-danger);
  background-color: transparent;
  /* color: var(--bs-warning); */
}
.bg-outline-success {
  border: 1px solid var(--bs-success);
  background-color: transparent;
  /* color: var(--bs-warning); */
}
.text-primary {
  color: var(--primary-color) !important;
}

/* Overwrite Bootstraps alert box styles */
.alert-danger {
  color: #842029 !important;
}

.alert-warning {
  color: #664d03 !important;
}

.alert-info {
  color: #055160 !important;
}

p.success {
  color: #28A745
}

p.error {
  color: #DC3545
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dk-darker-bg);
  font-size: .925rem;
  overflow: scroll
}

#wrapper {
  /* Start with no margin by default to prevent flash */
  margin-left: 0;
  transition: all .3s ease-in-out;
  /* Prevent layout shift on initial load */
  will-change: margin-left;
}

/* Initial state - no transition to prevent flash */
#wrapper.wrapper-initial {
  transition: none;
}

/* State when sidebar is open - content should have left margin */
#wrapper.sidebar-open {
  margin-left: var(--sidebar-width);
}

/* State when sidebar is hidden - content takes full width */
#wrapper.fullwidth {
  margin-left: 0;
}

a {
  text-decoration: none;
  /* color: rgb(255, 85, 55); */
  color: var(--accent-color);
  transition: all .3s ease-in-out;
}

.table-light a {
  color: rgb(227, 111, 3);
}

a:hover {
  text-decoration: none;
  color: rgb(106, 106, 106)
}

.hover-primary:hover a, .hover-primary:hover div{
  background-color: var(--hover-primary);
}

.hover-primary.selected div{
  background-color: var(--hover-primary);
}

p {
  color: var(--dk-text-white) !important
}

.light span {
  color: var(--dk-text-white);
}

ul.list-unstyled hr:not([size]) {
  height: 0.5px;
}

ul.list-unstyled hr {
  color: white;
  margin: .5rem 0;
  opacity: .15
}

input[type=checkbox].form-control {
  -webkit-appearance: auto !important;
  -moz-appearance: auto !important;
  appearance: auto !important;
  width: unset;
  display: inline;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #bdbdbd !important;
}

/* Fixes multiselect inputs overflowing outside the box */
.select2-selection__choice {
  display: inline-flex;
  align-items: center;
  margin: 2px;
  padding: 2px 5px;
  background-color: #e2e2e2;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  /* Prevents text wrapping within individual items */
  font-size: 12px;
}

.select2-selection {
  overflow: hidden;
  /* Ensures items stay within the boundaries */
}

.select2-container .select2-selection--single {
  height: auto !important;
}

.contract_form .select2-container .select2-selection--single {
  min-height: 38px;
}

.select2-container--default .select2-selection--multiple {
  min-height: 38px;
  /* height: auto; */
  /* overflow-y: auto; */
  /* max-height: 150px; */
}

.lead {
  color: #6c757d;
  font-size: 0.80em;
  margin-top: .3em;
  margin-bottom: 1em;
  display: block;
}

.lead-inline {
  color: #6c757d;
  font-size: 0.80em;
  margin-top: .3em;
  margin-bottom: 1em;
  display: inline-block;
}

.lead-error {
  color: #f70101;
  font-size: 0.80em;
  margin-top: .3em;
  margin-bottom: 1em;
  display: block;
}

.text-right {
  text-align: right;
}

.underline {
  border-bottom: .5px solid grey;
}

/** --------------------------------
 -- Sidebar
-------------------------------- */
.sidebar {
  background-color: var(--sidebar-bg-color);
  width: var(--sidebar-width);
  transition: all .3s ease-in-out;
  /* Start hidden by default to prevent flash */
  transform: translateX(-270px);
  z-index: 9999999;
  /* Prevent layout shift on initial load */
  will-change: transform;
}

/* Initial state - no transition to prevent flash */
.sidebar.sidebar-initial {
  transition: none;
}

/* Hidden state for sidebar */
.sidebar.sidebar-hidden {
  transform: translateX(-270px);
}

/* Visible state for sidebar */
.sidebar.show-sidebar {
  transform: translateX(0);
}

.sidebar .close-aside {
  position: absolute;
  top: 7px;
  right: 7px;
  cursor: pointer;
  color: #EEE;
}

.sidebar .sidebar-header {
  border-bottom: 1px solid #2a2b3c
}

.sidebar .sidebar-header h5 a {
  color: var(--dk-gray-300)
}

.sidebar .sidebar-header p {
  color: var(--dk-gray-400) !important;
  font-size: .825rem;
}

.sidebar .sidebar-header img {
  height: 65px;
  transition: all ease 0.5s;
}

.sidebar .sidebar-header img:hover {
  border-width: 0px !important;
}

.sidebar .search .form-control~i {
  color: #2b2f3a;
  right: 40px;
  top: 22px;
}

.sidebar>ul>li {
  padding: .7rem 1.05rem;
}

.sidebar ul>li>a {
  color: var(--dk-gray-400);
  text-decoration: none;
}

/* Start numbers */
.sidebar ul>li>a>.num {
  line-height: 0;
  border-radius: 3px;
  font-size: 14px;
  padding: 0px 5px
}

.sidebar ul>li>i {
  font-size: 18px;
  margin-right: .7rem;
  color: var(--dk-gray-500);
}

.sidebar ul>li.has-dropdown>a:after {
  content: '\eb3a';
  font-family: unicons-line;
  font-size: 1rem;
  line-height: 1.8;
  float: right;
  color: var(--dk-gray-500);
  transition: all .3s ease-in-out;
}

.sidebar ul .opened>a:after {
  transform: rotate(-90deg);
}

/* Start dropdown menu */
.sidebar ul .sidebar-dropdown {
  padding-top: 10px;
  padding-left: 30px;
  display: none;
}

.sidebar ul .sidebar-dropdown.active {
  display: block;
}

.sidebar ul .sidebar-dropdown>li>a {
  font-size: .85rem;
  padding: .5rem 0;
  display: block;
  color: rgb(215, 215, 215)
}

.sidebar ul .sidebar-dropdown>li>a:hover {
  color: rgb(177, 177, 177)
}

/* End dropdown menu */

/* Visible state for sidebar - this moves it into view */
.sidebar.show-sidebar {
  transform: translateX(0);
}

/* Ensure smooth transitions for sidebar state changes */
.sidebar:not(.sidebar-initial) {
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}

#wrapper:not(.wrapper-initial) {
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 767px) {
  .sidebar ul>li {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .sidebar .search {
    padding: 10px 0 10px 30px
  }
  
  /* On mobile, sidebar behavior is the same as desktop now */
  .sidebar.sidebar-hidden {
    transform: translateX(-270px);
  }
  
  .sidebar.show-sidebar {
    transform: translateX(0);
  }
}

/** --------------------------------
 -- welcome
-------------------------------- */
.welcome {
  color: var(--dk-gray-300);
}

.welcome .content {
  background-color: var(--dk-dark-bg);
}

.welcome p {
  color: var(--dk-gray-400);
}

/** --------------------------------
 -- Statistics
-------------------------------- */
.statistics {
  color: var(--dk-gray-200);
}

.statistics .box {
  background-color: var(--dk-dark-bg);
}

.light .statistics .box {
  color: var(--dk-text-white);
}

.statistics .box .gradient-circle {
  flex: 0 0 60px;           /* Fixed circle size, no stretching */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;            /* Flexbox for centering icon */
  align-items: center;
  justify-content: center;
  animation: simple-pulse 2s infinite;
}

.gradient-circle.pink {
  background: #ff5f6d; 
  box-shadow: 0 0 15px #ff5f6d;
}

.gradient-circle.red {
  background: #e50d1f; 
  box-shadow: 0 0 15px #e50d1f;
}

.gradient-circle.yellow {
  background: #eee015; 
  box-shadow: 0 0 15px #eee015;
}

.gradient-circle.blue {
  background: #0d63e5; 
  box-shadow: 0 0 15px #0d63e5;
}

.gradient-circle.green {
  background: #0de543; 
  box-shadow: 0 0 15px #0de543;
}

.gradient-circle.orange {
  background: #ff8c00;
  box-shadow: 0 0 15px #ff8c00;
}

.gradient-circle.purple {
  background: var(--primary-color);
  box-shadow: 0 0 15px var(--primary-color);
}

.gradient-circle.cyan {
  background: #00cfff;
  box-shadow: 0 0 15px #00cfff;
}

.gradient-circle.teal {
  background: #009688;
  box-shadow: 0 0 15px #009688;
}

.gradient-circle.magenta {
  background: #ff00ff;
  box-shadow: 0 0 15px #ff00ff;
}

.gradient-circle.lime {
  background: #cddc39;
  box-shadow: 0 0 15px #cddc39;
}

.gradient-circle.indigo {
  background: #3f51b5;
  box-shadow: 0 0 15px #3f51b5;
}

.statistics .box i {
  font-size: 1.5rem;        /* Scale icon via font-size, not container */
  color: white;
  line-height: 1;           /* Avoid distortion from inherited line-height */
  text-align: center;
}

/* Break the h3 value to next line if no space */
/* .statistics .box h3 {
  word-break: break-word;
  min-width: 0; 
} */

@media screen and (max-width: 600px) {
  .statistics .box i {
    line-height: 2.4;
  }
}

.statistics .box p {
  color: var(--dk-gray-400);
  line-height: 30px;
}

.statistics .box:hover {
  opacity: 0.9
}

/** --------------------------------
 -- Charts
-------------------------------- */
.charts .chart-container {
  background-color: var(--dk-dark-bg);
}

.charts .chart-container h3 {
  color: var(--dk-gray-400)
}




/** --------------------------------
 -- users
-------------------------------- */
.admins .box .admin {
  background-color: var(--dk-dark-bg);
}

.admins .box h3 {
  color: var(--dk-gray-300);
}

.admins .box p {
  color: var(--dk-gray-400)
}




/** --------------------------------
 -- statis
-------------------------------- */
.statis {
  color: var(--dk-gray-100);
}

.statis .box {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.statis .box h3:after {
  content: "";
  height: 2px;
  width: 70%;
  margin: auto;
  background-color: rgba(255, 255, 255, 0.12);
  display: block;
  margin-top: 10px;
}

.statis .box i {
  position: absolute;
  height: 70px;
  width: 70px;
  font-size: 22px;
  padding: 15px;
  top: -25px;
  left: -25px;
  background-color: rgba(255, 255, 255, 0.15);
  line-height: 60px;
  text-align: right;
  border-radius: 50%;
}

.logo-color,
.light .logo-color {
  color: var(--accent-color)
}

/** --------------------------------
 -- Please don't do that in real-world projects!
 -- overwrite Bootstrap variables instead.
-------------------------------- */

.navbar {
  background-color: var(--navbar-bg-color) !important;
  border: none !important;
}

.navbar .dropdown-menu {
  right: auto !important;
  left: 0 !important;
}

.navbar .navbar-nav>li>a {
  color: #EEE !important;
  line-height: 55px !important;
  padding: 0 10px !important;
}

.navbar .navbar-nav>li>a:focus,
.navbar .navbar-nav>li>a:hover {
  color: #EEE !important
}

.navbar .navbar-nav>.open>a,
.navbar .navbar-nav>.open>a:focus,
.navbar .navbar-nav>.open>a:hover {
  background-color: transparent !important;
  color: #FFF !important
}

.navbar .navbar-brand {
  color: #FFF !important;
  line-height: 55px !important;
  padding: 10px !important
}

.navbar .navbar-brand:focus,
.navbar .navbar-brand:hover {
  color: #FFF !important
}

.navbar>.container .navbar-brand,
.navbar>.container-fluid .navbar-brand {
  margin: 0 !important
}

@media (max-width: 767px) {
  .navbar>.container-fluid .navbar-brand {
    margin-left: 15px !important;
  }

  .navbar .navbar-nav>li>a {
    padding-left: 0 !important;
  }

  .navbar-nav {
    margin: 0 !important;
  }

  .navbar .navbar-collapse,
  .navbar .navbar-form {
    border: none !important;
  }
}

.navbar .navbar-nav>li>a {
  float: left !important;
}

.navbar .navbar-nav>li>a>span:not(.caret) {
  background-color: #e74c3c !important;
  border-radius: 50% !important;
  height: 20px !important;
  width: 20px !important;
  line-height: 20px !important;
  /* Center text vertically */
  text-align: center !important;
  /* Center text horizontally */
  font-size: 11px !important;
  color: #fff !important;
  /* Optional: Change text color for better visibility */
  display: inline-block !important;
  /* Ensure the span is treated as a block element */
  position: relative !important;
  top: -10px !important;
  left: 10px !important;
}


.dropdown-menu>li>a {
  padding-top: 5px !important;
  padding-right: 5px !important;
  text-align: right;
}

.navbar .navbar-nav>li>a>i {
  font-size: 18px !important;
}

a.nav-link.menu {
  color: white !important
}

/** --------------------------------
 -- Forms
-------------------------------- */
.form-group label {
  display: inline-block;
  margin-bottom: 10px;
  color: rgb(171, 171, 171);
  font-size: 13px;
}

/* .search input[type="text"], input[type="text"]:focus{
  color: var(--dk-input-text)
} */

.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.btn-primary:hover {
  background-color: #6a00ec !important;
  border-color: var(--primary-color) !important;
}

.btn-outline-primary {
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color) !important;
  color: #fff !important;
  border-color: var(--primary-color) !important;
}

.btn-green {
  background-color: #00a822 !important;
  border-color: #00a822;
}

.btn-green:hover {
  background-color: #00851b !important;
  border-color: #00851b;
}

/* Start media query */

@media (max-width: 767px) {
  #wrapper {
    margin: 0 !important
  }

  .statistics .box {
    margin-bottom: 25px !important;
  }

  .navbar .navbar-nav .open .dropdown-menu>li>a {
    color: #CCC !important
  }

  .navbar .navbar-nav .open .dropdown-menu>li>a:hover {
    color: #FFF !important
  }

  .navbar .navbar-toggle {
    border: none !important;
    color: #EEE !important;
    font-size: 18px !important;
  }

  .navbar .navbar-toggle:focus,
  .navbar .navbar-toggle:hover {
    background-color: transparent !important
  }
}

::-webkit-scrollbar {
  background: transparent;
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-thumb {
  background-color: #3c3f58;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.3);
}


/* Pagination */
.pagination {
  display: block;
  margin: 31px auto;
  text-align: center;
  color: white;
}

.pagination a {
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  text-align: center;
  margin: 0 10px;
  background-color: royalblue;
}

.pagination a.active {
  background-color: #4CAF50;
  color: white;
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
}

.pagination form {
  display: inline-block
}

.pagination input[type=number] {
  width: 60px;
  padding: 6px 0px;
  text-decoration: none;
  text-align: center;
  margin: 0 auto;
}

/** --------------------------------
 -- Text & Titles
-------------------------------- */
/* .light h1, .light h2, .light h3, .light h4, .light h5, .light h6 {
  color: var(--dk-text-white) !important;
} */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--dk-text-white) !important;
}

.fs-4 {
  border-bottom: 1px solid rgb(84, 80, 80);
  padding: 10px 0;
}

.fs-10 {
  font-size: .6rem !important;
}

/** --------------------------------
 -- Alerts & Boxes
-------------------------------- */
.alert-box {
  background-color: #ff0015;
  /* Light red background */
  color: #721c24;
  /* Dark red text color */
  border-radius: 5px;
  padding: 8px 5px;
  margin: 15px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.alert-box p {
  margin: 0;
}

.alert-box a {
  color: rgb(57, 57, 255);
}

/* Snackbar container */
.snackbar {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 25px;
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 30px;
  font-size: 17px;
}

/* Show the snackbar */
.snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Add animation: fadein and fadeout */
@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}

/* Success Snackbar */
.snackbar.success {
  background-color: #008B76;
  color: white
}

/* Error Snackbar */
.snackbar.error {
  background-color: #f81e0e;
  color: white
}


.search-wrapper {
  max-width: 100%;
  margin: 20px auto;
}

.search .dynamic-search-input {
  background: #fff;
  width: 100%;
  border-radius: 5px;
  position: relative;
  box-shadow: 0px 1px 5px 3px rgba(0, 0, 0, 0.12);
}

.dynamic-search-input input {
  height: 40px;
  width: 100%;
  outline: none;
  border: none;
  border-radius: 5px;
  padding: 0 10px 0 20px;
  font-size: 18px;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
}

.dynamic-search-input.active input {
  border-radius: 5px 5px 0 0;
}

.dynamic-search-input .autocom-box {
  padding: 0;
  opacity: 0;
  pointer-events: none;
  max-height: 280px;
  overflow-y: auto;
  background-color: white;
}

.dynamic-search-input.active .autocom-box {
  padding: 10px 8px;
  opacity: 1;
  pointer-events: auto;
}

.autocom-box li {
  list-style: none;
  padding: 8px 12px;
  display: none;
  width: 100%;
  cursor: default;
  border-radius: 3px;
  transition: all 0.3s;
  user-select: none;
}

.dynamic-search-input.active .autocom-box li {
  display: block;
}

.autocom-box li:hover {
  background: #efefef;
  cursor: pointer;
}

.dynamic-search-input .icon {
  position: absolute;
  right: 0px;
  top: 0px;
  height: 55px;
  width: 55px;
  text-align: center;
  line-height: 55px;
  font-size: 20px;
  color: var(--primary-color);
  cursor: pointer;
}

.styleResault {
  display: none;
  transition: all 1s;
  font-size: large;
  margin-top: 50px;
  padding: 20px;
  border-radius: 8px;
  font-weight: bolder;
  text-align: center;
}

.styleResault:hover {
  transform: scale(110%);
}

/*  */


/* Expandable Table */
.expandable-col {
  position: relative;
  max-height: 50px;
  /* Adjust the height as needed */
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.expandable-col.expanded {
  max-height: 500px;
  /* A large number to ensure full content is visible */
}

.expandable-content {
  display: none;
}

.expandable-col.expanded .expandable-content {
  display: block;
}

/* Expandable Table */

/* Pulse Effect */
@keyframes opacity-animation {
  0% {
    opacity: 0;
  }
}

@keyframes simple-pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes pulse-animation {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.8;
  }

  70% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3);
  }

  to {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
}

.pulse:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: 100%;
  opacity: 0.5;
  transform: translate(-50%, -50%) scale(3);
  animation: pulse-animation 3s infinite;
}

.pulse {
  position: relative;
  display: inline-block;
  vertical-align: 0px;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  color: transparent;
  border-radius: 100%;
  flex: 0 0 auto;
  animation: opacity-animation 1s linear;
}

.pulse.red {
  background: #e60000;
}

.pulse.orange {
  background: #ff9900;
}

.pulse.green {
  background: #00e600;
}

/* Pulse Effect */

.dark hr {
  background-color: white;
}

.light hr {
  background-color: rgb(59, 59, 59);
}

.dark button, .dark button::after {
  color: white;
  fill: white
}


.cancel {
  text-decoration: line-through;
  color: red;
}

.badge {
  font-weight: 300 !important;
}

table img.rounded-pill {
  height: 40px;
}

.form-group.required .form-control-label:after {
  content: " *";
  color: red;
}

.select2-container {
  max-width: 100% !important;
  width: 100% !important;
  min-width: unset !important;
}

/* select.form-control,
.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple {
  height: auto !important;
}

select.form-control,
.select2-container .select2-selection--multiple {
  height: auto !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 41px !important;
} */

.inbox .table .lead {
  display: inline !important;
}

.inbox .table .lead-block {
  display: block !important;
  color: #6c757d !important;
  font-size: 0.80em;
  margin-top: .3em;
  margin-bottom: 1em;
}

.table {
  vertical-align: middle;
}

.table .read {
  color: rgb(0, 184, 15)
}

.table .not-read {
  color: rgb(108, 108, 108)
}

.table .uil-envelope-send {
  color: rgb(184, 21, 0);
  font-size: 28px
}

.table .uil-envelope-receive {
  color: rgb(0, 132, 184);
  font-size: 28px
}

.chip {
  display: inline-block;
  padding: 0 25px;
  height: 50px;
  font-size: 16px;
  line-height: 50px;
  border-radius: 25px;
  background-color: #f1f1f1;
}

.chip img {
  float: right;
  margin: 0 -25px 0 10px;
  height: 50px;
  width: 50px;
  border-radius: 50%;
}

/* Additional custom styles */

/* Notification box */

.notification-dropdown .notification-message {
  font-size: 0.88em;
  margin-left: 10px;
  text-align: right;
}

.notification-dropdown .notification-time {
  font-size: 0.68em;
  float: left;
}

/* Notification box */


/* Filter Dropdown */
.dropdown-menu {
  font-size: .8rem;
  /* transform: translate3d(5px, 35px, 0px)!important;  */
  /* Forces to open up at down */
}

@media screen and (max-width: 450px) {
  .dropdown-menu.dropdown-menu-end {
    width: 340px;
    min-width: 340px !important;
  }
}

.dropdown-menu.md-width {
  /* min-width: 30rem; */
  min-width: 45%;
}

.dropdown-menu.lg-width {
  /* min-width: 40rem; */
  min-width: 60%;
}

.dropdown-menu label {
  /* display: inline; */
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dark .dropdown-menu {
  /* position: fixed !important; */
  background-color: #313348;
  color: rgb(171, 171, 171);
}

/* Menus */
.dark .dropdown-item {
  background-color: #313348;
  color: rgb(171, 171, 171);
}

.dark .dropdown-item:hover {
  background-color: #494b5e;
}

.dark div {
  /* color: rgb(171, 171, 171); */
}


/* Login Page */
body#login {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url(../img/login-background_1.jpeg) no-repeat;
  background-size: cover;
  background-position: center;
}

#login .wrapper {
  width: 420px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 10px;
  padding: 30px 40px;
}

#login .wrapper h1 {
  font-size: 24px;
  text-align: center;
}

#login .wrapper .input-box {
  position: relative;
  width: 100%;
  height: 50px;
  margin: 30px 0;
}

#login .input-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  border: 2px solid rgba(255, 255, 255, .2);
  border-radius: 40px;
  font-size: 16px;
  color: #fff;
  padding: 20px 45px 20px 20px;
}

#login .input-box input::placeholder {
  color: #fff;
}

#login .input-box box-icon {
  position: absolute;
  right: 20px;
  top: 30%;
  transform: translate(-50%);
  font-size: 20px;
}

#login .wrapper .remember-me {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  margin: -15px 0 15px;
}

#login .remember-me label input {
  accent-color: #fff;
  margin-right: 5px;
  /* Mobile-specific improvements */
  min-width: 16px;
  min-height: 16px;
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  appearance: checkbox;
}

/* Mobile-specific checkbox fixes */
@media (max-width: 768px) {
  #login .remember-me label input {
    transform: scale(1.2);
    margin-right: 8px;
  }
  
  #login .remember-me label {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    display: flex;
    align-items: center;
  }
  
  #login .remember-me {
    margin: -10px 0 20px;
  }
}

#login .wrapper .btn {
  width: 100%;
  height: 45px;
  background: #fff;
  border: none;
  outline: none;
  border-radius: 40px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
  cursor: pointer;
  font-size: 16px;
  color: #333;
  /* font-weight: 600; */
  font-family: iranSans;
  direction: rtl;
}


/* User profile */
.user-profile img.user-doc {
  max-width: 120px;
}
.employee-profile .profile-img img {
  max-width: 200px;
  height: 200px;
}

.employee-profile .timeline-filter {
  text-align: center;
  color: white;
}

/* Utilities */
.accordion {
  --bs-accordion-bg: transparent;
}

.clickable {
  cursor: pointer;
  color: var(--accent-color)
}

#filter-form span.selected, #filter-form a.selected {
  color: var(--hover-primary);
}

.copy-btn {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.5s ease-in-out
}

.copy-btn:hover {
  color:rgb(130, 130, 130);
}

.ready-message {
  transition: 0.5s all ease-in-out;
}

.ready-message:hover {
  background: #da567b !important
}

.clipped-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 70px;
}

a.content-edit {
  position: absolute;
  top: 1px;
  left: 5px;
}

a.content-secondary-action {
  position: absolute;
  bottom: 0;
  left: 5px;
  color: green;
  cursor: pointer
}

a.content-add-action {
  position: absolute;
  bottom: 0;
  left: 20px;
  color: green;
  cursor: pointer
}
a.content-cancel-action {
  position: absolute;
  bottom: 0;
  left: 5px;
  color: rgb(211, 5, 5);
  cursor: pointer
}
a.content-action-check {
  color: green;
}

.yellow-border {
  border: 1px solid var(--accent-color);
}
.green-border {
  border: 1px solid #198754;
}
.red-border {
  border: 1px solid #dc3545;
}
.grey-border {
  border: 1px solid #5c5c5c;
}
.blue-border {
  outline: 1px solid #0dcaf0;
}
img.select-avatar {
  transition: all 0.3s ease-in-out;
}
img.select-avatar:hover {
  border: 1.5px solid var(--primary-color);
}
/*  */

/* Dock Navigation */
.dock {
  position: fixed;
  padding: 5px 6px;
  background: rgba(255, 255, 255, 0.326);
  border: 2px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all .5s ease-in-out;
}

.dock-bottom {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.dock-left {
  bottom: 50%;
  left: 10px;
  transform: translateY(50%);
  display: flex;
  flex-direction: column;
}

@media (max-width: 720px) {
  .dock {
    opacity: 0.2;
    padding: 7px 8px;
  }
}
@media (max-width: 480px) {
  .dock-bottom {
    bottom: 20px;
  }
}

.dock:hover {
  opacity: 1;
}

.dock a {
  color: rgb(0, 0, 0);
  margin: 0 10px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.dock a:hover i {
  color: rgb(142, 21, 223);
  transform: scale(1.2);
}

.dock a:hover {
  color: rgb(142, 21, 223);
}

.dock i {
  font-size: 18px;
}

.dock span {
  display: block;
  margin-top: 5px;
  font-size: 14px;
}

/* Dock Navigation */

/* Widgets */
.time-container {
  position: relative;
  overflow: hidden;
  padding: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.07), 0 4px 8px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.07), 0 16px 32px rgba(0, 0, 0, 0.07), 0 32px 64px rgba(0, 0, 0, 0.07);
  border-radius: 2em;
  z-index: 1;
  background-image: linear-gradient(45deg, #c6a6de 0%, #dd7ee9 100%);
}

.time-container i {
  z-index: -1;
  position: absolute;
  left: 0;
  top: -24px;
  font-size: 5.4rem;
  opacity: 0.3;
  color: white;
}

#time {
  position: relative;
  overflow: hidden;
  padding: 0 10px;
}

#time p {
  font-size: 2rem;
  margin: 0;
  color: white;
}

#sticky_notes{
  width: 100%; /* Ensure the container spans the full width */
  overflow: hidden; /* Clear floats within the parent */
}

.sticky {
  font-family: iranSans;
  line-height: 1.5;
  border: 0;
  border-radius: 3px;
  background: linear-gradient(rgb(249, 239, 175), rgb(247, 233, 141));
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 270px;
  min-height: 250px;
  margin: 30px;
  transition: 0.3s;
  float: right;
  display: none;
  vertical-align: top;
}

.sticky:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15);
}

.sticky-content::-webkit-scrollbar {
  width: 10px;
}

.sticky-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.sticky-content::-webkit-scrollbar-thumb {
  background: #888;
}

.sticky-content::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.sticky:nth-child(even) {
  /* transform: rotate(2deg); */
}

.sticky:nth-child(odd) {
  /* transform: rotate(-1.5deg); */
}

.sticky-header {
  height: 30px;
  width: inherit;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
}

.sticky-header-menu {
  font-weight: bold;
  padding: 10px 15px;
  box-sizing: border-box;
  display: block;
  width: 50px;
  text-align: center;
  cursor: pointer;
  position: relative;
}

.sticky-header-menu:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.sticky-content {
  padding: 10px 10px 0 10px;
  overflow-y: auto;
  width: 270px;
  min-height: 250px;
  box-sizing: border-box;
  border: 0;
  resize: vertical;
  background-color: transparent;
  display: block;
  cursor: default;
}

.sticky-content:focus {
  outline: none;
}

#createStickyBtn {
  float: right;
  display: none;
  padding: 25px 25px 40px;
  margin: 30px;
  width: 270px;
  height: 270px;
  user-select: none;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  border: 15px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  color: rgba(0, 0, 0, 0.1);
  font: 220px "Helvetica", sans-serif;
  line-height: 185px;
  box-sizing: border-box;
  vertical-align: top;
}

#createStickyBtn:hover {
  border-color: rgba(0, 0, 0, 0.2);
  color: rgba(0, 0, 0, 0.2);
}

.dropdown-content-hide {
  display: none;
  position: absolute;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  top: 30px;
  right: 0;
  width: 270px;
  box-sizing: border-box;
  justify-content: space-between;
}

.dropdown-content-show {
  top: 30px;
  left: 0;
}

.dropdown-content-hide div {
  padding: 14px 14px;
  flex: 1;
}

.pink-color {
  background: linear-gradient(rgb(250, 214, 231), rgb(236, 185, 209));
}

.blue-color {
  background: linear-gradient(rgb(175, 249, 238), rgb(150, 226, 214));
}

.green-color {
  background: linear-gradient(rgb(178, 249, 175), rgb(152, 228, 149));
}

.yellow-color {
  background: linear-gradient(rgb(249, 239, 175), rgb(247, 233, 141));
}

.purple-color {
  background: linear-gradient(rgb(218, 215, 250), rgb(197, 194, 232));
}

.drop-button {
  margin-left: auto;
}

.notSaved {
  display: none;
}

.notSaved:hover {
  background-color: transparent;
  cursor: auto;
}

@media (max-width: 1024px) {
  .sticky {
    line-height: 1.2;
    width: 200px;
    min-height: 180px;
    margin: 20px;
  }

  .sticky-content {
    width: 200px;
    min-height: 170px;
    font-size: 16px;
  }

  .dropdown-content-hide {
    width: 200px;
  }

  #createStickyBtn {
    margin: 20px;
    width: 200px;
    height: 180px;

    padding: 0;
    line-height: 150px;
  }

}

@media (max-width: 720px) {
  .sticky {
    line-height: 1.2;
    width: 130px;
    min-height: 145px;
    margin: 15px;
  }

  .sticky-content {
    width: 130px;
    min-height: 115px;
    font-size: 14px;
  }

  .dropdown-content-hide {
    width: 130px;
  }

  .dropdown-content-hide div {
    padding: 10px 10px;
  }

  #createStickyBtn {
    margin: 15px;
    width: 140px;
    height: 140px;
    padding: 0;
    font: 90px "Helvetica", sans-serif;
  }
  .sticky-header-menu {
    padding: 0 10px 0 0;
    width: 25px;
    margin: 0 3px;
  }
  .sticky-header {
    justify-content: space-around;
  }
}

@media (max-width: 560px) {
  .sticky {
    line-height: 1.2;
    width: 100%;
    min-height: 145px;
    margin: 15px 0
  }
  .sticky-content {
    width: 100%;
    min-height: 115px;
    font-size: 14px;
  }
  #createStickyBtn {
    margin: 15px;
    width: 100%;
    height: 140px;
    padding: 0;
    font: 90px "Helvetica", sans-serif;
  }
  .sticky-header-menu {
    padding: 0 10px 0 0;
    width: 100%;
    margin: 0 3px;
  }
}

/* Widgets */


/* AI Chatbox */
#ai-fab.fab {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease-in-out;
}
#ai-fab.fab:hover {
  background: #551dc9;
}
.ai-chat-container {
  position: fixed;
  bottom: 70px;
  left: 0;
  width: 100%;
  max-width: 400px;
  margin: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(40, 40, 40, 0.8);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
  padding: 10px;
  z-index: 99
}
.light .ai-chat-container {
  background: rgba(255, 255, 255, 0.8);
}
.ai-output {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #333;
  border-radius: 5px;
  background: #2e2e2e;
}
.light .ai-output {
  border: 1px solid #d8d8d8;
  background: #d8d8d8;
}
.ai-chat-box {
  display: flex;
  gap: 10px;
  align-items: center;
}
.ai-chat-input {
  flex: 1;
  height: 40px;
  padding: 10px;
  border: none;
  border-radius: 20px;
  outline: none;
  font-size: 14px;
  background: #2e2e2e;
  color: #ffffff;
}
.light .ai-chat-input {
  background: #d8d8d8;
  color: black
}
.ai-chat-input::placeholder {
  color: #aaa;
}
.ai-send-button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
}
.ai-send-button:hover {
  background: #0056b3;
}
/* AI Chatbox */

/* Calendar Styles */
.calendar-wrapper {
  position: relative;
  overflow: auto;
}

.calendar-wrapper .calendar {
  border: 1px solid #333;
  border-radius: 8px;
  width: 100%;
  background-color: #1e1e1e;
  margin: 20px auto;
}

.calendar-wrapper .calendar-header {
  background-color: #2e2e2e;
  padding: 20px;
  text-align: center;
  font-size: 1.5em;
}

.calendar-wrapper .col-md {
  display: flex;
  flex-direction: column;
  height: 100%; /* Make sure all columns stretch fully */
}

.calendar-wrapper .calendar-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr); /* Equal columns for weekdays */
  align-items: stretch; /* Ensures all weekday columns stretch */
}

.calendar-wrapper .calendar-day {
  background-color: #1e1e1e;
  padding: 10px;
  text-align: center;
  border: 1px solid #333;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.calendar-wrapper .calendar-day.weekday {
  flex-grow: 1; /* Make all weekday divs the same height */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Evenly distribute content */
}

.calendar-wrapper .calendar-day .date {
  font-size: 1.2em;
  margin-bottom: 0px;
}

.calendar-wrapper .calendar-day .content-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Allows stretching */
  gap: 5px;
  min-height: 50px;
  min-width: 100px;
  padding: 5px;
  margin-bottom: 24px;
}

.calendar-wrapper .calendar-day .content-item {
  background-color: #2e2e2e;
  padding: 5px;
  border-radius: 4px;
  font-size: 0.8em;
  text-align: right;
  position: relative
}

.calendar-wrapper .calendar-day .content-item.finished {
  border: 1px solid rgb(10, 153, 10);
}

.calendar-wrapper .calendar-day.today {
  background-color: #4a90e2;
  color: #fff;
}

@media (max-width: 768px) {
  .calendar-wrapper .calendar-header {
    font-size: 1.2em;
    padding: 15px;
  }

  .calendar-wrapper .calendar-day .date {
    font-size: 1em;
  }

  .calendar-wrapper .calendar-day .content-item {
    font-size: 0.7em;
  }
}
.calendar-wrapper .content-list.drag-over {
  border: 2px dashed #007bff;
}

.calendar-wrapper .content-list:empty::before {
  display: block;
  text-align: center;
  color: #999;
  font-size: 12px;
  padding: 10px;
}
/* Calendar Styles */

/* Modal */
.modal-content {
  overflow: scroll !important;
}
.open-modal.btn-outline-success {
  border-color: var(--primary-color)
}

.open-modal.btn-outline-success:hover,
.open-modal.btn-outline-success:active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-check:focus+.btn-outline-success,
.btn-outline-success:focus {
  box-shadow: 0 0 0 .25rem rgba(101, 30, 188, 0.5)
}

.btn.open-modal {
  padding: 0px 8px;
  bottom: 0;
  position: absolute;
}

.btn.open-modal i {
  font-size: 11px
}
/* Modal */