/* ===================================================
   BUTTONS.CSS — UIverse Buttons Page Styles
   Import AFTER style.css AND home.css
   =================================================== */

:root {
  --accent: #eb6835;
  --accent-glow: rgb(235 104 53 / 18%);
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --body-bg: #f8fafc;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --sidebar-w: 260px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-heading: "Syne", Arial, sans-serif;
  --transition: 0.25s ease;
}

body {
  margin: 0;
  background: var(--body-bg);
  color: var(--text-primary);
}

body.dark-mode {
  --accent: #ff8a5b;
  --accent-glow: rgb(255 138 91 / 22%);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --body-bg: #0b0f19;
  --card-bg: #111827;
  --card-border: rgb(148 163 184 / 18%);
}

/* ============================================================
   MAIN LAYOUT
   ============================================================ */
.main-home {
  margin-left: var(--sidebar-w, 260px);
  padding: 110px 40px 40px 40px;
  min-height: 100vh;
}

@media (max-width: 992px) {
  .main-home {
    margin-left: 0;
    padding: 100px 20px 20px 20px;
  }
}

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  overflow: hidden;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(235, 104, 53, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-left {
  flex: 1;
  min-width: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb i {
  font-size: 10px;
}

.page-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.page-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 0 24px;
}

.page-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(235, 104, 53, 0.08);
  color: var(--accent);
  border: 1px solid rgba(235, 104, 53, 0.2);
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
}

.page-hero-right {
  flex-shrink: 0;
}

.hero-btn-preview {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.preview-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  width: var(--sidebar-w);
  height: 100vh;
  background: linear-gradient(160deg, #141428 0%, #1c1c35 100%);
  display: flex;
  flex-direction: column;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform var(--transition);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-icon {
  font-size: 24px;
  color: var(--accent);
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.5px;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  color: #8a9bc0;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}

.sidebar-nav li a i {
  width: 18px;
  text-align: center;
  font-size: 15px;
}

.sidebar-nav li a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transform: translateX(3px);
}

.sidebar-nav li.active a {
  background: linear-gradient(90deg, rgba(235, 104, 53, 0.2) 0%, rgba(235, 104, 53, 0.05) 100%);
  color: var(--accent);
  border-left: 3px solid var(--accent);
}

.sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 16px;
}

.sidebar-footer a {
  color: #6a7a94;
  font-size: 16px;
  transition: color var(--transition);
}

.sidebar-footer a:hover {
  color: var(--accent);
}

/* Sidebar backdrop (mobile) */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  backdrop-filter: blur(2px);
}

.sidebar-backdrop.visible {
  display: block;
}

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 40px;
  border: 1.5px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.filter-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 40px;
  padding: 7px 16px;
  margin-left: auto;
  transition: all var(--transition);
}

.filter-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.filter-search i {
  font-size: 12px;
  color: #aaa;
}

.filter-search input {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-primary);
  width: 160px;
}

.filter-search input::placeholder {
  color: #aaa;
}

/* ============================================================
   BUTTON GRID & COMPONENT CARDS
   ============================================================ */
.button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.component-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
}

