/**
* Project Name: Khosa CRM - Modern Design
* Updated: March 20 2025 with Bootstrap v5.3.3
* Author: VitaCoders
* Website: www.vitacoders.com
* Contact: info@vitacoders.com
*/

/*--------------------------------------------------------------
# General - Modern Design System
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --danger-color: #ef4444;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-light: #f9fafb;
  --bg-lighter: #f3f4f6;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: "Open Sans", sans-serif;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  color: var(--text-primary);
  line-height: 1.6;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--text-primary);
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: 60px;
  padding: 30px;
  transition: var(--transition);
}

@media (max-width: 768px) {
  #main {
    padding: 20px;
    margin-top: 70px;
  }
}

@media (max-width: 480px) {
  #main {
    padding: 15px;
  }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  margin-bottom: 30px;
}

.pagetitle h1 {
  font-size: 32px;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .pagetitle h1 {
    font-size: 24px;
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
  border-radius: 12px;
  padding: 10px 0;
  animation-name: dropdown-animate;
  animation-duration: 0.2s;
  animation-fill-mode: both;
  border: none;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 12px 25px;
  color: var(--text-secondary);
}

.dropdown-menu .dropdown-footer a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}

.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}

.dropdown-menu .dropdown-divider {
  color: var(--border-color);
  margin: 5px 0;
  opacity: 0.5;
}

.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 12px 20px;
  transition: var(--transition);
  color: var(--text-primary);
}

.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
  color: var(--primary-color);
}

.dropdown-menu .dropdown-item:hover {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), transparent);
  color: var(--primary-color);
}

@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 var(--border-color);
    border-left: 1px solid var(--border-color);
  }
}

@keyframes dropdown-animate {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Light Backgrounds */
.bg-primary-light {
  background-color: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.bg-secondary-light {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.bg-success-light {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.bg-danger-light {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.bg-warning-light {
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.bg-info-light {
  background-color: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.bg-dark-light {
  background-color: rgba(31, 41, 55, 0.1);
  border: 1px solid rgba(31, 41, 55, 0.2);
}

/* Card */
.card {
  margin-bottom: 30px;
  border: none;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  overflow: hidden;
  background: #fff;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-header,
.card-footer {
  border: none;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(16, 185, 129, 0.05));
  color: var(--text-primary);
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.card-footer {
  border-bottom: none;
  border-top: 1px solid var(--border-color);
}

.card-title {
  padding: 20px 0 15px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  margin: 0;
}

.card-title span {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
}

.card-body {
  padding: 25px;
}

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
}

/* Alerts */
.alert {
  border: none;
  border-radius: 12px;
  border-left: 4px solid;
  padding: 15px 20px;
  box-shadow: var(--shadow-sm);
}

.alert-heading {
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  margin-bottom: 5px;
}

.alert-primary {
  border-left-color: var(--primary-color);
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--text-primary);
}

.alert-success {
  border-left-color: var(--secondary-color);
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--text-primary);
}

.alert-danger {
  border-left-color: var(--danger-color);
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--text-primary);
}

/* Close Button */
.btn-close {
  background-size: 25%;
  opacity: 0.5;
  transition: var(--transition);
}

.btn-close:focus {
  outline: 0;
  box-shadow: none;
  opacity: 1;
}

.btn-close:hover {
  opacity: 0.8;
}

/* Accordion */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}

.accordion-button {
  background-color: #fff;
  color: var(--text-primary);
  font-weight: 600;
  border-radius: 12px;
  transition: var(--transition);
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), transparent);
}

.accordion-flush .accordion-button {
  padding: 15px 0;
  background: none;
  border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: var(--primary-color);
  background: none;
}

.accordion-flush .accordion-body {
  padding: 15px 0;
  color: var(--text-secondary);
  font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  color: var(--text-secondary);
  font-weight: 600;
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb a {
  color: var(--primary-color);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.breadcrumb .breadcrumb-item::before {
  color: var(--text-secondary);
}

.breadcrumb .active {
  color: var(--text-primary);
  font-weight: 700;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid var(--border-color);
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  transition: var(--transition);
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.nav-tabs-bordered .nav-link.active {
  background-color: transparent;
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
  line-height: 1;
}

@media (min-width: 1200px) {
  .logo {
    width: 280px;
  }
}

.logo img {
  max-height: 32px;
  margin-right: 12px;
  transition: var(--transition);
}

.logo span {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: "Poppins", sans-serif;
}

.header {
  transition: var(--transition);
  z-index: 997;
  height: 70px;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  padding-left: 20px;
  border-bottom: 1px solid var(--border-color);
}

.header .toggle-sidebar-btn {
  font-size: 32px;
  padding-left: 10px;
  cursor: pointer;
  color: var(--text-primary);
  transition: var(--transition);
}

.header .toggle-sidebar-btn:hover {
  color: var(--primary-color);
}

.header .search-bar {
  min-width: 360px;
  padding: 0 20px;
}

@media (max-width: 1199px) {
  .header .search-bar {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.08);
    background: white;
    z-index: 9999;
    transition: var(--transition);
    visibility: hidden;
    opacity: 0;
  }

  .header .search-bar-show {
    top: 70px;
    visibility: visible;
    opacity: 1;
  }
}

.header .search-form {
  width: 100%;
}

.header .search-form input {
  border: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--text-primary);
  padding: 10px 38px 10px 15px;
  border-radius: 8px;
  transition: var(--transition);
  width: 100%;
  background-color: var(--bg-light);
}

.header .search-form input::placeholder {
  color: var(--text-secondary);
}

.header .search-form input:focus,
.header .search-form input:hover {
  outline: none;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  border: 1px solid var(--primary-color);
}

.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
  cursor: pointer;
}

