/* Shared theme for admin and user - dark + orange */

:root{
  --bg: #0b0b0b;
  --surface: #121214;
  --muted: #9aa7c7;
  --accent-orange: #ff9a3c;
  --accent-blue: #1ea7ff;
  --text: #ffffff;
  --card-shadow: 0 8px 30px rgba(0,0,0,0.6);
  --glass: rgba(255,255,255,0.02);
  --radius: 10px;
  --success: #10b981;
  --danger: #ef4444;
  font-family: "Inter", "Segoe UI", Roboto, system-ui, -apple-system, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
html,body{height:100%;margin:0;background:var(--bg);color:var(--text);}

/* Auth page */
.auth-page{display:flex;align-items:center;justify-content:center;height:100vh;background:linear-gradient(180deg,#050505,#0b0b0b)}
.auth-card{width:100%;max-width:420px;background:var(--surface);padding:28px;border-radius:12px;box-shadow:var(--card-shadow);text-align:center}
.brand{font-weight:800;margin:0 0 6px 0}
.muted{color:var(--muted);margin-bottom:12px}
.field{display:flex;flex-direction:column;text-align:left}
.field span{font-size:13px;color:var(--muted);margin-bottom:6px}
input[type=text], input[type=password], input[type=tel], input[type=email], select{width:100%;padding:10px;border-radius:8px;border:1px solid rgba(255,255,255,0.04);background:rgba(255,255,255,0.02);color:var(--text)}

/* Buttons */
.btn{padding:10px 14px;border-radius:10px;border:none;cursor:pointer;font-weight:700}
.btn.primary{background:var(--accent-orange);color:#000}
.link{color:var(--accent-blue);text-decoration:none}
.alert{background:#3a1f10;padding:8px;border-radius:8px;color:#ffd7c3;margin-bottom:10px}

/* Dashboard layout */
.dashboard-page{display:flex;height:100vh;overflow:hidden}
.sidebar{width:220px;background:var(--surface);padding:18px;border-right:1px solid rgba(255,255,255,0.03);display:flex;flex-direction:column;gap:12px}
.sidebar-brand{font-weight:800;font-size:18px;padding:6px 0}
.nav{display:flex;flex-direction:column;gap:8px}
.nav-item{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-radius:8px;color:var(--muted);text-decoration:none}
.nav-item:hover{background:rgba(255,255,255,0.02);color:var(--text)}
.nav-item.active{background:linear-gradient(90deg,var(--accent-orange),#ff7b3b);color:#000;font-weight:700}

.badge{background:rgba(255,255,255,0.03);padding:2px 8px;border-radius:999px;color:var(--text);font-weight:700}

/* main content */
.main{flex:1;display:flex;flex-direction:column;height:100%}
.topbar{display:flex;justify-content:space-between;align-items:center;padding:14px;border-bottom:1px solid rgba(255,255,255,0.03);background:linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02))}
.content{padding:20px;overflow:auto}
.cards{display:flex;gap:12px;margin-bottom:18px}
.card{flex:1;background:var(--surface);padding:16px;border-radius:12px;box-shadow:var(--card-shadow);min-height:100px}
.card h3{margin:0 0 6px 0}
.big{font-size:28px;font-weight:800}

/* placeholders */
.placeholder{padding:18px;background:linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02));border-radius:12px}
.meta{color:var(--muted);font-size:13px}

/* responsive */
@media (max-width:800px){
  .sidebar{width:76px;padding:12px}
  .nav-item{justify-content:center;padding:10px}
  .nav-item span{display:none}
  .cards{flex-direction:column}
}