.component-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.component-card:hover {
  border-color: rgba(235, 104, 53, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
  transform: translateY(-4px);
}

/* Card Top Row */
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Card Tags */
.card-tag {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.tag-popular {
  background: rgba(116, 185, 255, 0.15);
  color: #0984e3;
}

.tag-trending {
  background: rgba(253, 121, 168, 0.15);
  color: #e84393;
}

.tag-new,
.tag-status {
  background: rgba(0, 184, 148, 0.15);
  color: #00b894;
}

.tag-essential {
  background: rgba(253, 203, 110, 0.15);
  color: #e17055;
}

.tag-danger {
  background: rgba(214, 48, 49, 0.12);
  color: #d63031;
}

.tag-warning {
  background: rgba(253, 203, 110, 0.15);
  color: #d98e00;
}

/* Preview area */
.card-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  background: var(--body-bg);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.dark-preview {
  background: #0f0f12;
}

.glass-preview {
  background: linear-gradient(135deg, #6c5ce7, #eb6835);
}

.card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Actions Row */
.actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.view-btn {
  background: rgba(235, 104, 53, 0.08);
  color: var(--accent);
  border: 1px solid rgba(235, 104, 53, 0.2);
}

.view-btn:hover {
  background: rgba(235, 104, 53, 0.15);
}

.copy-btn {
  opacity: 1;
  background: var(--accent, #eb6835);
  color: #fff;
}

.copy-btn:hover {
  opacity: 1;
  background: #d45c28;
  transform: translateY(-1px);
}

.copy-btn.copied {
  background: #00b894;
}

/* Code Block */
.code-block {
  display: none;
  background: #0f1117;
  color: #e0e0e0;
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 12px;
  line-height: 1.65;
  overflow-x: auto;
  margin: 0;
  font-family: 'Fira Code', 'Cascadia Code', 'Courier New', monospace;
  border: 1px solid #2a2a2a;
  white-space: pre;
}

.code-block.open {
  display: block;
  animation: slideDown 0.2s ease;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.code-block code {
  background: none;
  padding: 0;
  font-size: inherit;
}

/* ============================================================
   BUTTON STYLES (the actual demo buttons)
   ============================================================ */

/* Gradient */
.gradient-btn {
  padding: 10px 24px;
  border: none;
  color: #fff;
  background: linear-gradient(45deg, #eb6835, #6c5ce7);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 14px;
  transition: 0.3s;
}

.gradient-btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(235, 104, 53, 0.35);
}

/* Outline */
.outline-btn {
  padding: 10px 24px;
  border: 2px solid #eb6835;
  background: transparent;
  color: #eb6835;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 14px;
  transition: 0.3s;
}

.outline-btn:hover {
  background: #eb6835;
  color: #fff;
  transform: translateY(-2px);
}

/* Neon */
.neon-btn {
  padding: 10px 24px;
  background: transparent;
  color: #00ffe0;
  border: 1.5px solid #00ffe0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

.neon-btn:hover {
  box-shadow: 0 0 16px #00ffe0, 0 0 40px rgba(0, 255, 224, 0.3);
  transform: translateY(-2px);
}

/* Glass */
.glass-btn {
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 14px;
  transition: 0.3s;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

/* Shadow */
.shadow-btn {
  padding: 10px 24px;
  background: #fff;
  color: #111;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: 0.3s;
}

.shadow-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

/* Rounded / Pill */
.rounded-btn {
  padding: 10px 28px;
  background: #eb6835;
  color: #fff;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 14px;
  transition: 0.3s;
}

.rounded-btn:hover {
  background: #d45c28;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(235, 104, 53, 0.3);
}

/* Icon */
.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #eb6835;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 18px rgba(235, 104, 53, 0.4);
}

/* Success */
.success-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  background: #00b894;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 14px;
  transition: 0.3s;
}

.success-btn:hover {
  background: #00a381;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 184, 148, 0.3);
}

/* Danger */
.danger-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  background: #d63031;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 14px;
  transition: 0.3s;
}

.danger-btn:hover {
  background: #b52828;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(214, 48, 49, 0.3);
}

/* Warning */
.warning-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  background: #fdcb6e;
  color: #333;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 14px;
  transition: 0.3s;
}

.warning-btn:hover {
  background: #e6b85c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(253, 203, 110, 0.35);
}

/* Loading */
.loading-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #aaa;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: not-allowed;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 14px;
  opacity: 0.85;
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Ghost */
.ghost-btn {
  padding: 10px 24px;
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--card-border);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 14px;
  transition: 0.3s;
}

.ghost-btn:hover {
  border-color: #eb6835;
  color: #eb6835;
}

/* Animated / Pulse */
.animated-btn {
  padding: 10px 24px;
  background: #eb6835;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 14px;
  animation: pulse-ring 1.8s ease-in-out infinite;
}

@keyframes pulse-ring {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(235, 104, 53, 0.55);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(235, 104, 53, 0);
  }
}

/* 3D */
.btn-3d {
  padding: 10px 24px;
  background: #eb6835;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 14px;
  box-shadow: 0 6px 0 #9e3d18;
  transform: translateY(0);
  transition: transform 0.12s, box-shadow 0.12s;
  letter-spacing: 0.3px;
}

.btn-3d:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #9e3d18;
}

.btn-3d:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #9e3d18;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .page-hero {
    flex-direction: column;
    padding: 36px 24px;
  }

  .page-hero-right {
    display: none;
  }

  .filter-search {
    margin-left: 0;
    width: 100%;
  }

  .filter-search input {
    width: 100%;
  }

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

@media (max-width: 480px) {
  .page-title {
    font-size: 26px;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-btn {
    text-align: center;
  }
}

/* MAGNETIC */
.magnetic-btn {
  padding: 14px 34px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #6c5ce7, #00cec9);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: .35s ease;
  box-shadow: 0 10px 30px rgba(108, 92, 231, .35);
}

.magnetic-btn:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 40px rgba(108, 92, 231, .45);
}

