/* =====================================================
   ANALYTICS DASHBOARD - MOBILE RESPONSIVE
===================================================== */

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

body {
  background: #fff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  font-family: Inter, sans-serif;
  color: white;
}

.analytics-dashboard{
    margin-left:280px;
    padding:40px;
    min-height:100vh;
    background:linear-gradient(
        180deg,
        #0f172a,
        #111827
    );
}

.dashboard-grid{

    display:grid;

    grid-template-columns:
    repeat(
        auto-fit,
        minmax(340px,1fr)
    );

    gap:24px;

    align-items:start;
}

.analytics-card,
.revenue-trend-card,
.satisfaction-card,
.live-visitors-card,
.funnel-card,
.prediction-card,
.region-card,
.kpi-card,
.subscription-card,
.server-card,
.executive-card,
.team-card,
.sales-card,
.crypto-card,
.ai-card,
.task-card,
.storage-card,
.social-card,
.weather-card,
.revenue-breakdown-card,
.demographics-card,
.project-status-card,
.support-card,
.live-feed-card,
.product-card,
.goal-card,
.attendance-card,
.security-card,
.recommendation-card{

    background:
    rgba(255,255,255,.06);

    backdrop-filter:blur(18px);

    border:
    1px solid rgba(255,255,255,.08);

    border-radius:24px;

    padding:28px;

    transition:.35s;

    box-shadow:
    0 15px 50px rgba(0,0,0,.25);

}

.analytics-card:hover,
.revenue-trend-card:hover,
.satisfaction-card:hover,
.live-visitors-card:hover,
.funnel-card:hover,
.prediction-card:hover,
.region-card:hover,
.kpi-card:hover,
.subscription-card:hover,
.server-card:hover,
.executive-card:hover,
.team-card:hover,
.sales-card:hover,
.crypto-card:hover,
.ai-card:hover,
.task-card:hover,
.storage-card:hover,
.social-card:hover,
.weather-card:hover{

    transform:
    translateY(-8px);

    box-shadow:
    0 25px 60px rgba(0,0,0,.35);

}

.tag{

    display:inline-flex;

    padding:6px 14px;

    border-radius:999px;

    font-size:12px;

    font-weight:700;

    letter-spacing:.4px;

    color:#60a5fa;

    background:
    rgba(96,165,250,.12);

}

/* MAIN CARD */

.analytics-card {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.analytics-card::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  background: #0ea5e9;
  filter: blur(120px);
  opacity: 0.15;
  top: -80px;
  right: -80px;
}

/* ================================
   HEADER
================================ */

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 12px;
}

.card-header h2 {
  font-size: clamp(24px, 6vw, 32px);
  font-weight: 700;
}

.card-header p {
  color: #94a3b8;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
}

.menu-btn {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: #1e293b;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
  flex-shrink: 0;
}

.menu-btn:hover {
  background: #0ea5e9;
  transform: rotate(90deg);
}

/* ================================
   TOP STATS
================================ */

.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.stat-box {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.4s;
}

.stat-box:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.12);
}

.stat-box::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  top: -40px;
  right: -30px;
}

.icon {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  font-size: 20px;
}

