:root {
  --bg: #0d0d0d;
  --text: #ffffff;
  --primary: #ff00aa;
  --accent: #00ff88;
}

/* ======================
   GLOBAL USAGE
====================== */

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page-transition {
  animation: pageFade 180ms ease-out;
}

@keyframes pageFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* zone SPA */
#app {
  min-height: 100vh;
  position: relative;
}

/* ======================
   🔥 TRANSITIONS SPA
====================== */

.page {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.25s ease;
}

.page.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

.page.slide-out {
  opacity: 0;
  transform: translateX(-20px);
}

/* ======================
   NOTIFICATION
====================== */


#test-notif-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ff2bd6;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255, 43, 214, 0.5);
  z-index: 99999;
}

#test-notif-btn:hover {
  transform: scale(1.05);
}


.notif-container {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 99999;
  pointer-events: none;
}

.notif {
  background: rgba(0,0,0,0.85);
  border: 1px solid #ff2bd6;
  color: white;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 43, 214, 0.4);
  animation: notifPop 0.2s ease;
  pointer-events: auto;
  min-width: 220px;
  font-size: 14px;
  cursor: pointer;
}

.notif strong {
  color: #39ff14;
}

@keyframes notifPop {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ======================
   GLOBAL DOT
====================== */

.status-dot.online,
.status-online {
    background: lime;
   /* box-shadow: 0 0 10px lime; */
}

.status-dot.offline,
.status-offline {
    background: red;
    /* box-shadow: 0 0 10px red; */
    opacity: .7;
}

.status-dot.idle,
.status-idle {
    background: orange;
    /* box-shadow: 0 0 10px orange; */
}