/* LIQUID */
.liquid-btn {
  position: relative;
  overflow: hidden;
  padding: 14px 34px;
  border: none;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  z-index: 1;
}

.liquid-btn span {
  position: absolute;
  width: 300px;
  height: 300px;
  background: #6c5ce7;
  border-radius: 40%;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  transition: 1s;
  z-index: -1;
}

.liquid-btn:hover span {
  top: -70px;
}

/* CYBER */
.cyber-btn {
  padding: 14px 34px;
  border: 2px solid #00ffe0;
  background: transparent;
  color: #00ffe0;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
  transition: .3s;
}

.cyber-btn:hover {
  background: #00ffe0;
  color: #111;
  box-shadow: 0 0 24px #00ffe0;
}

/* GLOW GRADIENT */
.glow-gradient-btn {
  padding: 14px 34px;
  border: none;
  border-radius: 14px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(90deg,
      #ff6b6b,
      #6c5ce7,
      #00cec9,
      #ff6b6b);
  background-size: 300%;
  animation: gradientMove 5s linear infinite;
  box-shadow: 0 0 24px rgba(108, 92, 231, .4);
}

@keyframes gradientMove {
  0% {
    background-position: 0%;
  }

  100% {
    background-position: 300%;
  }
}

/* GLASS NEON */
.glass-neon-btn {
  padding: 14px 34px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  color: #00ffe0;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: .35s;
  box-shadow: 0 0 24px rgba(0, 255, 224, .15);
}

.glass-neon-btn:hover {
  box-shadow:
    0 0 12px #00ffe0,
    0 0 32px rgba(0, 255, 224, .4);
  transform: translateY(-3px);
}

/* SPLIT */
.split-btn-wrap {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
}

.split-main-btn,
.split-icon-btn {
  border: none;
  background: #6c5ce7;
  color: #fff;
  padding: 14px 20px;
  cursor: pointer;
  transition: .3s;
}

.split-icon-btn {
  border-left: 1px solid rgba(255, 255, 255, .15);
}

.split-btn-wrap button:hover {
  background: #5848d8;
}

/* FAB */
.fab-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #ff7675, #6c5ce7);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(108, 92, 231, .35);
  transition: .3s;
}

.fab-btn:hover {
  transform: translateY(-5px) rotate(90deg);
  box-shadow: 0 18px 40px rgba(108, 92, 231, .45);
}


/* ================= PROFESSIONAL BUTTONS CSS ================= */

/* AI Gradient */
.ai-gradient-btn {
  padding: 14px 32px;
  border: none;
  border-radius: 14px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg,
      #6c5ce7,
      #00cec9,
      #0984e3);
  background-size: 300%;
  cursor: pointer;
  transition: .4s;
  animation: aiGradient 6s linear infinite;
  box-shadow: 0 10px 30px rgba(108, 92, 231, .35);
}

.ai-gradient-btn:hover {
  transform: translateY(-4px) scale(1.02);
}

@keyframes aiGradient {
  0% {
    background-position: 0%
  }

  100% {
    background-position: 300%
  }
}


/* Morph */
.morph-btn {
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: .35s ease;
}

.morph-btn:hover {
  border-radius: 40px;
  padding: 14px 40px;
  letter-spacing: 1px;
  background: #6c5ce7;
}


/* Glow Border */
.glow-border-btn {
  position: relative;
  padding: 14px 32px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
}

.glow-border-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg,
      #00ffe0,
      #6c5ce7,
      #ff6b6b,
      #00ffe0);
  background-size: 300%;
  border-radius: 16px;
  z-index: -2;
  animation: borderGlow 5s linear infinite;
}

.glow-border-btn::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #111;
  border-radius: 12px;
  z-index: -1;
}

@keyframes borderGlow {
  0% {
    background-position: 0%
  }

  100% {
    background-position: 300%
  }
}


/* Slide Fill */
.slide-fill-btn {
  position: relative;
  overflow: hidden;
  padding: 14px 30px;
  border: 2px solid #111827;
  background: transparent;
  color: #111827;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  z-index: 1;
  transition: .3s;
}

.slide-fill-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #111827;
  transition: .4s;
  z-index: -1;
}

.slide-fill-btn:hover {
  color: #fff;
}

.slide-fill-btn:hover::before {
  left: 0;
}