.revenue .icon {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.users .icon {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
}

.bounce .icon {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.label {
  font-size: 12px;
  color: #cbd5e1;
  letter-spacing: 0.5px;
}

.stat-box h3 {
  margin: 10px 0;
  font-size: clamp(22px, 5vw, 32px);
}

.growth {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.positive {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}

.negative {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

/* ================================
   PROGRESS SECTION
================================ */

.progress-wrapper {
  margin-top: 34px;
  display: grid;
  gap: 20px;
}

.progress-item {
  background: #111827;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #e2e8f0;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: #1e293b;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  position: relative;
}

.progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.25), transparent);
}

.target-fill {
  width: 78%;
  background: linear-gradient(90deg, #0ea5e9, #38bdf8);
}

.customer-fill {
  width: 65%;
  background: linear-gradient(90deg, #8b5cf6, #c084fc);
}

/* ================================
   CHART SECTION
================================ */

.chart-container {
  margin-top: 34px;
  background: #111827;
  border-radius: 24px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.chart-header h3 {
  font-size: 18px;
}

.chart-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.chart-section {
  height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.chart-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bar {
  width: 100%;
  max-width: 35px;
  background: linear-gradient(180deg, #334155, #1e293b);
  border-radius: 16px 16px 6px 6px;
  transition: 0.35s;
  position: relative;
}

.bar:hover {
  transform: translateY(-8px);
  background: linear-gradient(180deg, #38bdf8, #0ea5e9);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.35);
}

.bar.active {
  background: linear-gradient(180deg, #38bdf8, #0284c7);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
}

.chart-item span {
  color: #94a3b8;
  font-size: 12px;
  text-align: center;
}

/* ================================
   ACTIVITY SECTION
================================ */

.activity-section {
  margin-top: 34px;
}

.activity-header h3 {
  font-size: 20px;
}

.activity-list {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
  flex-wrap: wrap;
}

.activity-item:hover {
  transform: translateX(6px);
  border-color: rgba(56, 189, 248, 0.18);
}

.activity-icon {
  min-width: 45px;
  height: 45px;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
}

.green {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.blue {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.orange {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
}

.activity-text {
  flex: 1;
  min-width: 150px;
}

.activity-text h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.activity-text p {
  color: #94a3b8;
  font-size: 13px;
}

.time {
  color: #64748b;
  font-size: 12px;
  white-space: nowrap;
}

/* ================================
   FOOTER BUTTONS
================================ */

.footer {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer button {
  border: none;
  padding: 12px 18px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
  flex: 1;
  min-width: 120px;
}

.refresh-btn {
  background: #0ea5e9;
  color: white;
}

.refresh-btn:hover {
  background: #0284c7;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.3);
}

.export-btn {
  background: #1e293b;
  color: white;
}

.export-btn:hover {
  background: #334155;
  transform: translateY(-3px);
}

/* ================================
   EXTRA CREATIVE ANALYTICS CARDS
================================ */

.team-card,
.sales-card,
.crypto-card,
.ai-card,
.task-card,
.storage-card,
.social-card,
.weather-card {
  margin-top: 30px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  margin-left: var(--sidebar-w);
  background: #111;
  color: #aaa;
  padding: 0;
  margin-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  gap: 40px;
  padding: 56px 48px 40px;
  max-width: 100%;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: #888;
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  text-decoration: none;
  font-size: 14px;
  transition: all var(--transition);
}

.socials a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  background: #1e1e1e;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form button {
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.newsletter-form button:hover {
  background: #d45c28;
}

.footer-bottom {
  border-top: 1px solid #1e1e1e;
  padding: 20px 48px;
  text-align: center;
  font-size: 13px;
  color: #555;
}


/* ================================
   RESPONSIVE
================================ */

@media (max-width: 640px) {
  body {
    padding: 15px;
    align-items: flex-start;
    padding-top: 15px;
  }

  .analytics-card {
    max-width: 100%;
    padding: 20px;
  }

  .card-header {
    flex-direction: column;
    gap: 10px;
  }

  .card-header h2 {
    font-size: 24px;
  }

  .menu-btn {
    align-self: flex-end;
  }

  .stats-section {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
  }

  .stat-box {
    padding: 16px;
  }

  .icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
    margin-bottom: 10px;
  }

  .stat-box h3 {
    font-size: 20px;
  }

  .chart-section {
    height: 160px;
    gap: 8px;
  }

  .bar {
    max-width: 30px;
  }

  .activity-item {
    gap: 10px;
  }

  .activity-text {
    min-width: auto;
    flex: 1;
  }

  .footer {
    gap: 10px;
  }

  .footer button {
    flex: 1;
    min-width: 100px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .team-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .member,
  .social-box {
    padding: 16px;
  }

  .sales-card {
    flex-direction: column;
    gap: 20px;
  }

  .circle-progress {
    width: 150px;
    height: 150px;
  }

  .circle-progress::before {
    width: 110px;
    height: 110px;
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .analytics-card {
    padding: 16px;
  }

  .card-header h2 {
    font-size: 20px;
  }

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

  .stat-box {
    padding: 14px;
  }

  .progress-wrapper {
    gap: 15px;
  }

  .chart-container {
    padding: 16px;
  }

  .chart-header h3 {
    font-size: 16px;
  }

  .chart-section {
    height: 140px;
  }

  .activity-list {
    gap: 12px;
  }

  .activity-item {
    padding: 12px;
    font-size: 13px;
  }

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

  .footer button {
    width: 100%;
    padding: 12px;
  }
}
/* ============================================================
   THEME STYLING OVERRIDES
   Navbar, Sidebar, and Footer theme colors:
   - Light Mode: White background, dark text/icons
   - Dark Mode: Black background, light/white text/icons
   ============================================================ */

/* ==========================================
   1. LIGHT MODE SPECIFIC (body:not(.dark-mode))
   ========================================== */
body:not(.dark-mode) .navbar,
body:not(.dark-mode) header.navbar,
body:not(.dark-mode) nav.navbar,
body:not(.dark-mode) .sidebar,
body:not(.dark-mode) aside.sidebar,
body:not(.dark-mode) .footer,
body:not(.dark-mode) footer.footer {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
}

/* Ensure text, icons, links inside these components are dark */
body:not(.dark-mode) .navbar *,
body:not(.dark-mode) header.navbar *,
body:not(.dark-mode) nav.navbar *,
body:not(.dark-mode) .sidebar *,
body:not(.dark-mode) aside.sidebar *,
body:not(.dark-mode) .footer *,
body:not(.dark-mode) footer.footer * {
  color: #334155 !important;
}

/* Titles and major headings */
body:not(.dark-mode) .navbar .logo,
body:not(.dark-mode) .sidebar .sidebar-brand,
body:not(.dark-mode) .sidebar h2,
body:not(.dark-mode) .sidebar .brand-text,
body:not(.dark-mode) .footer h2,
body:not(.dark-mode) .footer h3,
body:not(.dark-mode) .footer-logo {
  color: #0f172a !important;
}

/* Sidebar navigation links */
body:not(.dark-mode) .sidebar-nav li a,
body:not(.dark-mode) .sidebar ul li a,
body:not(.dark-mode) .sidebar a {
  background: transparent !important;
  color: #475569 !important;
}

/* Sidebar active link and hover states */
body:not(.dark-mode) .sidebar-nav li.active a,
body:not(.dark-mode) .sidebar-nav li a:hover,
body:not(.dark-mode) .sidebar ul li.active a,
body:not(.dark-mode) .sidebar ul li a:hover,
body:not(.dark-mode) .sidebar a:hover,
body:not(.dark-mode) .sidebar .active a {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

body:not(.dark-mode) .sidebar-nav li.active a *,
body:not(.dark-mode) .sidebar-nav li a:hover *,
body:not(.dark-mode) .sidebar ul li.active a *,
body:not(.dark-mode) .sidebar ul li a:hover *,
body:not(.dark-mode) .sidebar a:hover *,
body:not(.dark-mode) .sidebar .active a * {
  color: #0f172a !important;
}

/* Footer links hover */
body:not(.dark-mode) .footer a:hover,
body:not(.dark-mode) footer.footer a:hover {
  color: #4f46e5 !important; /* Premium brand indigo */
}

/* Search bar inside navbar */
body:not(.dark-mode) .search-bar input {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}
body:not(.dark-mode) .search-bar input::placeholder {
  color: #64748b !important;
}

/* Outline and secondary buttons inside light navbar/sidebar */
body:not(.dark-mode) .navbar .nav-btn.outline-nav-btn,
body:not(.dark-mode) .navbar .outline-btn {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}
body:not(.dark-mode) .navbar .nav-btn.outline-nav-btn:hover,
body:not(.dark-mode) .navbar .outline-btn:hover {
  background-color: #f1f5f9 !important;
}


/* ==========================================
   2. DARK MODE SPECIFIC (body.dark-mode)
   ========================================== */
body.dark-mode .navbar,
body.dark-mode header.navbar,
body.dark-mode nav.navbar,
body.dark-mode .sidebar,
body.dark-mode aside.sidebar,
body.dark-mode .footer,
body.dark-mode footer.footer {
  background: #000000 !important;
  background-color: #000000 !important;
  color: #f8fafc !important;
  border-color: #1e293b !important;
  box-shadow: none !important;
}

/* Ensure text, icons, links inside these components are light */
body.dark-mode .navbar *,
body.dark-mode header.navbar *,
body.dark-mode nav.navbar *,
body.dark-mode .sidebar *,
body.dark-mode aside.sidebar *,
body.dark-mode .footer *,
body.dark-mode footer.footer * {
  color: #cbd5e1 !important; /* slate-300 */
}

/* Titles and major headings */
body.dark-mode .navbar .logo,
body.dark-mode .sidebar .sidebar-brand,
body.dark-mode .sidebar h2,
body.dark-mode .sidebar .brand-text,
body.dark-mode .footer h2,
body.dark-mode .footer h3,
body.dark-mode .footer-logo {
  color: #ffffff !important;
}

/* Sidebar navigation links */
body.dark-mode .sidebar-nav li a,
body.dark-mode .sidebar ul li a,
body.dark-mode .sidebar a {
  background: transparent !important;
  color: #94a3b8 !important;
}

/* Sidebar active link and hover states */
body.dark-mode .sidebar-nav li.active a,
body.dark-mode .sidebar-nav li a:hover,
body.dark-mode .sidebar ul li.active a,
body.dark-mode .sidebar ul li a:hover,
body.dark-mode .sidebar a:hover,
body.dark-mode .sidebar .active a {
  background-color: #1e293b !important; /* slate-800 */
  color: #ffffff !important;
}

body.dark-mode .sidebar-nav li.active a *,
body.dark-mode .sidebar-nav li a:hover *,
body.dark-mode .sidebar ul li.active a *,
body.dark-mode .sidebar ul li a:hover *,
body.dark-mode .sidebar a:hover *,
body.dark-mode .sidebar .active a * {
  color: #ffffff !important;
}

/* Footer links hover */
body.dark-mode .footer a:hover,
body.dark-mode footer.footer a:hover {
  color: #818cf8 !important; /* Indigo-400 */
}

/* Search bar inside navbar */
body.dark-mode .search-bar input {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #1e293b !important;
}
body.dark-mode .search-bar input::placeholder {
  color: #475569 !important;
}

/* Secondary/outline buttons in dark navbar */
body.dark-mode .navbar .nav-btn.outline-nav-btn,
body.dark-mode .navbar .outline-btn {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #334155 !important;
}
body.dark-mode .navbar .nav-btn.outline-nav-btn:hover,
body.dark-mode .navbar .outline-btn:hover {
  background-color: #0f172a !important;
}


/* ==========================================
   3. THEME TOGGLE BUTTON STYLING (GLOBAL)
   ========================================== */
.theme-toggle,
#darkModeToggle,
#theme-toggle {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  font-size: 1.15rem !important;
  padding: 8px 12px !important;
  border-radius: 9999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

body:not(.dark-mode) .theme-toggle,
body:not(.dark-mode) #darkModeToggle,
body:not(.dark-mode) #theme-toggle {
  color: #475569 !important;
  background-color: #f1f5f9 !important;
}
body:not(.dark-mode) .theme-toggle:hover,
body:not(.dark-mode) #darkModeToggle:hover,
body:not(.dark-mode) #theme-toggle:hover {
  color: #0f172a !important;
  background-color: #e2e8f0 !important;
  transform: scale(1.05);
}

body.dark-mode .theme-toggle,
body.dark-mode #darkModeToggle,
body.dark-mode #theme-toggle {
  color: #e2e8f0 !important;
  background-color: #1e293b !important;
}
body.dark-mode .theme-toggle:hover,
body.dark-mode #darkModeToggle:hover,
body.dark-mode #theme-toggle:hover {
  color: #ffffff !important;
  background-color: #334155 !important;
  transform: scale(1.05);
}

/* Floating theme toggle button (for pages without navbar/sidebar) */
.theme-toggle-floating {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 9999 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}
body.dark-mode .theme-toggle-floating {
  box-shadow: 0 4px 12px rgba(0,0,0,0.5) !important;
}

/* Sidebar list item toggle button */
.sidebar .theme-toggle-sidebar {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 16px !important;
  width: calc(100% - 32px) !important;
  margin: 10px 16px !important;
  border-radius: 8px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  border: none !important;
  background-color: transparent !important;
}
body:not(.dark-mode) .sidebar .theme-toggle-sidebar {
  color: #475569 !important;
  background-color: #f1f5f9 !important;
}
body:not(.dark-mode) .sidebar .theme-toggle-sidebar:hover {
  color: #0f172a !important;
  background-color: #e2e8f0 !important;
}
body.dark-mode .sidebar .theme-toggle-sidebar {
  color: #cbd5e1 !important;
  background-color: #1e293b !important;
}
body.dark-mode .sidebar .theme-toggle-sidebar:hover {
  color: #ffffff !important;
  background-color: #334155 !important;
}