/* v1.8.19 — clean enlarged Starlink wordmark + centered HR-NET header logo */
#appView .sidebar {
  --sb-cyan: #08d6ff;
  --sb-blue: #0876df;
  position: fixed;
  isolation: isolate;
  overflow: hidden;
  width: 252px;
  padding: 16px 12px 16px;
  color: #edf6ff;
  background:
    radial-gradient(ellipse at 8% 4%, rgba(0, 190, 255, .18), transparent 34%),
    radial-gradient(ellipse at 92% 92%, rgba(0, 110, 255, .18), transparent 35%),
    linear-gradient(160deg, #04152f 0%, #061d43 52%, #03132d 100%);
  border-right: 1px solid rgba(0, 190, 255, .28);
  box-shadow: 8px 0 28px rgba(0, 5, 20, .24);
}
#appView .sidebar::before,
#appView .sidebar::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(0, 160, 255, .28);
  border-radius: 50%;
  transform: rotate(-18deg);
}
#appView .sidebar::before {
  width: 440px;
  height: 330px;
  top: -210px;
  left: -195px;
  box-shadow: 0 0 22px rgba(0, 176, 255, .12), inset 0 0 24px rgba(0, 176, 255, .08);
}
#appView .sidebar::after {
  width: 500px;
  height: 235px;
  bottom: -145px;
  left: -165px;
  border-color: rgba(0, 198, 255, .34);
  box-shadow: 0 0 24px rgba(0, 168, 255, .18), inset 0 0 18px rgba(0, 168, 255, .10);
}
#appView .sidebar > * { position: relative; z-index: 1; }
#appView .side-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 82px;
  padding: 0 0 16px;
  margin: 0 0 15px;
  border-bottom: 1px solid rgba(0, 192, 255, .20);
}
#appView .side-brand-art {
  display: block;
  width: 100%;
  max-width: 228px;
  height: 78px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 4px 12px rgba(0, 150, 255, .18));
}
#appView .side-label {
  padding: 0 12px;
  margin: 7px 0 12px;
  color: #45cfff;
  font: 800 10px 'Manrope', sans-serif;
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(0, 192, 255, .22);
}
#appView .side-nav { display: grid; gap: 9px; }
#appView .nav-link {
  position: relative;
  min-height: 56px;
  height: 56px;
  padding: 0 15px 0 18px;
  gap: 14px;
  border: 1px solid rgba(117, 174, 232, .10);
  border-radius: 15px;
  background: linear-gradient(100deg, rgba(12, 43, 83, .46), rgba(8, 30, 61, .30));
  color: #d4e2f4;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05px;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
#appView .nav-link:hover {
  color: #fff;
  border-color: rgba(0, 202, 255, .48);
  background: linear-gradient(100deg, rgba(14, 78, 143, .76), rgba(10, 50, 99, .60));
  box-shadow: 0 0 17px rgba(0, 173, 255, .12), inset 0 0 12px rgba(0, 192, 255, .05);
  transform: translateX(2px);
}
#appView .nav-link.active {
  color: #fff;
  border: 1px solid rgba(0, 214, 255, .95);
  background: linear-gradient(105deg, #0758b5 0%, #06448f 52%, #052b62 100%);
  box-shadow: 0 0 0 1px rgba(0, 204, 255, .18), 0 0 20px rgba(0, 165, 255, .30), inset 0 0 18px rgba(0, 196, 255, .16);
}
#appView .nav-link.active::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 15%;
  width: 5px;
  height: 70%;
  border-radius: 0 5px 5px 0;
  background: #ffe500;
  box-shadow: 0 0 10px rgba(255, 224, 0, .9), 0 0 20px rgba(255, 224, 0, .48);
}
#appView .nav-icon {
  width: 23px;
  flex: 0 0 23px;
  color: #eaf6ff;
  font-size: 21px;
  text-shadow: 0 0 10px rgba(0, 185, 255, .24);
}
#appView .nav-link.active .nav-icon { color: #ffe500; text-shadow: 0 0 12px rgba(255, 226, 0, .48); }
#appView .nav-count {
  margin-left: auto;
  min-width: 28px;
  padding: 4px 8px;
  border: 1px solid rgba(0, 205, 255, .34);
  border-radius: 12px;
  background: rgba(0, 111, 214, .26);
  color: #eaf8ff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  box-shadow: inset 0 0 8px rgba(0, 178, 255, .10);
}
#appView .sidebar-help {
  border: 1px solid rgba(0, 193, 255, .28);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(15, 53, 94, .88), rgba(7, 31, 64, .88));
  box-shadow: inset 0 0 15px rgba(0, 163, 255, .06), 0 6px 20px rgba(0, 6, 22, .18);
  padding: 12px 10px;
  margin-bottom: 15px;
}
#appView .help-icon {
  width: 29px;
  height: 29px;
  background: linear-gradient(145deg, #1768b7, #0a376d);
  border: 1px solid rgba(0, 207, 255, .38);
  color: #ffe39b;
  box-shadow: 0 0 12px rgba(0, 167, 255, .18);
}
#appView .sidebar-help strong,
#appView .profile-copy strong { color: #f3f8ff; font-size: 12px; }
#appView .sidebar-help small,
#appView .profile-copy small { color: #a8bfdc; font-size: 10px; }
#appView .sidebar-help button { color: #79dfff; font-size: 19px; }
#appView .side-profile {
  border-top: 1px solid rgba(0, 194, 255, .28);
  padding: 14px 3px 2px;
}
#appView .avatar-admin {
  background: linear-gradient(145deg, #e8cf9f, #b78d4e);
  color: #14233a;
  box-shadow: 0 0 12px rgba(231, 190, 116, .18);
}
#appView .logout-button { color: #7ddfff; }
#appView .main-area { margin-left: 252px; }

/* HR-NET logo occupies the intentionally empty center slot in the top header. */
#appView .topbar {
  position: sticky;
  isolation: isolate;
}
#appView .topbar-title,
#appView .topbar-actions { position: relative; z-index: 2; }
#appView .topbar-center-brand {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 190px;
  height: 82px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
#appView .topbar-center-brand img {
  display: block;
  width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .22));
}

@media (max-width: 1250px) {
  #appView .topbar-center-brand { width: 150px; height: 66px; }
  #appView .topbar-center-brand img { max-height: 64px; }
  #appView .topbar { padding-left: 25px; padding-right: 25px; }
}
@media (max-width: 1050px) {
  #appView .topbar-center-brand { width: 116px; height: 52px; }
  #appView .topbar-center-brand img { max-height: 50px; }
}
@media (max-width: 900px) {
  #appView .sidebar { width: 252px; }
  #appView .main-area { margin-left: 0; }
  #appView .topbar-center-brand { display: none; }
}
@media (max-width: 600px) {
  #appView .sidebar { padding: 14px 11px 13px; }
  #appView .side-brand { min-height: 74px; padding-bottom: 12px; margin-bottom: 12px; }
  #appView .side-brand-art { height: 69px; }
  #appView .nav-link { min-height: 53px; height: 53px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  #appView .nav-link { transition: none; }
}