/* Pulse Glow */
.pulse-glow-btn {
  padding: 14px 30px;
  border: none;
  border-radius: 12px;
  background: #00b894;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 184, 148, .5);
  }

  70% {
    box-shadow: 0 0 0 18px rgba(0, 184, 148, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 184, 148, 0);
  }
}


/* Floating Gradient */
.floating-gradient-btn {
  padding: 14px 34px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg,
      #ff6b6b,
      #6c5ce7);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: .35s;
  box-shadow:
    0 10px 20px rgba(108, 92, 231, .3),
    0 18px 40px rgba(255, 107, 107, .25);
}

.floating-gradient-btn:hover {
  transform: translateY(-6px);
}


/* Split Hover */
.split-hover-btn {
  position: relative;
  overflow: hidden;
  padding: 14px 34px;
  border: none;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.split-hover-btn::before,
.split-hover-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 50%;
  left: 0;
  background: #6c5ce7;
  transition: .35s;
  z-index: 0;
}

.split-hover-btn::before {
  top: -50%;
}

.split-hover-btn::after {
  bottom: -50%;
}

.split-hover-btn:hover::before {
  top: 0;
}

.split-hover-btn:hover::after {
  bottom: 0;
}

.split-hover-btn span,
.split-hover-btn {
  position: relative;
  z-index: 1;
}


/* Soft Shadow */
.soft-shadow-btn {
  padding: 14px 30px;
  border: none;
  border-radius: 14px;
  background: #fff;
  color: #111827;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
  box-shadow:
    8px 8px 18px rgba(0, 0, 0, .08),
    -6px -6px 16px rgba(255, 255, 255, .9);
}

.soft-shadow-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    12px 12px 24px rgba(0, 0, 0, .12),
    -6px -6px 18px rgba(255, 255, 255, 1);
}

/* ============================================================
   5 PREMIUM BUTTONS: NEON GLOW, MAGNETIC, GLASS, RIPPLE, LOADING
   ============================================================ */

/* 1. Neon Glow Button */
.neon-glow-btn {
  padding: 12px 28px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  font-size: 14px;
}

.neon-glow-btn::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ff007f, #7f00ff, #00f0ff, #ff007f);
  background-size: 400%;
  border-radius: 12px;
  z-index: -1;
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: neon-glow-flow 8s linear infinite;
}

.neon-glow-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 0, 127, 0.2);
}

.neon-glow-btn:hover::before {
  opacity: 1;
}

@keyframes neon-glow-flow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* 2. Magnetic Hover Button */
.magnetic-hover-btn {
  padding: 12px 28px;
  background: #6c5ce7;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
  position: relative;
}

.magnetic-hover-btn:hover {
  box-shadow: 0 8px 25px rgba(108, 92, 231, 0.5);
}

/* 3. Glassmorphism Button */
.glassmorphism-btn {
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 14px;
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
}

.glassmorphism-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.glassmorphism-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.glassmorphism-btn:hover::after {
  left: 150%;
}

/* 4. Ripple Effect Button */
.ripple-effect-btn {
  padding: 12px 28px;
  background: #eb6835;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(235, 104, 53, 0.3);
}

.ripple-effect-btn:hover {
  background: #d45c28;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(235, 104, 53, 0.45);
}

.ripple-span {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  background-color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* 5. Loading State Button */
.loading-state-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  background: #6c5ce7;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 14px rgba(108, 92, 231, 0.3);
}

.loading-state-btn:hover {
  background: #5848d8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(108, 92, 231, 0.4);
}

