:root{
  --bg:#010107;
  --accent:#00aaff;
  --muted:#5588aa;
}
*{box-sizing:border-box}
html,body{height:100%;margin:0}
body{
  background:linear-gradient(180deg,#00020a 0%,var(--bg) 100%);
  color:var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.path {
  position:fixed;
  left:12px;
  top:12px;
  color:var(--accent);
  font-size:14px;
  display:flex;
  gap:8px;
  align-items:center;
  background:transparent;
  z-index:10;
}
.cursor {
  width:8px;
  height:16px;
  background:var(--accent);
  border-radius:2px;
  animation:blink 1s steps(2,start) infinite;
  box-shadow:0 0 8px rgba(0,170,255,0.15);
}
@keyframes blink{50%{opacity:0}}

.wrap {
  width:min(920px,96vw);
  max-width:920px;
  display:flex;
  gap:20px;
  padding:20px;
  border-radius:10px;
  border:1px solid rgba(0,170,255,0.15);
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.console {
  width:42%;
  min-width:220px;
  background:rgba(0,0,0,0.35);
  padding:14px;
  border-radius:6px;
  border:1px solid rgba(0,170,255,0.1);
  font-size:13px;
  line-height:1.5;
  color:var(--accent);
}
.console .title{color:var(--accent); font-weight:700; margin-bottom:6px}
.console .dim{color:var(--muted); font-size:12px}

.panel {
  width:58%;
  min-width:260px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.panel h2{margin:0;color:#e4f6ff;font-size:18px}
.desc{color:var(--muted); font-size:13px; margin-bottom:6px}

.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:12px;color:var(--muted); text-transform:lowercase}
.field input{
  padding:10px 12px;
  border-radius:6px;
  border:1px solid rgba(0,170,255,0.2);
  background:transparent;
  color:var(--accent);
  font-size:14px;
  outline:none;
}
.field input::placeholder{color:rgba(0,170,255,0.3)}
.field input:focus{
  box-shadow:0 8px 30px rgba(0,170,255,0.03);
  border-color:var(--accent);
}

.actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px}
.btn{
  padding:10px 14px;border-radius:8px;border:1px solid rgba(0,170,255,0.3);
  background:linear-gradient(180deg,rgba(0,170,255,0.1),rgba(0,170,255,0.05));
  color:var(--accent);font-weight:700;cursor:pointer;text-transform:uppercase;font-size:13px;
}

.muted{color:var(--muted);font-size:12px}

@media (max-width:820px){
  .wrap{flex-direction:column}
  .console,.panel{width:100%}
}

/* === Dashboard Layout === */
.dashboard-body {
  align-items: flex-start;
  justify-content: flex-start;
  height: 100vh;
  padding: 0;
}

.dashboard-container {
  display: flex;
  width: 100%;
  height: 100%;
}

.sidebar {
  width: 240px;
  flex-shrink: 0;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  border-right: 1px solid rgba(0, 170, 255, 0.1);
  padding: 14px;
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.sidebar-header {
  padding: 10px;
  border-bottom: 1px solid rgba(0, 170, 255, 0.1);
  margin-bottom: 10px;
}

.sidebar-header .title {
  color: #e4f6ff;
  font-size: 18px;
  font-weight: 700;
}

.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.nav-menu li a.nav-link {
  display: block;
  padding: 12px 10px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav-menu li a.nav-link:hover {
  background: rgba(0, 170, 255, 0.05);
  color: var(--accent);
}

.nav-menu li a.nav-link.active {
  background: rgba(0, 170, 255, 0.1);
  color: #e4f6ff;
  font-weight: 700;
}

.sidebar-footer {
  padding: 10px;
  border-top: 1px solid rgba(0, 170, 255, 0.1);
  margin-top: 10px;
}

.main-content {
  flex-grow: 1;
  padding: 40px;
  height: 100vh;
  overflow-y: auto;
}

.page-content {
  display: none;
}

.page-content.active {
  display: block;
}

/* Override panel styles for dashboard context if needed */
.main-content .panel {
    width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* Responsive adjustments for dashboard */
@media (max-width: 820px) {
  .dashboard-container {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(0, 170, 255, 0.1);
  }
  .main-content {
    padding: 20px;
  }
}

/* === User Card === */
.user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 170, 255, 0.05);
  border: 1px solid rgba(0, 170, 255, 0.1);
  padding: 12px;
  border-radius: 8px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.user-icon {
  color: var(--accent);
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.user-info .username {
  color: #e4f6ff;
  font-weight: 700;
  font-size: 16px;
}