@charset "UTF-8";
:root {
  /* Theme Colors (1 to 10) */
  --themeprimaryclr: #6366f1;
  --themesecondaryclr: #94a3b8;
  --themethirdclr: #10b981;
  --themefourthclr: #1e293b;
  --themefifthclr: #8b5cf6;
  --themesixthclr: #64748b;
  --themeseventhclr: #ec4899;
  --themeeighthclr: #cbd5e1;
  --themeninthclr: #334155cc;
  --themetenthclr: #f59e0b;
  --plainclr: #ffffff;
  --darkclr: #0f172a;
  --lightbg: #f1f5f9;
  --bodyclr: #64748b;
  --body-bgclr: #f8fafc;
  --headerclr: #0f172a;
  --headerbgclr: rgba(255, 255, 255, 0.8);
  --footerclr: #64748b;
  --footerbgclr: rgba(255, 255, 255, 0.8);
  --headingclr: #0f172a;
  --li-clr: #e2e8f0;
  --lihover-clr: #475569;
  --anchorclr: #64748b;
  --btnhover: #4f46e5;
  --anchor-hover-clr: #6366f1;
  --linkclr: #6366f1;
  --link-hover-clr: #4f46e5;
  --link-hover-bg-clr: rgba(99, 102, 241, 0.08);
  --link-bg-clr: rgba(248, 250, 252, 0.5);
  --hoverclr: #0f172a;
  --iconclr: #6366f1;
  --icon-hover-clr: #4f46e5;
  --tablehover: #f1f5f9;
  /* Dark mode colors */
  --dark-text-color: #e2e8f0;
  --dark-section-color: #1e293b;
  --dark-menu-bg-color: rgba(30, 41, 59, 0.95);
  --dark-menu-icon-color: #94a3b8;
  /* Border colors */
  --main-border: rgba(148, 163, 184, 0.2);
  --light-border: #94a3b8;
  --borderone: #e2e8f0;
  --bordertwo: #f59e0b;
  --border-three: #ef4444;
  /* Section colors */
  --section-color: #f8fafc;
  --section-color-two: #0f172a;
  --section-color-three: #cbd5e1;
  --section-color-four: #475569;
  --section-color-five: #fee2e2;
  /* Named Colors */
  --greenclr: #10b981;
  --orangecolor: #f59e0b;
  --redclr: #ef4444;
  --yellowclr: #f59e0b;
  /* Badges color */
  --badge-danger: #ef4444;
  --badge-warning: #f59e0b;
  --badge-success: #10b981;
  --badge-light: #f1f5f9;
  --badge-dark: #1e293b;
  --badge-semi-dark: #334155;
  --badge-semi-light: #f8fafc;
  --badge-info: #06b6d4;
  /* Social Colors */
  --fbclr: #1877f2;
  --ytclr: #ff0000;
  --twclr: #1da1f2;
  --igclr: #e1306c;
  --lnclr: #0a66c2;
  --ghclr: #181717;
  --waclr: #25d366;
  --scclr: #fffc00;
  --rdclr: #ff4500;
  --tiktokclr: #000000;
  --pinterestclr: #e60023;
  /* Overlay Colors */
  --overlayone: rgba(15, 23, 42, 0.3);
  --overlaytwo: rgba(15, 23, 42, 0.5);
  --overlaythree: rgba(15, 23, 42, 0.7);
  --overlayfour: rgba(255, 255, 255, 0.2);
  --overlayfive: rgba(99, 102, 241, 0.4);
  /* Gradient Backgrounds */
  --gradientone: linear-gradient(135deg, #6366f1, #8b5cf6);
  --gradienttwo: linear-gradient(135deg, #10b981, #059669);
  --gradientthree: linear-gradient(135deg, #f59e0b, #d97706);
  --gradientfour: linear-gradient(135deg, #0f172a, #334155);
  --gradientfive: linear-gradient(135deg, #f59e0b, #d97706);
  --gradientsix: linear-gradient(135deg, #64748b, #1e293b);
  /* Box Shadows */
  --shadowone: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadowtwo: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadowthree: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadowfour: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadowfive: 0 25px 50px rgba(0, 0, 0, 0.25);
}

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

body {
  font-family: "Inter", sans-serif;
  background: var(--body-bgclr);
  color: var(--bodyclr);
  overflow-x: hidden;
  background-image: linear-gradient(135deg, #111827 0%, #374151 100%);
  background-attachment: fixed;
  transition: background 0.3s ease;
}
body.dark-mode {
  background: #111827;
  color: var(--dark-text-color);
  background-image: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

/* Layout Structure */
.expand {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  width: 100%;
}

/* Sidebar Styles */
.sidebar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: var(--dark-menu-bg-color);
  border-right: 1px solid var(--main-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transform: translateX(0);
}

.dark-mode .sidebar-container {
  background: #1f2937;
  border-right: 1px solid var(--main-border);
}

.sidebar-header {
  padding: 20px 15px;
  color: var(--plainclr);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--main-border);
  height: 80px;
  background: var(--headerbgclr);
  flex-shrink: 0;
}

.brand-logo {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}
.brand-logo .logo-sm {
  display: none;
  max-width: 35px;
}
.brand-logo .logo-lg {
  display: block;
  max-width: 120px;
  transition: all 0.3s ease;
}

.sidebar-menu {
  flex: 1;
  padding: 15px 10px;
  overflow-y: auto;
  overflow-x: hidden;
}
.sidebar-menu::-webkit-scrollbar {
  width: 4px;
}
.sidebar-menu::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-menu::-webkit-scrollbar-thumb {
  background: var(--main-border);
  border-radius: 2px;
}
.sidebar-menu::-webkit-scrollbar-thumb:hover {
  background: var(--themeprimaryclr);
}

.menu-item {
  margin-bottom: 5px;
  position: relative;
}

.menu-link {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: var(--dark-text-color);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.menu-link:hover {
  background: var(--badge-info);
  color: var(--plainclr);
  transform: translateX(5px);
}

.menu-item.active > .menu-link {
  background: var(--badge-info);
  color: var(--plainclr);
}
.menu-item.active > .menu-link i {
  color: var(--plainclr);
}

.menu-link i:not(.submenu-toggle i) {
  width: 24px;
  margin-right: 12px;
  font-size: 18px;
  transition: all 0.3s ease;
  color: var(--iconclr);
  position: relative;
  z-index: 1;
}

.menu-link:hover i:not(.submenu-toggle i),
.menu-item.active > .menu-link i:not(.submenu-toggle i) {
  color: var(--plainclr);
}

.menu-text {
  flex: 1;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-link:hover .menu-text,
.menu-item.active > .menu-link .menu-text {
  color: var(--plainclr);
  transform: translateX(5px);
}

.menu-badge {
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 8px;
  background: var(--badge-light);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.dark-mode .menu-badge {
  background: var(--badge-dark);
}

.badge-primary {
  background-color: var(--themeprimaryclr) !important;
  color: var(--plainclr) !important;
}

.badge-success {
  background-color: var(--greenclr) !important;
  color: var(--plainclr) !important;
}

.submenu-toggle {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 10px;
  position: relative;
  z-index: 1;
  color: var(--themesecondaryclr);
  flex-shrink: 0;
}
.submenu-toggle i {
  transition: transform 0.3s ease;
}

.menu-link.active .submenu-toggle i {
  transform: rotate(90deg);
  color: var(--plainclr);
}

.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--section-color-five);
  border-radius: 8px;
  margin: 5px 0 5px 15px;
}
.submenu.open {
  max-height: 500px;
}

.submenu-item {
  padding: 0;
}

.submenu-link {
  display: block;
  padding: 10px 15px 10px 45px;
  color: var(--dark-text-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  position: relative;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.submenu-link:before {
  content: "";
  position: absolute;
  left: 25px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--dark-text-color);
  transform: translateY(-50%);
  opacity: 0.5;
  transition: all 0.3s ease;
}
.submenu-link:hover, .submenu-link.active {
  background-color: var(--link-hover-bg-clr);
  color: var(--themeprimaryclr);
  padding-left: 50px;
}
.submenu-link:hover:before, .submenu-link.active:before {
  background-color: var(--themeprimaryclr);
  opacity: 1;
}

/* Nested Submenus */
.submenu .submenu {
  background-color: rgba(0, 0, 0, 0.05);
  margin: 5px 0 5px 15px;
}
.submenu .submenu .submenu-link {
  padding-left: 65px;
}
.submenu .submenu .submenu-link:before {
  left: 45px;
}
.submenu .submenu .submenu .submenu-link {
  padding-left: 85px;
}
.submenu .submenu .submenu .submenu-link:before {
  left: 65px;
}

/* Sidebar Footer */
.sidebar-footer {
  padding: 15px;
  border-top: 1px solid var(--main-border);
  background: var(--dark-menu-bg-color);
  flex-shrink: 0;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradientone);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plainclr);
  font-weight: bold;
  box-shadow: var(--shadowtwo);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.user-avatar:hover {
  transform: scale(1.05);
  box-shadow: var(--shadowthree);
}

.user-details {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-weight: 600;
  color: var(--dark-text-color);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role {
  font-size: 0.8rem;
  color: var(--themesecondaryclr);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mode-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--section-color);
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  border: 1px solid var(--main-border);
  transition: all 0.3s ease;
}
.mode-toggle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadowtwo);
}

.dark-mode .mode-toggle {
  background-color: #1f2937;
  border: 1px solid var(--main-border);
}

.mode-text {
  font-size: 0.9rem;
  color: var(--dark-text-color);
  white-space: nowrap;
}

.toggle-switch {
  width: 40px;
  height: 20px;
  background-color: var(--themeeighthclr);
  border-radius: 20px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.toggle-switch::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--plainclr);
  top: 2px;
  left: 2px;
  transition: all 0.3s ease;
}

.dark-mode .toggle-switch {
  background-color: var(--themethirdclr);
}
.dark-mode .toggle-switch::before {
  transform: translateX(20px);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 280px;
  right: 0;
  z-index: 1025;
  background: var(--headerbgclr);
  border-bottom: 1px solid var(--main-border);
  padding: 0 30px;
  height: 80px;
  min-height: 80px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dark-mode .header {
  background: #111827;
  color: var(--dark-text-color);
}

/* Footer Styles */
.footer {
  position: fixed;
  bottom: 0;
  left: 280px;
  right: 0;
  z-index: 1025;
  background: var(--footerbgclr);
  color: var(--footerclr);
  border-top: 1px solid var(--main-border);
  padding: 0 30px;
  min-height: 60px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-mode .footer {
  background: #111827;
  color: var(--dark-text-color);
}

/* Main Content Styles */
.main-content {
  position: fixed;
  top: 80px;
  left: 280px;
  right: 0;
  bottom: 60px;
  padding: 30px;
  transition: all 0.3s ease;
  overflow-y: auto;
  background: transparent;
}

.main-card {
  background: var(--section-color);
  border: 1px solid var(--main-border);
  box-shadow: var(--shadowthree);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  color: var(--headingclr);
  transition: all 0.3s ease;
}
.main-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadowfour);
}

.dark-mode .main-card {
  background: #1f2937;
  border: 1px solid var(--main-border);
  color: var(--dark-text-color);
}

.main-card h2 {
  color: var(--headingclr);
  margin-bottom: 1rem;
  font-weight: 600;
  background: var(--gradientone);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.dark-mode .main-card h2 {
  color: var(--dark-text-color);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.main-card h3 {
  color: var(--headingclr);
  margin-bottom: 1rem;
  font-weight: 600;
}

.dark-mode .main-card h3 {
  color: var(--dark-text-color);
}

.main-card p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.main-card ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.main-card li {
  margin-bottom: 0.5rem;
  position: relative;
}
.main-card li::before {
  content: "•";
  color: var(--themeprimaryclr);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Toggle buttons */
.sidebar-toggle,
.miniview-toggle {
  background: var(--section-color);
  color: var(--darkclr);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--main-border);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.sidebar-toggle:hover,
.miniview-toggle:hover {
  background-color: var(--link-hover-bg-clr);
  transform: translateY(-2px);
  box-shadow: var(--shadowtwo);
}

.dark-mode .sidebar-toggle,
.dark-mode .miniview-toggle {
  background: #1f2937;
  color: var(--dark-text-color);
  border: 1px solid var(--main-border);
}

/* Header Controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Overlay for mobile */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlaytwo);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sidebar-overlay.show {
  display: block;
  opacity: 1;
}

/* Responsive styles */
@media (max-width: 992px) {
  .miniview-toggle {
    display: none;
  }
  .sidebar-container {
    transform: translateX(-100%);
    width: 280px;
  }
  .sidebar-container.open {
    transform: translateX(0);
  }
  .header {
    left: 0;
    right: 0;
  }
  .footer {
    left: 0;
    right: 0;
  }
  .main-content {
    left: 0;
    right: 0;
    padding: 20px;
  }
  .sidebar-toggle {
    display: flex;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
  }
}
/* Mini view styles */
@media (min-width: 993px) {
  .sidebar-toggle {
    display: none;
  }
  .miniview .sidebar-container {
    width: 80px;
  }
  .miniview .menu-text,
  .miniview .submenu-toggle,
  .miniview .menu-badge,
  .miniview .user-details,
  .miniview .mode-text {
    display: none;
  }
  .miniview .menu-link {
    justify-content: center;
    padding: 12px 15px;
  }
  .miniview .menu-link i:not(.submenu-toggle i) {
    margin-right: 0;
  }
  .miniview .brand-logo .logo-sm {
    display: block;
  }
  .miniview .brand-logo .logo-lg {
    display: none;
  }
  .miniview .header {
    left: 80px;
  }
  .miniview .footer {
    left: 80px;
  }
  .miniview .main-content {
    left: 80px;
  }
  .miniview .submenu {
    position: absolute;
    left: 80px;
    top: 0;
    width: 200px;
    margin: 0;
    z-index: 1001;
  }
  .miniview .sidebar-footer {
    padding: 10px;
  }
  .miniview .user-info {
    justify-content: center;
  }
  .miniview .user-avatar {
    margin-right: 0;
  }
}
/* Scrollbar styles */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
  background: var(--main-border);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--themeprimaryclr);
}

.dark-mode ::-webkit-scrollbar-thumb {
  background: var(--main-border);
}
.dark-mode ::-webkit-scrollbar-thumb:hover {
  background: var(--themeprimaryclr);
}

/* Animation keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    transform: translateX(-10px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
/* Utility Classes */
.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

.slide-in {
  animation: slideIn 0.3s ease-out;
}

/* Ensure proper layout on all devices */
html, body {
  height: 100%;
  overflow: hidden;
}

.expand {
  height: 100vh;
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
  body {
    height: -webkit-fill-available;
  }
  .expand {
    height: -webkit-fill-available;
  }
  .sidebar-container,
  .main-content {
    height: -webkit-fill-available;
  }
}/*# sourceMappingURL=sidebarDesign4.css.map */