.header .search-form button i {
  color: var(--text-secondary);
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}

.header-nav>ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 22px;
  color: var(--text-primary);
  margin-right: 25px;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}

.header-nav .nav-icon:hover {
  color: var(--primary-color);
}

.header-nav .nav-profile {
  color: var(--text-primary);
}

.header-nav .nav-profile img {
  max-height: 38px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  transition: var(--transition);
}

.header-nav .nav-profile img:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 6px;
  background: var(--danger-color);
  color: #fff;
  border-radius: 50%;
}

.header-nav .notifications {
  inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
}

.header-nav .notifications .notification-item:last-child {
  border-bottom: none;
}

.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;
  color: var(--text-primary);
}

.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: var(--text-secondary);
}

.header-nav .notifications .notification-item:hover {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), transparent);
}

.header-nav .messages {
  inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
}

.header-nav .messages .message-item:last-child {
  border-bottom: none;
}

.header-nav .messages .message-item a {
  display: flex;
}

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
}

.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-primary);
}

.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: var(--text-secondary);
}

.header-nav .messages .message-item:hover {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), transparent);
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 700;
  color: var(--text-primary);
}

.header-nav .profile .dropdown-header span {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 12px 15px;
  transition: var(--transition);
  color: var(--text-primary);
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
  color: var(--primary-color);
}

.header-nav .profile .dropdown-item:hover {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), transparent);
  color: var(--primary-color);
}

@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: #0C0908;
  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: #0C0908;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}

.header-nav>ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 22px;
  color: #0C0908;
  margin-right: 25px;
  position: relative;
}

.header-nav .nav-profile {
  color: #0C0908;
}

.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: -2px -5px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

.header-nav .notifications {
  inset: 8px -15px auto auto !important;
}

.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 {
  inset: 8px -15px auto auto !important;
}

.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;
  top: 8px !important;
}

.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: 70px;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 996;
  transition: var(--transition);
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.3) transparent;
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.05);
  background: linear-gradient(180deg, #fff 100%, rgba(99, 102, 241, 0.02) 100%);
  border-right: 1px solid var(--border-color);
}

@media (max-width: 1199px) {
  .sidebar {
    left: -300px;
  }
}

.sidebar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(99, 102, 241, 0.3);
  border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background-color: rgba(99, 102, 241, 0.5);
}

@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: 8px;
}

.sidebar-nav .nav-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 700;
  margin: 15px 0 10px 15px;
  letter-spacing: 0.5px;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
  background: transparent;
  padding: 12px 15px;
  border-radius: 8px;
  position: relative;
}

.sidebar-nav .nav-link i {
  font-size: 16px;
  margin-right: 12px;
  color: var(--primary-color);
  transition: var(--transition);
}

.sidebar-nav .nav-link.collapsed {
  color: var(--text-secondary);
  background: transparent;
}

.sidebar-nav .nav-link.collapsed i {
  color: var(--text-secondary);
}

.sidebar-nav .nav-link:hover {
  color: var(--primary-color);
  background: rgba(99, 102, 241, 0.1);
  border-radius: 8px;
}

.sidebar-nav .nav-link:hover i {
  color: var(--primary-color);
}

.sidebar-nav .nav-link.active {
  color: var(--primary-color);
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.15), transparent);
  border-left: 4px solid var(--primary-color);
  padding-left: 11px;
}

.sidebar-nav .nav-link.active i {
  color: var(--primary-color);
}

.sidebar-nav .nav-link .bi-chevron-down {
  margin-right: 0;
  margin-left: auto;
  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: 5px 0 0 0;
  list-style: none;
}

.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  padding: 10px 15px 10px 45px;
  border-radius: 6px;
  position: relative;
}

.sidebar-nav .nav-content a i {
  font-size: 6px;
  margin-right: 8px;
  line-height: 0;
  border-radius: 50%;
  background-color: var(--text-secondary);
}

.sidebar-nav .nav-content a:hover {
  color: var(--primary-color);
  background: rgba(99, 102, 241, 0.1);
}

.sidebar-nav .nav-content a:hover i {
  background-color: var(--primary-color);
}