.loading-state-btn .spinner-icon {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

.loading-state-btn.loading {
  background: #aaa;
  color: rgba(255, 255, 255, 0.85);
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.loading-state-btn.loading .spinner-icon {
  display: inline-block;
}

.loading-state-btn.success {
  background: #00b894;
  transform: none !important;
  box-shadow: none !important;
}

.animated-gradient-btn {
  padding: 12px 28px;
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  background-size: 300% 300%;
  background-image: linear-gradient(45deg,
      #eb6835,
      #6c5ce7,
      #00b894,
      #0984e3,
      #d63031);
  animation: gradientShift 6s ease infinite;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.animated-gradient-btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.animated-gradient-btn.fast {
  animation-duration: 3s;
}

.animated-gradient-btn.slow {
  animation-duration: 10s;
}

.animated-gradient-btn.alt {
  background-image: linear-gradient(45deg,
      #ff6f61,
      #ffcc00,
      #4caf50,
      #2196f3,
      #9c27b0);
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


/* Default color combo */
.animated-gradient-btn {
  background-image: linear-gradient(45deg,
      #eb6835,
      #6c5ce7,
      #00b894,
      #0984e3,
      #d63031);
}

/* Keyframes for gradient animation */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ============================================================
   5 EXTRA PREMIUM BUTTONS: PORTAL, ARCADE, LIQUID, SPARKLE, GLITCH
   ============================================================ */

/* 1. Neon Portal Button */
.neon-portal-btn {
  padding: 12px 28px;
  background: #0d0915;
  color: #fff;
  border: 2px solid #a855f7;
  border-radius: 12px;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.neon-portal-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.8) 0%, rgba(59, 130, 246, 0.8) 70%, transparent 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: 0;
}

.neon-portal-btn:hover {
  border-color: #60a5fa;
  box-shadow: 0 0 25px rgba(96, 165, 250, 0.6), inset 0 0 8px rgba(168, 85, 247, 0.5);
  transform: translateY(-2px);
}

.neon-portal-btn:hover::before {
  width: 300px;
  height: 300px;
}

.neon-portal-btn span {
  position: relative;
  z-index: 1;
}

/* 2. Retro Arcade 3D Button */
.retro-arcade-btn {
  padding: 12px 28px;
  background: #22c55e;
  color: #fff;
  border: 3px solid #000;
  border-radius: 0px;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 6px 0 #000;
  transform: translateY(0);
  transition: transform 0.1s, box-shadow 0.1s;
}

.retro-arcade-btn:hover {
  background: #4ade80;
}

.retro-arcade-btn:active {
  transform: translateY(6px);
  box-shadow: 0 0 0 #000;
}

/* 3. Liquid Outline Button */
.liquid-outline-btn {
  padding: 12px 28px;
  background: transparent;
  color: #06b6d4;
  border: 2px solid #06b6d4;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  z-index: 1;
}

.liquid-outline-btn::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #06b6d4;
  transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.liquid-outline-btn:hover {
  color: #fff;
}

.liquid-outline-btn:hover::before {
  top: 0;
}

/* 4. Glassmorphic Sparkle Button */
.glass-sparkle-btn {
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: #fff;
  font-weight: 500;
  font-family: var(--font-body);
  font-size: 14px;
  backdrop-filter: blur(10px);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.glass-sparkle-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30px;
  height: 200%;
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(35deg);
  transition: left 0.6s ease;
}

.glass-sparkle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  transform: scale(1.02);
}

.glass-sparkle-btn:hover::after {
  left: 130%;
}

/* 5. Cyber Glitch Text Button */
.cyber-glitch-btn {
  padding: 12px 28px;
  background: #eab308;
  color: #000;
  border: none;
  border-radius: 4px;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}

.cyber-glitch-btn:hover {
  background: #facc15;
}

.cyber-glitch-btn::before,
.cyber-glitch-btn::after {
  content: 'GLITCH';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #eab308;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

.cyber-glitch-btn:hover::before {
  animation: glitch-anim-1 0.4s infinite linear alternate-reverse;
}

.cyber-glitch-btn:hover::after {
  animation: glitch-anim-2 0.4s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% {
    clip-path: inset(40% 0 61% 0);
    transform: skew(0.3deg);
  }

  20% {
    clip-path: inset(92% 0 1% 0);
    transform: skew(-0.5deg);
  }

  40% {
    clip-path: inset(15% 0 80% 0);
    transform: skew(0.5deg);
  }

  60% {
    clip-path: inset(80% 0 5% 0);
    transform: skew(-0.3deg);
  }

  80% {
    clip-path: inset(3% 0 92% 0);
    transform: skew(0.8deg);
  }

  100% {
    clip-path: inset(67% 0 30% 0);
    transform: skew(-0.2deg);
  }
}

@keyframes glitch-anim-2 {
  0% {
    clip-path: inset(25% 0 58% 0);
    transform: skew(-0.8deg);
  }

  20% {
    clip-path: inset(70% 0 10% 0);
    transform: skew(0.5deg);
  }

  40% {
    clip-path: inset(5% 0 85% 0);
    transform: skew(-0.4deg);
  }

  60% {
    clip-path: inset(62% 0 18% 0);
    transform: skew(0.6deg);
  }

  80% {
    clip-path: inset(40% 0 45% 0);
    transform: skew(-0.2deg);
  }

  100% {
    clip-path: inset(80% 0 5% 0);
    transform: skew(0.3deg);
  }
}
/* ============================================================
   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;
}