html, body {
  min-height: 100vh;
  margin: 0;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  color: #f3f6fa;
  overflow: auto;
  scrollbar-width: none; /* Firefox */
}
body::-webkit-scrollbar, html::-webkit-scrollbar {
  width: 0 !important; /* Chrome, Safari, Edge */
  height: 0 !important;
}

/* Background image with blur effect */
body::before {
  content: "";
  position: fixed;
  z-index: -2;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('background.png') center center/cover no-repeat;
  opacity: 0.85;
  pointer-events: none;
}

.logo-link {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(30,34,54,0.7);
  box-shadow: 0 2px 8px #0003;
  transition: background 0.18s, box-shadow 0.18s;
  text-decoration: none;
}
.logo-link:hover {
  background: rgba(52,211,153,0.18);
  box-shadow: 0 4px 16px #34d39955;
}
.logo-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%; /* Bo tròn hoàn toàn */
  box-shadow: 0 2px 8px #0003;
  display: block;
}

@media (max-width: 600px) {
  .logo-link {
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
  }
  .logo-img {
    width: 28px;
    height: 28px;
  }
}

.dashboard-container {
  max-width: 500px;
  margin: 60px auto;
  background: rgba(30, 34, 54, 0.85);
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37), 0 0 0 2px #34d39933;
  padding: 40px 32px 32px 32px;
  backdrop-filter: blur(18px);
  border: 1.5px solid rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}

.dashboard-title {
  text-align: center;
  margin-bottom: 36px;
  font-size: 2.3rem;
  letter-spacing: 1.2px;
  color: #6ee7b7;
  text-shadow: 0 2px 12px #0006;
  font-weight: 700;
}

h2 {
  margin-bottom: 14px;
  color: #a5b4fc;
  font-size: 1.18rem;
  letter-spacing: 0.6px;
  font-weight: 600;
}

.status-list, .system-status-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.session-item, .system-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  margin-bottom: 14px;
  padding: 16px 22px;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px #0002;
  transition: background 0.22s, box-shadow 0.22s;
  border: 1.5px solid transparent;
  position: relative;
}

.session-item:hover, .system-status-item:hover {
  background: rgba(255,255,255,0.13);
  box-shadow: 0 4px 16px #34d39933, 0 2px 8px #0003;
  border: 1.5px solid #34d39955;
}

.status {
  display: inline-block;
  min-width: 80px;
  text-align: center;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  padding: 5px 16px;
  font-size: 1em;
  letter-spacing: 0.7px;
  box-shadow: 0 2px 8px #0002;
  border: 1.5px solid transparent;
  transition: background 0.2s, border 0.2s;
}

.online, .ok {
  background: linear-gradient(90deg, #34d399 60%, #059669 100%);
  box-shadow: 0 0 12px #34d39955;
  border: 1.5px solid #34d399cc;
}

.offline, .error {
  background: linear-gradient(90deg, #f87171 60%, #b91c1c 100%);
  box-shadow: 0 0 12px #f8717155;
  border: 1.5px solid #f87171cc;
}

.warning {
  background: linear-gradient(90deg, #fbbf24 60%, #f59e42 100%);
  color: #23283a;
  box-shadow: 0 0 12px #fbbf2455;
  border: 1.5px solid #fbbf24cc;
}

.divider {
  height: 36px;
}

@media (max-width: 600px) {
  .dashboard-container {
    padding: 18px 4vw 18px 4vw;
    max-width: 98vw;
  }
  .dashboard-title {
    font-size: 1.5rem;
  }
  .session-item, .system-status-item {
    padding: 12px 8px;
    font-size: 0.98rem;
  }
  .status {
    min-width: 60px;
    padding: 4px 8px;
    font-size: 0.95em;
  }
}

.notify-banner {
  position: fixed;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 320px;
  max-width: 90vw;
  background: linear-gradient(90deg, #34d399 60%, #059669 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 18px 32px;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.25);
  text-align: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: top 0.5s cubic-bezier(.4,2,.3,1), opacity 0.4s;
}
.notify-banner.show {
  top: 0;
  opacity: 1;
  pointer-events: all;
}
.notify-banner.hidden {
  display: none;
}