.sidebar-nav .nav-content a.active {
  color: var(--primary-color);
  background: rgba(99, 102, 241, 0.1);
}

.sidebar-nav .nav-content a.active i {
  background-color: var(--primary-color);
}

/*--------------------------------------------------------------
# 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: #e56749;
}

.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: #0C0908;
  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: #e56749;
  background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
  color: #2eca6a;
  background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}

/* 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: #0C0908;
  transition: 0.3s;
}

.dashboard .news h4 a:hover {
  color: #e56749;
}

.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: #0C0908;
  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: #0C0908;
}

.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}

.profile .profile-overview .card-title {
  color: #0C0908;
}

.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: #e56749;
}

.faq .basic p {
  color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  padding: 28px 30px;
}

.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: #e56749;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #0C0908;
  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;
  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: #e56749;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #e56749;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #5969f3;
}

@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: #e56749;
  margin-bottom: 0;
  line-height: 150px;
}

.error-404 h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0C0908;
  margin-bottom: 30px;
}

.error-404 .btn {
  background: #51678f;
  color: #fff;
  padding: 8px 30px;
}

.error-404 .btn:hover {
  background: #3e4f6f;
}


/*--------------------------------------------------------------
# Forms & Inputs - Modern Design
--------------------------------------------------------------*/
.form-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.form-control,
.form-select {
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 14px;
  color: var(--text-primary);
  background-color: #fff;
  transition: var(--transition);
  font-weight: 500;
}

.form-control::placeholder {
  color: var(--text-secondary);
  font-weight: 400;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
  background-color: #fff;
}

.form-control:hover,
.form-select:hover {
  border-color: rgba(99, 102, 241, 0.5);
}

.form-select {
  cursor: pointer;
}

.form-select option {
  background-color: #fff;
  color: var(--text-primary);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
  font-family: "Open Sans", sans-serif;
}

.form-check {
  padding-left: 0;
}

.form-check-input {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  border: 1.5px solid var(--border-color);
  border-radius: 4px;
  transition: var(--transition);
  cursor: pointer;
}

.form-check-input:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
  border-color: var(--primary-color);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-label {
  margin-left: 8px;
  cursor: pointer;
  color: var(--text-primary);
  font-weight: 500;
}

/*--------------------------------------------------------------
# Buttons - Modern Design
--------------------------------------------------------------*/
.btn {
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  transition: var(--transition);
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn i {
  font-size: 16px;
  line-height: 0;
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}

/* Secondary Button */
.btn-secondary {
  background: linear-gradient(135deg, #6b7280, #4b5563));
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #4b5563, #2d3748);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}

/* Success Button */
.btn-success {
  background: linear-gradient(135deg, var(--secondary-color), #059669);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-success:hover {
  background: linear-gradient(135deg, #059669, var(--secondary-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

/* Danger Button */
.btn-danger {
  background: linear-gradient(135deg, var(--danger-color), #dc2626);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-danger:hover {
  background: linear-gradient(135deg, #dc2626, var(--danger-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

/* Warning Button */
.btn-warning {
  background: linear-gradient(135deg, var(--accent-color), #d97706);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-warning:hover {
  background: linear-gradient(135deg, #d97706, var(--accent-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

/* Light Button */
.btn-light {
  background: var(--bg-light);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  background: #fff;
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Outline Button */
.btn-outline-primary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--primary-dark);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Small Button */
.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 6px;
}

/* Large Button */
.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 10px;
}

/* Block Button */
.btn-block,
.w-100 {
  width: 100%;
}

/*--------------------------------------------------------------
# Tables - Modern Design
--------------------------------------------------------------*/
.table {
  color: var(--text-primary);
  border-collapse: collapse;
}

.table thead th {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.05), transparent);
  border-bottom: 2px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 15px;
}

.table tbody td {
  border-bottom: 1px solid var(--border-color);
  padding: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

.table tbody tr {
  transition: var(--transition);
}

.table tbody tr:hover {
  background-color: rgba(99, 102, 241, 0.05);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(99, 102, 241, 0.02);
}

.table-striped tbody tr:hover {
  background-color: rgba(99, 102, 241, 0.08);
}

/*--------------------------------------------------------------
# Input Groups
--------------------------------------------------------------*/
.input-group {
  border-radius: 8px;
  overflow: hidden;
}

.input-group-text {
  background: var(--bg-light);
  border: 1.5px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 600;
  border-radius: 8px 0 0 8px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 25px 0;
  font-size: 14px;
  transition: var(--transition);
  border-top: 1px solid var(--border-color);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.02), transparent);
}

.footer .copyright {
  text-align: center;
  color: var(--text-primary);
  font-weight: 600;
}

.footer .credits {
  padding-top: 8px;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer .credits a {
  color: var(--primary-color);
  font-weight: 700;
  transition: var(--transition);
}

.footer .credits a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

@media (min-width: 992px) {
  .error-404 img {
    max-width: 50%;
  }
}




