:root{
  --egyptian-blue:#1034A6;
  --forest-green:#0B6623;
  --bg1:#071021;
  --bg2:#081a2e;
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.72);
  --glass:rgba(255,255,255,.08);
  --glass2:rgba(16,52,166,.16);
  --border:rgba(255,255,255,.14);
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --radius:18px;
}

html, body{
  background: radial-gradient(1200px 600px at 15% 10%, rgba(16,52,166,.35), transparent 55%),
              radial-gradient(900px 500px at 85% 15%, rgba(11,102,35,.32), transparent 60%),
              linear-gradient(135deg, var(--bg1), var(--bg2));
  color: var(--text);
}

a{ color: rgba(234,240,255,.9); text-decoration:none; }
a:hover{ color:#fff; }

.neo-glass{
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
  border:1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.neo-card{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(16,52,166,.18), rgba(11,102,35,.10));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
}

.btn-neo{
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(16,52,166,.75), rgba(11,102,35,.55));
  color: #fff;
  box-shadow: 0 12px 26px rgba(0,0,0,.25);
  transition: transform .18s ease, filter .18s ease;
}
.btn-neo:hover{ transform: translateY(-1px); filter: brightness(1.08); }

.btn-neo-outline{
  border:1px solid rgba(255,255,255,.22);
  border-radius:14px;
  background: rgba(255,255,255,.06);
  color:#fff;
}
.btn-neo-outline:hover{ background: rgba(255,255,255,.10); }

.badge-soft{
  background: rgba(16,52,166,.22);
  border: 1px solid rgba(255,255,255,.15);
  color:#fff;
}

.text-muted-neo{ color: var(--muted) !important; }

.form-control, .form-select, textarea{
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color: #fff !important;
  border-radius: 14px !important;
}
.form-control::placeholder, textarea::placeholder{ color: rgba(255,255,255,.55); }
.form-control:focus, .form-select:focus, textarea:focus{
  box-shadow: 0 0 0 .25rem rgba(16,52,166,.25) !important;
  border-color: rgba(16,52,166,.55) !important;
}

.table{
  color: #fff;
}
.table thead th{
  color: rgba(234,240,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.18) !important;
}
.table td, .table th{
  border-color: rgba(255,255,255,.10) !important;
}
.table-hover tbody tr:hover{
  background: rgba(255,255,255,.05);
}

.page-title{
  font-weight: 800;
  letter-spacing:.4px;
}

.float-blobs{
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow:hidden;
}
.blob{
  position:absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .28;
  animation: drift 10s ease-in-out infinite alternate;
}
.blob.b1{ left:-120px; top:-120px; background: rgba(16,52,166,.9); }
.blob.b2{ right:-160px; top:20px; background: rgba(11,102,35,.85); animation-duration: 12s; }
.blob.b3{ left:25%; bottom:-160px; background: rgba(16,52,166,.6); animation-duration: 14s; }

@keyframes drift{
  from{ transform: translate3d(0,0,0) scale(1); }
  to{ transform: translate3d(40px, -30px, 0) scale(1.06); }
}

/* Layout */
.admin-shell{ position:relative; z-index:1; }
.sidebar{
  width: 290px;
  min-height: 100vh;
  position: sticky;
  top: 0;
}
.sidebar .nav-link{
  border-radius: 14px;
  padding: .7rem .9rem;
  display:flex; align-items:center; gap:.55rem;
  color: rgba(234,240,255,.86);
}
.sidebar .nav-link:hover{ background: rgba(255,255,255,.06); color:#fff; }
.sidebar .nav-link.active{ background: rgba(16,52,166,.22); border:1px solid rgba(255,255,255,.14); }

.brand-row{
  display:flex; align-items:center; gap:.7rem;
}
.brand-row img{
  width:42px; height:42px; border-radius:14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 6px;
}
.brand-row .brand-text{
  line-height:1.05;
}
.brand-row .brand-text .name{ font-weight:900; letter-spacing:.6px; }
.brand-row .brand-text .tag{ font-size:.80rem; color: var(--muted); }

/* Mobile offcanvas */
.offcanvas{
  background: linear-gradient(135deg, rgba(7,16,33,.96), rgba(8,26,46,.92));
  color:#fff;
  border-right:1px solid rgba(255,255,255,.12);
}
