:root {
  --navy-dark: #001a47;
  --navy: #002255;
  --navy-exact: #002257;
  --navy-deep: #00183d;
  --navy-light: #003572;
  --blue-electric: #0099ff;
  --blue-bright: #0077dd;
  --blue-accent: #00aaff;
  --gold: #d4af37;
  --gold-light: #f4c430;
  --gold-dark: #b8941f;
  --gold-gradient: linear-gradient(135deg, #ffd95a 0%, #f4c430 25%, #d4af37 60%, #b8941f 100%);
  --navy-gradient: linear-gradient(135deg, #00183d 0%, #002255 45%, #003572 100%);
  --gold-text: #f4c430;
  --text-light: #f1f5f9;
  --text-muted: #94a3b8;
  --white: #ffffff;
  --card-bg: #002255;
  --card-bg-light: #003572;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(ellipse 90% 60% at 15% 10%, rgba(0, 153, 255, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 85% 55% at 85% 95%, rgba(212, 175, 55, 0.11) 0%, transparent 55%),
    linear-gradient(160deg, #000f29 0%, #001b46 40%, #00225a 60%, #00183d 100%);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(0, 119, 221, 0.18) 0%, transparent 60%),
    radial-gradient(900px 500px at 50% 120%, rgba(244, 196, 48, 0.09) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* =============================================================
   LANDSCAPE LOGIN SPLIT
   ============================================================= */

.login-wrapper {
  width: 100%;
  max-width: 1120px;
  padding: 30px 24px;
  position: relative;
  z-index: 2;
  perspective: 1800px;
}

.landscape-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 119, 221, 0.1),
    0 30px 80px -20px rgba(0, 34, 85, 0.45),
    0 50px 100px -30px rgba(0, 0, 0, 0.35),
    0 0 90px rgba(0, 153, 255, 0.12);
  position: relative;
  min-height: 580px;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.landscape-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
  z-index: 20;
  box-shadow: 0 0 20px rgba(244, 196, 48, 0.4);
}

/* ========== KIRI: PANEL BRANDING ========== */
.brand-panel {
  position: relative;
  background: linear-gradient(160deg, #00183d 0%, #002255 45%, #003572 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px 44px 42px;
  min-height: 560px;
}

.brand-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 153, 255, 0.28) 0%, transparent 38%),
    radial-gradient(circle at 88% 82%, rgba(244, 196, 48, 0.14) 0%, transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.brand-panel::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -30%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(0, 153, 255, 0.08);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  box-shadow:
    0 0 0 40px rgba(0, 153, 255, 0.03),
    0 0 0 80px rgba(0, 153, 255, 0.02);
}

.brand-content {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.brand-content--onlylogo {
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 0;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(244, 196, 48, 0.12);
  border: 1px solid rgba(244, 196, 48, 0.35);
  border-radius: 50px;
  margin-bottom: 28px;
}

.brand-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--gold-gradient);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-light);
}

.brand-badge span {
  font-size: 12px;
  color: var(--gold-text);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.brand-badge--sm {
  padding: 6px 14px;
  margin-bottom: 30px;
}

.brand-badge--sm span {
  font-size: 11px;
  letter-spacing: 1.2px;
}

.brand-logo-wrap {
  width: 100%;
  max-width: 460px;
  margin-bottom: 32px;
  background: transparent;
  border-radius: 28px;
  padding: 4px;
  position: relative;
  overflow: visible;
  transform-style: preserve-3d;
  will-change: transform;
}

.brand-logo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 3px;
  background: var(--gold-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.55),
    0 0 110px rgba(0, 153, 255, 0.3),
    0 0 60px rgba(244, 196, 48, 0.2);
  z-index: 1;
}

.brand-logo-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 6%;
  right: 6%;
  height: 4px;
  background: var(--gold-gradient);
  border-radius: 0 0 4px 4px;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(244, 196, 48, 0.7);
}

.brand-logo-wrap--3d {
  transform: translateZ(30px);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease;
}

.brand-logo-wrap--3d .brand-logo::after {
  content: none;
}

.brand-logo-wrap--3d .shine-overlay {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, transparent 42%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
  z-index: 4;
  mix-blend-mode: overlay;
}

.brand-logo {
  width: 100%;
  height: auto;
  display: block;
  animation: brandLogoFloat 6s ease-in-out infinite;
  transform-origin: center;
  border-radius: 24px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 16px 34px rgba(0, 24, 61, 0.55));
}

.brand-logo--3d {
  transform: translateZ(20px) scale(1.03);
}

.brand-subtitle3d {
  margin-top: 6px;
  padding: 10px 20px;
  border-radius: 50px;
  background: rgba(0, 153, 255, 0.12);
  border: 1px solid rgba(0, 153, 255, 0.28);
  transform: translateZ(20px);
  transform-style: preserve-3d;
}

.brand-subtitle3d span {
  font-size: 12px;
  font-weight: 600;
  color: #dbe9fb;
  letter-spacing: 0.6px;
}

@keyframes brandLogoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.01); }
}

.brand-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.brand-title em {
  font-style: normal;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-desc {
  font-size: 14px;
  color: rgba(241, 245, 249, 0.82);
  line-height: 1.65;
  max-width: 380px;
  margin-bottom: 28px;
}

.brand-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 5;
  margin-top: 4px;
}

.brand-feat {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feat-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(244, 196, 48, 0.14);
  border: 1px solid rgba(244, 196, 48, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-text);
  font-size: 15px;
  flex-shrink: 0;
}

.feat-text {
  font-size: 12.5px;
  color: rgba(241, 245, 249, 0.9);
  font-weight: 500;
}

.brand-footer {
  position: relative;
  z-index: 5;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 153, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.brand-footer .institution {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-footer .polda-seal {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 6px 16px rgba(244, 196, 48, 0.35);
  flex-shrink: 0;
}

.brand-footer .polda-text {
  display: flex;
  flex-direction: column;
}

.brand-footer .polda-text strong {
  font-size: 13px;
  color: var(--white);
  font-weight: 800;
}

.brand-footer .polda-text span {
  font-size: 11px;
  color: rgba(148, 163, 184, 0.9);
}

.brand-footer .copyright {
  font-size: 11px;
  color: rgba(148, 163, 184, 0.85);
}

/* ========== KANAN: PANEL FORM ========== */
.form-panel {
  display: flex;
  flex-direction: column;
  padding: 50px 48px 42px;
  background:
    radial-gradient(circle at 90% 0%, rgba(0, 153, 255, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 10% 100%, rgba(244, 196, 48, 0.06) 0%, transparent 45%),
    #ffffff;
  position: relative;
  overflow: hidden;
}

.form-panel--3d {
  transform: translateZ(10px);
  transform-style: preserve-3d;
}

.form-panel--3d::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(1200px 300px at 110% -10%, rgba(0, 119, 221, 0.12) 0%, transparent 60%);
  z-index: 0;
}

.form-panel .form-header,
.form-panel .form-body {
  position: relative;
  z-index: 2;
}

.form-panel::before {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 153, 255, 0.18), transparent);
}

.form-header {
  margin-bottom: 30px;
}

.form-header .welcome-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  background: rgba(0, 119, 221, 0.09);
  border: 1px solid rgba(0, 119, 221, 0.2);
  border-radius: 50px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 119, 221, 0.08);
}

.welcome-badge-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}
.welcome-badge-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(34, 197, 94, 0.35);
  animation: welcomeDotPulse 2s ease-out infinite;
}

@keyframes welcomeDotPulse {
  0%   { transform: scale(0.6); opacity: 0.9; }
  70%  { transform: scale(1.4); opacity: 0;   }
  100% { transform: scale(1.6); opacity: 0;   }
}

.form-header h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 8px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.form-header h1 .gold-accent {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 6px rgba(244, 196, 48, 0.2));
}

.form-header p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
}

.form-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-body .form-group {
  margin-bottom: 22px;
}

.form-body .form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 9px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
}

.form-body .input-wrapper {
  position: relative;
}

.form-body .input-wrapper .icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--navy-light);
  font-size: 17px;
  z-index: 2;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
  stroke: currentColor;
}

.form-body .input-wrapper:focus-within .icon {
  color: var(--blue-bright);
  transform: translateY(-50%) scale(1.08);
}

.form-body .input-wrapper input {
  width: 100%;
  padding: 15px 16px 15px 50px;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  font-size: 15px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  background: #f8fafc;
  color: var(--navy-deep);
  font-weight: 500;
  letter-spacing: 0.2px;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.06),
              0 1px 0 rgba(255, 255, 255, 0.7);
}

.form-body .input-wrapper input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.form-body .input-wrapper input:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}

.form-body .input-wrapper input:focus {
  border-color: var(--blue-bright);
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(0, 119, 221, 0.1),
    0 0 20px rgba(0, 119, 221, 0.08),
    inset 0 1px 2px rgba(15, 23, 42, 0.05);
  transform: translateY(-1.5px);
}

.form-body .input-wrapper--3d {
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(180deg, #eef2f7 0%, #e2e8f0 100%);
  box-shadow:
    0 6px 16px rgba(15, 23, 42, 0.06),
    0 1px 0 #ffffff inset,
    0 -1px 0 rgba(15, 23, 42, 0.05) inset;
}

.form-body .input-wrapper--3d input {
  border: none;
  box-shadow:
    inset 0 1px 0 #ffffff,
    inset 0 -1px 0 rgba(15, 23, 42, 0.04);
  border-radius: 13px;
}

.form-body .input-wrapper--3d input:focus {
  box-shadow:
    0 0 0 3px rgba(0, 119, 221, 0.14) inset,
    0 1px 0 #ffffff inset;
}

.form-body .input-wrapper:focus-within .icon {
  color: var(--blue-bright);
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 10px;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  user-select: none;
}

.remember--modern {
  padding: 4px 0;
}

.remember--modern input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.remember-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition:
    background 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.2s ease,
    transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.2s ease;
  box-shadow:
    0 1px 0 #ffffff inset,
    0 -1px 0 rgba(15, 23, 42, 0.04) inset,
    0 2px 5px rgba(15, 23, 42, 0.06);
  flex-shrink: 0;
}

.remember-box svg {
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.2s ease,
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  stroke: #ffffff;
}

.remember--modern input[type="checkbox"]:checked ~ .remember-box {
  background: linear-gradient(145deg, #0077dd, #0057b0);
  border-color: #0066cc;
  box-shadow:
    0 2px 0 #003e87,
    0 4px 12px rgba(0, 119, 221, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  transform: translateY(-1px);
}

.remember--modern input[type="checkbox"]:checked ~ .remember-box svg {
  opacity: 1;
  transform: scale(1);
}

.remember--modern:hover .remember-box {
  border-color: #94c3ff;
  transform: translateY(-0.5px);
}

.remember span {
  font-size: 12.5px;
  color: #475569;
  font-weight: 500;
}

.link-forgot {
  font-size: 12.5px;
  color: var(--blue-bright);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.link-forgot::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #0077dd, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.link-forgot:hover {
  color: var(--navy);
}

.link-forgot:hover::after {
  transform: scaleX(1);
}

.btn-landscape-login {
  width: 100%;
  padding: 16px;
  background: var(--gold-gradient);
  color: var(--navy-deep);
  border: none;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 1.2px;
  box-shadow:
    0 6px 18px rgba(244, 196, 48, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-landscape-login::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transition: left 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-landscape-login .arrow-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 24, 61, 0.12);
  transition:
    background 0.3s ease,
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s ease;
}

.btn-landscape-login:hover .arrow-wrap {
  background: rgba(0, 24, 61, 0.2);
  box-shadow: 0 4px 12px rgba(0, 24, 61, 0.18);
  transform: translateX(3px);
}

.btn-landscape-login .arrow {
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.3s ease;
}

.btn-landscape-login:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 28px rgba(244, 196, 48, 0.55),
    0 0 40px rgba(244, 196, 48, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset,
    0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.btn-landscape-login:hover::before {
  left: 100%;
}

.btn-landscape-login:hover .arrow {
  transform: translateX(3px);
}

.btn-landscape-login--3d {
  border-radius: 16px;
  padding: 17px 16px 18px;
  transform: translateY(0);
  box-shadow:
    0 9px 0 #9a7a0c,
    0 10px 24px rgba(212, 175, 55, 0.55),
    0 0 40px rgba(244, 196, 48, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 -2px 0 rgba(150, 110, 0, 0.25) inset;
  transition:
    transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.18s ease;
}

.btn-landscape-login--3d:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 0 #9a7a0c,
    0 16px 34px rgba(212, 175, 55, 0.65),
    0 0 60px rgba(244, 196, 48, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 -2px 0 rgba(150, 110, 0, 0.25) inset;
}

.btn-landscape-login--3d:active {
  transform: translateY(6px);
  box-shadow:
    0 3px 0 #9a7a0c,
    0 5px 14px rgba(212, 175, 55, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 -1px 0 rgba(150, 110, 0, 0.25) inset;
}

.form-body .error-message {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #b91c1c;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 22px;
  display: none;
  animation: shake 0.4s ease;
  font-weight: 500;
}

.form-body .error-message.show {
  display: block;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  padding: 10px 16px;
  border-radius: 50px;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.07), rgba(34, 197, 94, 0.03));
  border: 1px solid rgba(34, 197, 94, 0.2);
  font-size: 11.5px;
  color: #15803d;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-top: 22px;
  align-self: center;
  position: relative;
  overflow: hidden;
}

.sec-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(145deg, #22c55e, #16a34a);
  color: #ffffff;
  stroke: #ffffff;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.35);
  flex-shrink: 0;
}

.security-badge::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -30%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.45);
  transform: translateY(-50%);
  animation: securityDotFloat 3.6s ease-in-out infinite;
  filter: blur(2px);
  opacity: 0.8;
}

@keyframes securityDotFloat {
  0%, 100% { transform: translate(0, -50%); }
  50%      { transform: translate(340px, -50%); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

/* =============================================================
   DASHBOARD (KONSISTEN DENGAN PALET LOGIN)
   ============================================================= */

.dashboard-body {
  display: block;
  align-items: stretch;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(0, 153, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 100%, rgba(244, 196, 48, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #00183d 0%, #002255 40%, #002255 70%, #002b68 100%);
}

.dashboard-body::after {
  display: none;
}

#bg-canvas.dash-hide {
  display: none;
}

.dashboard-container {
  width: 100%;
  min-height: 100vh;
  background: transparent;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.navbar {
  background: linear-gradient(180deg, rgba(0, 153, 255, 0.1) 0%, transparent 100%),
              linear-gradient(135deg, rgba(0, 24, 61, 0.98) 0%, rgba(0, 34, 85, 0.97) 100%);
  padding: 18px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(0, 153, 255, 0.2) inset;
  border-bottom: 1px solid rgba(244, 196, 48, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(25px);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  color: white;
}

.navbar-brand .logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(244, 196, 48, 0.35);
  flex-shrink: 0;
  background: #ffffff;
  padding: 4px;
}

.navbar-brand .logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.navbar-brand h1 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-brand .tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.navbar-user {
  display: flex;
  align-items: center;
  gap: 20px;
  color: white;
}

.user-info {
  text-align: right;
  padding: 10px 18px;
  background: rgba(244, 196, 48, 0.06);
  border: 1px solid rgba(244, 196, 48, 0.2);
  border-radius: 14px;
}

.user-info .user-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.user-info .user-kode {
  font-size: 11px;
  color: var(--gold-text);
  font-weight: 600;
}

.btn-logout {
  background: rgba(220, 38, 38, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, 0.3);
  padding: 12px 20px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-logout:hover {
  background: rgba(220, 38, 38, 0.25);
  border-color: rgba(248, 113, 113, 0.5);
  transform: translateY(-1px);
}

/* Premium User Management Icon Button (Navbar Header Kanan) */
.btn-icon-umgmt {
  position: relative;
  background: linear-gradient(160deg,
    rgba(16, 185, 129, 0.18) 0%,
    rgba(5, 150, 105, 0.12) 50%,
    rgba(44, 110, 76, 0.22) 100%);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.38);
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 5px 16px rgba(16, 185, 129, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.12);
  margin-right: 12px;
  overflow: hidden;
}
.btn-icon-umgmt::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -40%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle at 30% 30%,
    rgba(250, 204, 21, 0.35) 0%,
    rgba(16, 185, 129, 0.22) 38%,
    transparent 70%);
  filter: blur(2px);
  opacity: 0.9;
  transition: transform 0.45s ease, opacity 0.3s ease;
  pointer-events: none;
}
.btn-icon-umgmt:hover {
  transform: translateY(-2px) scale(1.04);
  background: linear-gradient(160deg,
    rgba(16, 185, 129, 0.3) 0%,
    rgba(5, 150, 105, 0.18) 50%,
    rgba(250, 204, 21, 0.25) 100%);
  border-color: rgba(250, 204, 21, 0.55);
  color: #fde68a;
  box-shadow:
    0 9px 24px rgba(16, 185, 129, 0.28),
    0 0 0 2px rgba(250, 204, 21, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-icon-umgmt:hover::before {
  transform: translate(18%, 18%) scale(1.25);
  opacity: 1;
}
.btn-icon-umgmt:active {
  transform: translateY(1px) scale(0.97);
  box-shadow:
    0 2px 7px rgba(16, 185, 129, 0.18),
    inset 0 2px 5px rgba(0,0,0,0.28);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn-icon-umgmt svg {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
}

.dashboard-content {
  flex: 1;
  padding: 35px;
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
}

.welcome-banner {
  background:
    radial-gradient(circle at 90% 20%, rgba(244, 196, 48, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(0, 153, 255, 0.18) 0%, transparent 50%),
    linear-gradient(135deg, #002255 0%, #003572 100%);
  border-radius: 24px;
  padding: 40px 45px;
  color: white;
  margin-bottom: 30px;
  box-shadow:
    0 0 0 1px rgba(244, 196, 48, 0.2),
    0 15px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.welcome-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
}

.welcome-banner h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}

.welcome-banner h2 span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.welcome-banner .satker-info {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 600;
  padding: 10px 18px;
  background: rgba(244, 196, 48, 0.1);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  display: inline-block;
  position: relative;
}

.welcome-banner .date-info {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.welcome-banner .date-info::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 30px;
}

.stat-card {
  background: linear-gradient(155deg, rgba(0, 64, 128, 0.78) 0%, rgba(0, 30, 75, 0.92) 100%);
  border-radius: 22px;
  padding: 26px;
  box-shadow:
    0 0 0 1px rgba(0, 153, 255, 0.18),
    0 10px 28px rgba(0, 0, 0, 0.35),
    0 2px 0 rgba(255, 255, 255, 0.04) inset,
    0 -1px 0 rgba(0, 0, 0, 0.2) inset;
  display: flex;
  align-items: center;
  gap: 20px;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  transform-style: preserve-3d;
}

.stat-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--gold-gradient);
  z-index: 3;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  transform: translate(30%, -30%);
  pointer-events: none;
}

.stat-card--3d:hover {
  transform: translateY(-7px) scale(1.015);
  box-shadow:
    0 0 0 1px rgba(0, 153, 255, 0.3),
    0 22px 50px rgba(0, 0, 0, 0.45),
    0 0 38px rgba(0, 153, 255, 0.15),
    0 2px 0 rgba(255, 255, 255, 0.06) inset;
}

.stat-card--blue::before  { background: linear-gradient(180deg, #0099ff, #0066cc); box-shadow: 4px 0 18px rgba(0, 153, 255, 0.35); }
.stat-card--gold::before  { background: var(--gold-gradient); box-shadow: 4px 0 18px rgba(244, 196, 48, 0.35); }
.stat-card--green::before { background: linear-gradient(180deg, #10b981, #059669); box-shadow: 4px 0 18px rgba(16, 185, 129, 0.35); }
.stat-card--cyan::before  { background: linear-gradient(180deg, #06b6d4, #0891b2); box-shadow: 4px 0 18px rgba(6, 182, 212, 0.35); }

.stat-icon {
  width: 64px;
  height: 64px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  overflow: visible;
}

.stat-icon svg {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.28));
}

.stat-icon--bubble::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 17px;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.55) 0%, transparent 55%);
  opacity: 0.85;
  pointer-events: none;
}

.stat-icon--bubble::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 20px;
  background: inherit;
  filter: blur(10px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.stat-icon--blue  {
  background: linear-gradient(155deg, rgba(0,153,255,0.45) 0%, rgba(0,80,170,0.85) 100%);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 0 rgba(0, 30, 80, 0.35),
    0 10px 24px rgba(0, 119, 221, 0.35);
}
.stat-icon--gold  {
  background: linear-gradient(155deg, rgba(255, 217, 90, 0.9) 0%, rgba(184, 148, 31, 0.92) 100%);
  color: #3a2900;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 0 rgba(120, 90, 0, 0.45),
    0 10px 24px rgba(212, 175, 55, 0.35);
}
.stat-icon--green {
  background: linear-gradient(155deg, rgba(52, 211, 153, 0.9) 0%, rgba(5, 150, 105, 0.92) 100%);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 0 rgba(3, 80, 60, 0.35),
    0 10px 24px rgba(16, 185, 129, 0.35);
}
.stat-icon--cyan  {
  background: linear-gradient(155deg, rgba(34, 211, 238, 0.88) 0%, rgba(8, 145, 178, 0.92) 100%);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 0 rgba(6, 90, 110, 0.35),
    0 10px 24px rgba(6, 182, 212, 0.35);
}

.stat-info h3 {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
}

.stat-info .stat-value {
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  letter-spacing: -0.5px;
}

.satker-detail-card {
  background: linear-gradient(155deg, rgba(0, 53, 114, 0.62) 0%, rgba(0, 28, 70, 0.85) 100%);
  border-radius: 26px;
  padding: 38px;
  box-shadow:
    0 0 0 1px rgba(0, 153, 255, 0.18),
    0 16px 44px rgba(0, 0, 0, 0.38),
    0 2px 0 rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.satker-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 4px;
  background: var(--gold-gradient);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 0 22px rgba(244, 196, 48, 0.45);
  pointer-events: none;
  z-index: 3;
}

.satker-detail-card--3d::after {
  content: '';
  position: absolute;
  top: 30px;
  right: 40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 153, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.satker-detail-card h2 {
  font-size: 21px;
  color: var(--white);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 153, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 800;
  position: relative;
  z-index: 2;
}

.detail-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(0, 153, 255, 0.42) 0%, rgba(0, 70, 150, 0.85) 100%);
  color: #ffffff;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2),
    0 8px 20px rgba(0, 119, 221, 0.3);
}

.detail-heading-icon svg {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  position: relative;
  z-index: 2;
}

.detail-item {
  background: linear-gradient(155deg, rgba(0, 38, 95, 0.7) 0%, rgba(0, 22, 55, 0.88) 100%);
  border-radius: 17px;
  padding: 22px;
  border: 1px solid rgba(0, 153, 255, 0.12);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.detail-item:hover {
  border-color: rgba(0, 153, 255, 0.38);
  background: linear-gradient(155deg, rgba(0, 48, 120, 0.8) 0%, rgba(0, 28, 70, 0.95) 100%);
  transform: translateY(-3px);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.35),
    0 0 18px rgba(0, 153, 255, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.detail-item .label {
  font-size: 11px;
  color: var(--gold-text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-item .label::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(244, 196, 48, 0.5);
}

.detail-item .value {
  font-size: 16.5px;
  color: var(--text-light);
  font-weight: 700;
  line-height: 1.3;
}

.value--aktif {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #10b981 !important;
  padding: 7px 14px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 50px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.aktif-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.aktif-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(16, 185, 129, 0.35);
  animation: aktifPulse 1.8s ease-out infinite;
}

@keyframes aktifPulse {
  0%   { transform: scale(0.55); opacity: 0.9; }
  70%  { transform: scale(1.45); opacity: 0;   }
  100% { transform: scale(1.65); opacity: 0;   }
}

.detail-item .value.kode {
  font-family: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;
  color: #3a2900;
  background: linear-gradient(155deg, #ffe28a 0%, var(--gold) 100%);
  padding: 9px 18px;
  border-radius: 11px;
  display: inline-block;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1.2px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 0 rgba(150, 110, 0, 0.28),
    0 6px 16px rgba(212, 175, 55, 0.35);
}

.menu-grid--3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 22px;
  margin-top: 35px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 153, 255, 0.12);
  position: relative;
  z-index: 2;
}

.menu-item--3d {
  background: linear-gradient(155deg, rgba(0, 45, 110, 0.62) 0%, rgba(0, 24, 60, 0.9) 100%);
  border-radius: 20px;
  padding: 30px 22px;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(0, 153, 255, 0.12),
    0 9px 22px rgba(0, 0, 0, 0.3),
    0 3px 0 rgba(0, 10, 30, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
  cursor: pointer;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease,
    border-color 0.3s ease;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.menu-item--3d::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 3;
}

.menu-item--3d::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.menu-item--blue::before  { background: linear-gradient(90deg, transparent, #0099ff, transparent); box-shadow: 0 0 20px rgba(0, 153, 255, 0.4); }
.menu-item--indigo::before { background: linear-gradient(90deg, transparent, #6366f1, transparent); box-shadow: 0 0 20px rgba(99, 102, 241, 0.4); }
.menu-item--gold::before  { background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 20px rgba(244, 196, 48, 0.45); }
.menu-item--green::before { background: linear-gradient(90deg, transparent, #10b981, transparent); box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }
.menu-item--cyan::before  { background: linear-gradient(90deg, transparent, #06b6d4, transparent); box-shadow: 0 0 20px rgba(6, 182, 212, 0.4); }
.menu-item--pink::before  { background: linear-gradient(90deg, transparent, #ec4899, transparent); box-shadow: 0 0 20px rgba(236, 72, 153, 0.4); }

.menu-item--3d:hover {
  transform: translateY(-10px);
  box-shadow:
    0 0 0 1px rgba(0, 153, 255, 0.25),
    0 22px 48px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(0, 10, 30, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  border-color: rgba(244, 196, 48, 0.3);
}

.menu-item--3d:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.menu-item--3d:hover::after {
  opacity: 1;
}

.menu-icon--bubble {
  width: 74px;
  height: 74px;
  margin: 0 auto 20px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition:
    transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s ease;
  color: #ffffff;
  overflow: visible;
}

.menu-icon--bubble svg {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.32));
}

.menu-icon--bubble::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: radial-gradient(circle at 28% 22%, rgba(255,255,255,0.55) 0%, transparent 55%);
  pointer-events: none;
  opacity: 0.9;
}

.menu-icon--bubble::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 26px;
  background: inherit;
  filter: blur(12px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.menu-item--blue .menu-icon--bubble   { background: linear-gradient(155deg, #1f98ff, #0058b8); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -2px 0 rgba(0,30,80,0.35), 0 12px 28px rgba(0,119,221,0.42); }
.menu-item--indigo .menu-icon--bubble { background: linear-gradient(155deg, #818cf8, #4338ca); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -2px 0 rgba(30,20,100,0.35), 0 12px 28px rgba(99,102,241,0.42); }
.menu-item--gold .menu-icon--bubble  { background: linear-gradient(155deg, #ffe186, #b8941f); color: #3a2900; box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), inset 0 -2px 0 rgba(120,90,0,0.4), 0 12px 28px rgba(212,175,55,0.42); }
.menu-item--green .menu-icon--bubble { background: linear-gradient(155deg, #34d399, #047857); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -2px 0 rgba(3,70,50,0.35), 0 12px 28px rgba(16,185,129,0.42); }
.menu-item--cyan .menu-icon--bubble  { background: linear-gradient(155deg, #22d3ee, #0e7490); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -2px 0 rgba(6,80,100,0.35), 0 12px 28px rgba(6,182,212,0.42); }
.menu-item--pink .menu-icon--bubble  { background: linear-gradient(155deg, #f472b6, #be185d); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -2px 0 rgba(90,10,50,0.35), 0 12px 28px rgba(236,72,153,0.42); }

.menu-item--3d:hover .menu-icon--bubble {
  transform: translateY(-5px) scale(1.08);
}

.menu-item--3d h4 {
  font-size: 14.5px;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 7px;
  position: relative;
  z-index: 2;
}

.menu-item--3d p {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

.menu-item h4 {
  font-size: 14px;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 6px;
}

.menu-item p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* =============================================================
   DASHBOARD VIEW TRANSITIONS & BREADCRUMB
   ============================================================= */

.dashboard-view {
  animation: viewFadeSlide 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes viewFadeSlide {
  0% {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.view-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: linear-gradient(145deg, #002255 0%, #00183d 100%);
  border: 1px solid rgba(0, 153, 255, 0.28);
  border-radius: 12px;
  color: #e6edf8;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 3px 0 rgba(0, 24, 61, 0.9),
              0 10px 24px rgba(0, 24, 61, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.btn-back:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 153, 255, 0.55);
  box-shadow: 0 6px 0 rgba(0, 24, 61, 0.9),
              0 18px 34px rgba(0, 24, 61, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.btn-back:hover svg {
  transform: translateX(-3px);
}
.btn-back:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(0, 24, 61, 0.9),
              0 6px 14px rgba(0, 24, 61, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.btn-back svg {
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.view-title {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.view-title h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #cfd9e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.2px;
}

.view-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 1.3px;
  font-family: inherit;
}
.view-pill--gold {
  background: linear-gradient(135deg, #ffe082 0%, #f4c430 50%, #d4af37 100%);
  color: #3a2603;
  box-shadow: 0 6px 18px rgba(244, 196, 48, 0.32),
              inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.view-pill--navy {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.38),
              inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* =============================================================
   WELCOME BANNER FOR MODULE MENU
   ============================================================= */

.welcome-banner--modules {
  padding: 22px 26px 20px;
  background:
    radial-gradient(circle at 92% 0%, rgba(244, 196, 48, 0.16) 0%, transparent 48%),
    radial-gradient(circle at 0% 100%, rgba(0, 153, 255, 0.18) 0%, transparent 48%),
    linear-gradient(145deg, rgba(0, 53, 114, 0.55) 0%, rgba(0, 24, 61, 0.92) 100%);
  border-radius: 20px;
  border: 1px solid rgba(0, 153, 255, 0.22);
  box-shadow: 0 18px 44px rgba(0, 8, 28, 0.52),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
  margin-bottom: 28px;
  overflow: hidden;
}

.modules-header {
  text-align: center;
  max-width: 640px;
  margin: 4px auto 6px;
  position: relative;
}
.modules-header > span {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(244, 196, 48, 0.18), rgba(99, 102, 241, 0.18));
  border: 1px solid rgba(244, 196, 48, 0.4);
  color: #ffe082;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  margin-bottom: 12px;
  font-family: inherit;
}
.modules-header h3 {
  font-size: 26px;
  font-weight: 900;
  margin: 0 0 8px;
  background: linear-gradient(135deg, #ffffff 0%, #cfd9e8 40%, #ffe082 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.3px;
}
.modules-header h3::after {
  content: '';
  display: block;
  margin: 14px auto 0;
  width: 58px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #ffd95a, #f4c430, #d4af37);
  box-shadow: 0 2px 16px rgba(244, 196, 48, 0.45);
}
.modules-header p {
  margin: 12px 0 0;
  color: #a9b8d1;
  font-size: 13.5px;
  line-height: 1.6;
}

/* =============================================================
   MODULES GRID — 2 COLS PREMIUM CARDS
   ============================================================= */

.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.module-card {
  position: relative;
  padding: 34px 32px 30px;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 40px rgba(0, 8, 28, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.module-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 64px rgba(0, 8, 28, 0.72),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Gold card — Modul Anggaran */
.module-card--gold {
  background:
    radial-gradient(ellipse 92% 50% at 50% 0%, rgba(255, 217, 90, 0.22) 0%, transparent 62%),
    linear-gradient(160deg, #001d4a 0%, #000f29 100%);
  border-color: rgba(244, 196, 48, 0.3);
}
.module-card--gold:hover {
  border-color: rgba(244, 196, 48, 0.55);
}

/* Navy/indigo card — Modul Data */
.module-card--navy {
  background:
    radial-gradient(ellipse 92% 50% at 50% 0%, rgba(99, 102, 241, 0.26) 0%, transparent 62%),
    linear-gradient(160deg, #0a1744 0%, #050d2a 100%);
  border-color: rgba(99, 102, 241, 0.3);
}
.module-card--navy:hover {
  border-color: rgba(99, 102, 241, 0.58);
}

/* Corner Ribbon — AKTIF / PROSES */
.module-card__ribbon {
  position: absolute;
  top: 14px;
  right: -32px;
  width: 128px;
  padding: 5px 0;
  transform: rotate(35deg);
  text-align: center;
  background: linear-gradient(135deg, #ffd95a 0%, #f4c430 50%, #d4af37 100%);
  box-shadow: 0 4px 14px rgba(244, 196, 48, 0.55);
  z-index: 5;
}
.module-card__ribbon span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.6px;
  color: #3a2603;
  font-family: inherit;
}
.module-card__ribbon--navy {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.5);
}
.module-card__ribbon--navy span {
  color: #ffffff;
}

/* Module Card Top: Icon + Badge */
.module-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.module-badge {
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.6px;
  font-family: inherit;
}
.module-card--gold .module-badge {
  background: rgba(244, 196, 48, 0.14);
  color: #ffe082;
  border: 1px solid rgba(244, 196, 48, 0.35);
}
.module-card--navy .module-badge {
  background: rgba(99, 102, 241, 0.14);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.35);
}

/* Module Icon — 3D Bubble Premium */
.module-icon--bubble {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.module-icon--bubble::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 30% at 30% 22%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.15) 40%, transparent 68%);
  pointer-events: none;
  z-index: 2;
}
.module-icon--bubble::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  filter: blur(14px);
  opacity: 0.85;
  z-index: -1;
}
.module-icon--bubble svg {
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}

.module-icon--gold {
  background:
    linear-gradient(160deg, #ffe082 0%, #f4c430 42%, #b8941f 100%);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.55),
    inset 0 -5px 0 rgba(138, 100, 10, 0.45),
    0 14px 30px rgba(244, 196, 48, 0.4);
}
.module-icon--gold::after {
  background: radial-gradient(circle, rgba(244, 196, 48, 0.8), transparent 70%);
}
.module-icon--gold svg {
  color: #3a2603;
}

.module-icon--indigo {
  background:
    linear-gradient(160deg, #60a5fa 0%, #6366f1 48%, #4338ca 100%);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.45),
    inset 0 -5px 0 rgba(49, 46, 129, 0.45),
    0 14px 30px rgba(99, 102, 241, 0.42);
}
.module-icon--indigo::after {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.78), transparent 70%);
}
.module-icon--indigo svg {
  color: #ffffff;
}

/* Module Card Content */
.module-card h4 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 2;
}
.module-card--gold h4 {
  color: #ffe082;
  text-shadow: 0 2px 10px rgba(244, 196, 48, 0.28);
}
.module-card--navy h4 {
  color: #c7d2fe;
  text-shadow: 0 2px 10px rgba(99, 102, 241, 0.28);
}

.module-desc {
  margin: 0 0 18px;
  font-size: 13px;
  color: #a9b8d1;
  line-height: 1.65;
  position: relative;
  z-index: 2;
}

.module-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
}
.module-features li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  color: #dbe5f4;
  font-weight: 500;
  line-height: 1.4;
}
.mf-check, .mf-clock {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mf-check {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34d399;
}
.mf-clock {
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.5);
  color: #a5b4fc;
}

/* Module Button — 3D Physical Press Effect */
.module-btn {
  position: relative;
  width: 100%;
  padding: 14px 22px;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  overflow: hidden;
  transition: all 0.22s ease;
  letter-spacing: 0.2px;
}
.module-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transition: left 0.6s ease;
}
.module-btn:hover::before {
  left: 130%;
}
.module-btn:hover {
  transform: translateY(-3px);
}
.module-btn:active {
  transform: translateY(5px);
}
.module-arrow {
  transition: transform 0.22s ease;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}
.module-btn:hover .module-arrow {
  transform: translateX(4px);
}

.module-btn--gold {
  background: linear-gradient(160deg, #ffe082 0%, #f4c430 45%, #b8941f 100%);
  color: #3a2603;
  box-shadow:
    0 6px 0 #8a640a,
    0 14px 28px rgba(244, 196, 48, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.module-btn--gold:hover {
  box-shadow:
    0 9px 0 #8a640a,
    0 22px 42px rgba(244, 196, 48, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.module-btn--gold:active {
  box-shadow:
    0 1px 0 #8a640a,
    0 6px 14px rgba(244, 196, 48, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.module-btn--navy {
  background: linear-gradient(160deg, #60a5fa 0%, #6366f1 48%, #4338ca 100%);
  color: #ffffff;
  box-shadow:
    0 6px 0 #312e81,
    0 14px 28px rgba(99, 102, 241, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.module-btn--navy:hover {
  box-shadow:
    0 9px 0 #312e81,
    0 22px 42px rgba(99, 102, 241, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.module-btn--navy:active {
  box-shadow:
    0 1px 0 #312e81,
    0 6px 14px rgba(99, 102, 241, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* =============================================================
   PENGEMBANGAN CARD — MODUL DATA COMING SOON
   ============================================================= */

.pengembangan-wrapper {
  max-width: 980px;
  margin: 0 auto;
}

.pengembangan-card--3d {
  position: relative;
  padding: 44px 48px 36px;
  border-radius: 26px;
  background:
    linear-gradient(160deg, rgba(0, 29, 74, 0.92) 0%, rgba(0, 15, 41, 0.98) 100%);
  border: 1px solid rgba(99, 102, 241, 0.28);
  box-shadow:
    0 24px 64px rgba(0, 8, 28, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.pengembangan-ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 40% at 12% 0%, rgba(0, 153, 255, 0.18) 0%, transparent 60%),
    radial-gradient(circle 40% at 92% 95%, rgba(99, 102, 241, 0.22) 0%, transparent 60%),
    radial-gradient(circle 24% at 92% 6%, rgba(244, 196, 48, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.pengembangan-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 34px;
}

.pengembangan-icon--navy {
  position: relative;
  width: 116px;
  height: 116px;
  border-radius: 32px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(160deg, #60a5fa 0%, #6366f1 46%, #4338ca 100%);
  box-shadow:
    inset 0 4px 0 rgba(255, 255, 255, 0.45),
    inset 0 -7px 0 rgba(49, 46, 129, 0.45),
    0 20px 44px rgba(99, 102, 241, 0.48);
}
.pengembangan-icon--navy::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 30% at 30% 20%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.14) 42%, transparent 68%);
  z-index: 2;
  pointer-events: none;
}
.pengembangan-icon--navy::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  filter: blur(18px);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.85), transparent 70%);
  z-index: -1;
  opacity: 0.9;
}
.pengembangan-icon--navy svg {
  position: relative;
  z-index: 3;
  color: #ffffff;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

/* Spinner di sekitar icon pengembangan */
.pengembangan-spinner {
  position: absolute;
  inset: -10px;
  border-radius: 40px;
  border: 2.5px solid transparent;
  border-top-color: #0099ff;
  border-right-color: #f4c430;
  animation: spinSlow 2.4s cubic-bezier(0.55, 0.1, 0.45, 0.9) infinite;
  z-index: 4;
  pointer-events: none;
}
@keyframes spinSlow {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.pengembangan-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #a5b4fc;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}
.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  position: relative;
  animation: aktifPulse 1.8s ease-out infinite;
}
.progress-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid #34d399;
  animation: aktifPulse 1.8s ease-out infinite;
  opacity: 0.6;
}
@keyframes aktifPulse {
  0%   { transform: scale(0.55); opacity: 0.85; }
  80%  { transform: scale(1.65); opacity: 0; }
  100% { transform: scale(1.65); opacity: 0; }
}

.pengembangan-header h3 {
  margin: 0 0 10px;
  font-size: 25px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 50%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.25px;
}
.pengembangan-header p {
  margin: 0 auto;
  max-width: 620px;
  font-size: 13.5px;
  color: #a9b8d1;
  line-height: 1.7;
}

/* Roadmap Grid 3 cols */
.roadmap-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.roadmap-item {
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(0, 34, 85, 0.72) 0%, rgba(0, 24, 61, 0.92) 100%);
  border: 1px solid rgba(0, 153, 255, 0.16);
  box-shadow: 0 8px 22px rgba(0, 8, 28, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.22s ease;
}
.roadmap-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 153, 255, 0.32);
  box-shadow: 0 14px 34px rgba(0, 8, 28, 0.52),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rm-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
  font-family: inherit;
}
.rm-check {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

/* Roadmap active — selesai */
.roadmap-item--active .rm-check {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.55);
  color: #34d399;
}
.roadmap-item--active .rm-title {
  color: #ffffff;
}
.roadmap-item--active .rm-sub {
  color: #86efac;
}

/* Roadmap progress — sedang dikerjakan */
.roadmap-item--progress .rm-check {
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.55);
  color: #60a5fa;
}
.roadmap-item--progress .rm-title {
  color: #ffffff;
}
.roadmap-item--progress .rm-sub {
  color: #93c5fd;
}
.rm-loader {
  position: absolute;
  inset: 4px;
  border-radius: 7px;
  border: 2px solid transparent;
  border-top-color: #60a5fa;
  border-right-color: #a5b4fc;
  animation: spinSlow 0.9s linear infinite;
  pointer-events: none;
}

/* Roadmap pending — menunggu */
.roadmap-item--pending .rm-num {
  background: rgba(148, 163, 184, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #cbd5e1;
}
.roadmap-item--pending .rm-title {
  color: #94a3b8;
}
.roadmap-item--pending .rm-sub {
  color: #64748b;
}

.rm-content {
  flex: 1;
  min-width: 0;
}
.rm-title {
  font-size: 13.5px;
  font-weight: 800;
  margin: 0 0 3px;
  letter-spacing: 0.15px;
}
.rm-sub {
  font-size: 11.5px;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

/* Progress Wrapper 38% */
.progress-wrapper {
  position: relative;
  z-index: 2;
  max-width: 580px;
  margin: 0 auto 34px;
  padding: 20px 22px;
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(0, 53, 114, 0.5) 0%, rgba(0, 24, 61, 0.8) 100%);
  border: 1px solid rgba(0, 153, 255, 0.2);
  box-shadow: 0 12px 28px rgba(0, 8, 28, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.progress-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.progress-label span {
  font-size: 12.5px;
  color: #a9b8d1;
  font-weight: 600;
}
.progress-label strong {
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(135deg, #60a5fa 0%, #f4c430 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: inherit;
}
.progress-bar {
  height: 13px;
  border-radius: 999px;
  background: rgba(0, 24, 61, 0.85);
  border: 1px solid rgba(0, 53, 114, 0.8);
  padding: 2px;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}
.progress-fill {
  position: relative;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6 0%, #6366f1 52%, #f4c430 100%);
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.55),
              0 0 10px rgba(244, 196, 48, 0.4);
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.progress-shine {
  position: absolute;
  top: 60%;
  left: 0;
  right: 0;
  height: 40%;
  transform: translateY(-50%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.05));
  border-radius: inherit;
  filter: blur(1px);
  pointer-events: none;
}

/* Pengembangan Footer — Team + Back button */
.pengembangan-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 6px;
  border-top: 1px solid rgba(0, 153, 255, 0.14);
  margin-top: 10px;
}
.team-card {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 240px;
}
.team-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(160deg, #ffe082 0%, #f4c430 50%, #b8941f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  color: #3a2603;
  font-family: inherit;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.55),
    inset 0 -3px 0 rgba(138, 100, 10, 0.45),
    0 8px 18px rgba(244, 196, 48, 0.38);
  flex-shrink: 0;
}
.team-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.team-info strong {
  font-size: 13px;
  font-weight: 800;
  color: #e6edf8;
}
.team-info span {
  font-size: 11.5px;
  color: #8494b3;
  font-weight: 500;
}

/* =============================================================
   ADMIN DATA CENTER — SPREADSHEET STYLE TABLE PREMIUM
   ============================================================= */

.admin-data-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.admin-table-card {
  position: relative;
  padding: 24px 24px 20px;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(0, 29, 74, 0.9) 0%, rgba(0, 15, 41, 0.96) 100%);
  border: 1px solid rgba(0, 153, 255, 0.24);
  box-shadow:
    0 22px 54px rgba(0, 8, 28, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.admin-table-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffd95a 0%, #f4c430 40%, #6366f1 100%);
  z-index: 2;
  box-shadow: 0 2px 18px rgba(244, 196, 48, 0.5);
}

.admin-table-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}
.admin-table-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}
.admin-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(160deg, #ffe082 0%, #f4c430 45%, #b8941f 100%);
  color: #3a2603;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.55),
    inset 0 -4px 0 rgba(138, 100, 10, 0.45),
    0 10px 24px rgba(244, 196, 48, 0.42);
  position: relative;
}
.admin-icon-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 30% at 28% 22%, rgba(255,255,255,0.7), transparent 60%);
  pointer-events: none;
}
.admin-table-heading h3 {
  margin: 0 0 2px;
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.15px;
}
.admin-table-heading p {
  margin: 0;
  font-size: 12px;
  color: #8494b3;
  font-weight: 500;
}

.admin-search-wrap {
  position: relative;
  min-width: 260px;
  flex: 1;
  max-width: 420px;
}
.admin-search-wrap svg {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #6366f1;
  z-index: 2;
  pointer-events: none;
}
.admin-search-wrap input {
  width: 100%;
  padding: 11px 16px 11px 40px;
  background: rgba(0, 24, 61, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.32);
  border-radius: 12px;
  color: #e6edf8;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  outline: none;
  transition: all 0.22s ease;
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.35),
    0 4px 14px rgba(0, 8, 28, 0.3);
}
.admin-search-wrap input::placeholder {
  color: #64748b;
  font-weight: 500;
}
.admin-search-wrap input:focus {
  border-color: rgba(244, 196, 48, 0.55);
  background: rgba(0, 24, 61, 0.95);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.35),
    0 6px 22px rgba(244, 196, 48, 0.18),
    0 0 0 3px rgba(244, 196, 48, 0.14);
}

.admin-table-container {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(0, 153, 255, 0.18);
  overflow: hidden;
  max-height: 560px;
  overflow-x: auto;
  margin-bottom: 18px;
  background: rgba(0, 15, 41, 0.55);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Custom scrollbar for table container */
.admin-table-container::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.admin-table-container::-webkit-scrollbar-track {
  background: rgba(0, 24, 61, 0.7);
}
.admin-table-container::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f4c430, #6366f1);
  border-radius: 10px;
  border: 2px solid rgba(0, 24, 61, 0.7);
}

.admin-data-table {
  width: 100%;
  min-width: 960px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: inherit;
  position: relative;
}
.admin-data-table thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 14px 16px;
  text-align: left;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #ffe082;
  background:
    linear-gradient(180deg, #002255 0%, #00183d 100%);
  border-bottom: 2px solid rgba(244, 196, 48, 0.45);
  box-shadow: 0 2px 16px rgba(0, 8, 28, 0.6);
}
.admin-data-table thead th::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(244,196,48,0.7), transparent);
}
.admin-data-table tbody td {
  padding: 12.5px 16px;
  font-size: 13px;
  color: #cfd9e8;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 53, 114, 0.4);
  position: relative;
  transition: all 0.18s ease;
  vertical-align: middle;
}
.admin-data-table tbody tr:nth-child(even) td {
  background: rgba(0, 34, 85, 0.32);
}
.admin-data-table tbody tr {
  transition: all 0.22s ease;
  position: relative;
}
.admin-data-table tbody tr:hover td {
  background: rgba(244, 196, 48, 0.08) !important;
  color: #ffffff;
}
.admin-data-table tbody tr:hover td::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: -1px;
  width: 3px;
  background: linear-gradient(180deg, #f4c430, #ffd95a);
  box-shadow: 0 0 14px rgba(244, 196, 48, 0.7);
}
.admin-data-table tbody tr:hover .admin-kode {
  transform: scale(1.04);
}

/* Kolom */
.admin-no {
  font-weight: 800;
  color: #8494b3;
  font-family: inherit;
  font-size: 12.5px;
}
.admin-kode {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #3a2603;
  background: linear-gradient(135deg, #ffe082 0%, #f4c430 50%, #d4af37 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 4px 12px rgba(244,196,48,0.32);
  transition: transform 0.22s ease;
  font-family: inherit;
}
.admin-nama {
  font-weight: 700;
  color: #e6edf8;
}
.admin-wilayah {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(0, 153, 255, 0.12);
  border: 1px solid rgba(0, 153, 255, 0.3);
  color: #93c5fd;
  font-size: 11.5px;
  font-weight: 700;
}
.admin-wilayah svg {
  flex-shrink: 0;
}
.admin-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.admin-status .admin-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  position: relative;
}
.admin-status .admin-status-dot::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 2px solid #34d399;
  animation: aktifPulse 1.8s ease-out infinite;
}
.admin-tanggal {
  color: #a9b8d1;
  font-weight: 600;
  font-size: 12px;
  font-family: inherit;
}

.admin-table-empty {
  padding: 60px 20px;
  text-align: center;
  color: #64748b;
}
.admin-table-empty > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.admin-table-empty svg {
  color: #f4c430;
  filter: drop-shadow(0 4px 12px rgba(244, 196, 48, 0.5));
  opacity: 0.85;
}
.admin-table-empty p {
  margin: 0;
  font-size: 13px;
  color: #8494b3;
  font-weight: 500;
}

.admin-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 4px;
  position: relative;
  z-index: 3;
}
.admin-footer-info {
  font-size: 12.5px;
  color: #a9b8d1;
  font-weight: 500;
}
.admin-footer-info strong {
  color: #ffe082;
  font-weight: 900;
  font-family: inherit;
}
.module-btn--short {
  width: auto;
  padding: 11px 18px;
  font-size: 12.5px;
}
.module-btn--short .module-arrow {
  display: none;
}
.module-btn--short svg {
  color: inherit;
}

/* Admin responsive */
@media (max-width: 768px) {
  .admin-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .admin-table-card {
    padding: 18px 16px 16px;
    border-radius: 18px;
  }
  .admin-table-topbar {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-search-wrap {
    min-width: 0;
    max-width: none;
  }
  .admin-table-heading h3 {
    font-size: 16px;
  }
  .admin-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .admin-table-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .module-btn--short {
    width: 100%;
    justify-content: center;
  }
  .admin-data-table thead th {
    padding: 12px 14px;
    font-size: 10.5px;
  }
  .admin-data-table tbody td {
    padding: 11px 14px;
    font-size: 12.5px;
  }
}
@media (max-width: 420px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  .admin-table-card {
    padding: 16px 14px 14px;
    border-radius: 16px;
  }
  .admin-table-heading {
    gap: 12px;
  }
  .admin-table-heading h3 {
    font-size: 15px;
  }
  .admin-table-heading p {
    font-size: 11.5px;
  }
  .admin-data-table thead th {
    padding: 11px 12px;
  }
  .admin-data-table tbody td {
    padding: 10px 12px;
    font-size: 12px;
  }
  .admin-kode {
    font-size: 11px;
    padding: 4px 10px;
  }
  .admin-footer-info {
    font-size: 11.5px;
    text-align: center;
  }
}

/* =============================================================
   SUBMENU GRID — 13 ADMIN DATA CENTER CARDS
   ============================================================= */

.submenu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 6px 4px 4px;
}

.submenu-card {
  position: relative;
  padding: 22px 18px 18px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(10, 35, 82, 0.85), rgba(2, 18, 52, 0.95));
  border: 1px solid rgba(64, 130, 255, 0.2);
  box-shadow:
    0 6px 0 rgba(0, 12, 40, 0.8),
    0 20px 50px rgba(0, 10, 40, 0.55),
    inset 0 2px 0 rgba(120, 180, 255, 0.1);
  transition: transform .28s cubic-bezier(.2,.9,.3,1.4), box-shadow .28s ease, border-color .25s;
  cursor: pointer;
  overflow: visible;
}

.submenu-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(ellipse 120% 60% at 30% -10%, rgba(255, 215, 120, 0.10), transparent 60%);
  pointer-events: none;
}

.submenu-card:hover {
  transform: translateY(-6px) rotateX(2deg);
  border-color: rgba(140, 190, 255, 0.45);
  box-shadow:
    0 12px 0 rgba(0, 12, 40, 0.75),
    0 30px 60px rgba(0, 10, 40, 0.65),
    inset 0 2px 0 rgba(180, 220, 255, 0.18);
}

.submenu-card:active {
  transform: translateY(2px) scale(0.985);
  box-shadow:
    0 2px 0 rgba(0, 12, 40, 0.85),
    0 10px 25px rgba(0, 10, 40, 0.5),
    inset 0 2px 0 rgba(100, 160, 240, 0.08);
}

.submenu-card h5 {
  color: #f2f5ff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.15px;
  margin: 14px 0 6px;
  position: relative;
  z-index: 1;
}

.submenu-card p {
  color: #8fb0e0;
  font-size: 11.5px;
  margin: 0 0 10px;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.submenu-total {
  font-size: 11.5px;
  color: #b6cff5;
  padding: 7px 11px;
  border-radius: 10px;
  background: rgba(20, 55, 120, 0.45);
  border: 1px solid rgba(80, 140, 230, 0.2);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.submenu-total strong {
  background: linear-gradient(135deg, #ffd95a, #f4c430 50%, #d4af37);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  font-size: 13px;
}

.submenu-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  position: relative;
  z-index: 1;
}

.submenu-icon--bubble {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow:
    inset 0 -6px 14px rgba(0, 0, 0, 0.35),
    inset 0 4px 10px rgba(255, 255, 255, 0.35),
    0 8px 22px rgba(0, 0, 0, 0.35);
}

.submenu-icon--bubble::after {
  content: '';
  position: absolute;
  top: 14%;
  left: 18%;
  width: 40%;
  height: 26%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.75), transparent 70%);
  filter: blur(1px);
}

/* 13 Color Variants */
.submenu-icon--gold { background: linear-gradient(160deg, #fff1a8 0%, #ffd95a 22%, #f4c430 48%, #b8941f 100%); color: #3a2a00; }
.submenu-icon--blue { background: linear-gradient(160deg, #a8d0ff 0%, #0099ff 28%, #0055bb 70%, #002f77 100%); color: #fff; }
.submenu-icon--violet { background: linear-gradient(160deg, #e9d5ff 0%, #c084fc 26%, #8b5cf6 55%, #5b21b6 100%); color: #fff; }
.submenu-icon--indigo { background: linear-gradient(160deg, #c7d2fe 0%, #818cf8 26%, #4f46e5 55%, #312e81 100%); color: #fff; }
.submenu-icon--red { background: linear-gradient(160deg, #fecaca 0%, #f87171 26%, #dc2626 55%, #7f1d1d 100%); color: #fff; }
.submenu-icon--orange { background: linear-gradient(160deg, #fed7aa 0%, #fb923c 26%, #ea580c 55%, #7c2d12 100%); color: #fff; }
.submenu-icon--green { background: linear-gradient(160deg, #bbf7d0 0%, #4ade80 26%, #16a34a 55%, #14532d 100%); color: #fff; }
.submenu-icon--teal { background: linear-gradient(160deg, #99f6e4 0%, #2dd4bf 26%, #0d9488 55%, #134e4a 100%); color: #fff; }
.submenu-icon--pink { background: linear-gradient(160deg, #fbcfe8 0%, #f472b6 26%, #ec4899 55%, #9d174d 100%); color: #fff; }
.submenu-icon--cyan { background: linear-gradient(160deg, #a5f3fc 0%, #22d3ee 26%, #0891b2 55%, #164e63 100%); color: #fff; }
.submenu-icon--amber { background: linear-gradient(160deg, #fde68a 0%, #fbbf24 26%, #d97706 55%, #78350f 100%); color: #2a1800; }
.submenu-icon--lime { background: linear-gradient(160deg, #d9f99d 0%, #a3e635 26%, #65a30d 55%, #365314 100%); color: #1a2e05; }
.submenu-icon--crimson { background: linear-gradient(160deg, #fecdd3 0%, #fb7185 26%, #e11d48 55%, #881337 100%); color: #fff; }

/* Submenu card ACTIVE badge ribbon gold */
.submenu-card--active {
  border-color: rgba(244, 196, 48, 0.45);
  background: linear-gradient(160deg, rgba(30, 56, 112, 0.9), rgba(8, 28, 70, 0.97));
  box-shadow:
    0 6px 0 rgba(120, 85, 10, 0.5),
    0 20px 50px rgba(0, 10, 40, 0.55),
    inset 0 1px 0 rgba(255, 235, 160, 0.14);
}

/* =============================================================
   MODULE BUTTON — COLOR VARIANTS (cetak/export)
   ============================================================= */

.module-btn--violet {
  background: linear-gradient(160deg, #a855f7 0%, #7c3aed 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(196, 181, 253, 0.45) !important;
  box-shadow: 0 6px 0 rgba(76, 29, 149, 0.55), 0 16px 40px rgba(139, 92, 246, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.28) !important;
}
.module-btn--crimson {
  background: linear-gradient(160deg, #fb7185 0%, #e11d48 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(254, 205, 211, 0.45) !important;
  box-shadow: 0 6px 0 rgba(127, 29, 29, 0.55), 0 16px 40px rgba(244, 63, 94, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.28) !important;
}
.module-btn--amber {
  background: linear-gradient(160deg, #fbbf24 0%, #d97706 100%) !important;
  color: #2a1800 !important;
  border: 1px solid rgba(253, 230, 138, 0.55) !important;
  box-shadow: 0 6px 0 rgba(120, 53, 15, 0.45), 0 16px 40px rgba(245, 158, 11, 0.38), inset 0 2px 0 rgba(255, 255, 255, 0.32) !important;
}
.module-btn--lime {
  background: linear-gradient(160deg, #bef264 0%, #65a30d 100%) !important;
  color: #1a2e05 !important;
  border: 1px solid rgba(217, 249, 157, 0.55) !important;
  box-shadow: 0 6px 0 rgba(54, 83, 20, 0.45), 0 16px 40px rgba(101, 163, 13, 0.38), inset 0 2px 0 rgba(255, 255, 255, 0.32) !important;
}
.module-btn--teal {
  background: linear-gradient(160deg, #2dd4bf 0%, #0f766e 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(153, 246, 228, 0.45) !important;
  box-shadow: 0 6px 0 rgba(17, 94, 89, 0.55), 0 16px 40px rgba(13, 148, 136, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.28) !important;
}
.module-btn--indigo {
  background: linear-gradient(160deg, #818cf8 0%, #3730a3 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(199, 210, 254, 0.45) !important;
  box-shadow: 0 6px 0 rgba(49, 46, 129, 0.55), 0 16px 40px rgba(79, 70, 229, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.28) !important;
}

/* =============================================================
   WIDE TABLE — Horizontal Scroll 32+ Kolom
   ============================================================= */

.admin-wide-scroll {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 14px;
  position: relative;
  background: linear-gradient(180deg, rgba(5, 22, 60, 0.5), rgba(2, 14, 42, 0.65));
  box-shadow: inset 0 0 0 1px rgba(60, 120, 220, 0.18);
}

.admin-wide-scroll::-webkit-scrollbar {
  height: 12px;
}
.admin-wide-scroll::-webkit-scrollbar-track {
  background: linear-gradient(90deg, rgba(6, 22, 60, 0.9), rgba(2, 14, 42, 0.95));
  border-radius: 6px;
}
.admin-wide-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #0077dd 0%, #0099ff 50%, #f4c430 100%);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 2px 6px rgba(0, 0, 0, 0.35);
}
.admin-wide-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #0088ff, #f4c430);
}

/* =============================================================
   TABLE STICKY LEFT 2 KOLOM — NO + NAMA
   ============================================================= */

.table-sticky-2col thead th:nth-child(1),
.table-sticky-2col thead th:nth-child(2) {
  position: sticky;
  z-index: 12;
}
.table-sticky-2col thead th:nth-child(1) { left: 0; }
.table-sticky-2col thead th:nth-child(2) { left: 70px; }

.table-sticky-2col tbody td:nth-child(1) {
  position: sticky;
  left: 0;
  z-index: 6;
  background: linear-gradient(90deg, rgba(3, 17, 48, 0.98) 65%, rgba(3, 17, 48, 0.65) 92%, transparent 100%);
  box-shadow: inset -1px 0 0 rgba(80, 130, 220, 0.35);
}
.table-sticky-2col tbody td:nth-child(2) {
  position: sticky;
  left: 70px;
  z-index: 5;
  background: linear-gradient(90deg, rgba(5, 22, 60, 0.98) 65%, rgba(5, 22, 60, 0.5) 90%, transparent 100%);
  box-shadow: inset -1px 0 0 rgba(80, 130, 220, 0.28);
  font-weight: 600;
}

/* Even row Zebra override sticky bg */
.table-sticky-2col tbody tr:nth-child(even) td:nth-child(1) {
  background: linear-gradient(90deg, rgba(7, 27, 72, 0.98) 65%, rgba(7, 27, 72, 0.65) 92%, transparent 100%);
}
.table-sticky-2col tbody tr:nth-child(even) td:nth-child(2) {
  background: linear-gradient(90deg, rgba(9, 32, 80, 0.98) 65%, rgba(9, 32, 80, 0.5) 90%, transparent 100%);
}

/* =============================================================
   GROUP HEADER THEAD 2 ROW — Personnel + LTAI Table
   ============================================================= */

.gr-group th {
  padding: 13px 14px 11px !important;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  letter-spacing: 0.2px;
  border-bottom: 2px solid rgba(244, 196, 48, 0.35);
  text-shadow: 0 1px 2px rgba(0,0,0,0.55);
  position: relative;
}

.gr-group th::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: inherit;
  opacity: 0.7;
}

.gr-sub th {
  padding: 10px 10px 9px !important;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.1px;
  white-space: nowrap;
  vertical-align: middle;
  border-bottom: 1px solid rgba(80, 140, 230, 0.35);
}

/* Group Colors — PERSONNEL */
.gr-group th.grp-free {
  background: linear-gradient(160deg, #002255 0%, #00183d 100%);
  color: #e0ecff;
}
.gr-group th.grp-polri {
  background: linear-gradient(160deg, #003572 0%, #00183d 100%);
  color: #dbeaff;
}
.gr-group th.grp-polri-sub {
  background: linear-gradient(160deg, #004a99 0%, #002255 100%);
  color: #f2f7ff;
}
.gr-group th.grp-asn {
  background: linear-gradient(160deg, #0077dd 0%, #003572 100%);
  color: #ffffff;
}
.gr-group th.grp-asn-sub {
  background: linear-gradient(160deg, #0099ff 0%, #0055aa 100%);
  color: #ffffff;
}
.gr-group th.grp-nonpnpp {
  background: linear-gradient(160deg, #ec4899 0%, #9d174d 100%);
  color: #fff;
}
.gr-group th.grp-nonpnpp-sub {
  background: linear-gradient(160deg, #f472b6 0%, #be185d 100%);
  color: #fff;
}
.gr-group th.grp-total {
  background: linear-gradient(160deg, #ffd95a 0%, #f4c430 45%, #b8941f 100%);
  color: #3a2a00;
  text-shadow: none;
  border-bottom: 2px solid rgba(120, 85, 10, 0.55);
}

/* Group Sub Colors — PERSONNEL */
.gr-sub th.col-polri {
  background: rgba(0, 50, 110, 0.55);
  color: #cfe0ff;
}
.gr-sub th.col-polri-total {
  background: rgba(0, 80, 160, 0.7);
  color: #f2f7ff;
  font-weight: 800;
}
.gr-sub th.col-asn {
  background: rgba(0, 110, 200, 0.55);
  color: #e4f0ff;
}
.gr-sub th.col-asn-total {
  background: rgba(0, 140, 240, 0.7);
  color: #fff;
  font-weight: 800;
}
.gr-sub th.col-nonpnpp {
  background: rgba(219, 39, 119, 0.45);
  color: #ffe5f0;
}
.gr-sub th.col-nonpnpp-total {
  background: rgba(236, 72, 153, 0.7);
  color: #fff;
  font-weight: 800;
}
.gr-sub th.col-total {
  background: linear-gradient(160deg, rgba(255,217,90,0.85), rgba(244,196,48,0.85));
  color: #2e1f00;
  font-weight: 800;
}

/* Personnel Tfoot */
.grp-footer tfoot tr {
  background: linear-gradient(160deg, rgba(255, 217, 90, 0.22) 0%, rgba(184, 148, 31, 0.32) 100%) !important;
}
.grp-footer tfoot td {
  padding: 12px 10px !important;
  font-weight: 800;
  font-size: 12.5px;
  border-top: 2px solid rgba(244, 196, 48, 0.55);
  color: #ffe8a8;
  background: linear-gradient(160deg, rgba(40, 28, 2, 0.6), rgba(20, 14, 2, 0.85));
}
.grp-footer tfoot td:first-child,
.grp-footer tfoot td:nth-child(2) {
  color: #fff6c4;
  background: linear-gradient(90deg, rgba(60, 40, 2, 0.95), rgba(28, 18, 2, 0.95)) !important;
  font-size: 13px;
  letter-spacing: 0.3px;
}

/* =============================================================
   GROUP HEADER 3 WARNA — LTAI RM (Sesuai Sheet Ungu/Pink/Magenta)
   ============================================================= */

.gr-group th.grp-ungu {
  background: linear-gradient(160deg, #a855f7 0%, #7c3aed 55%, #5b21b6 100%) !important;
  color: #fff;
  border-bottom: 2px solid rgba(216, 180, 254, 0.55);
}
.gr-group th.grp-pink {
  background: linear-gradient(160deg, #ec4899 0%, #db2777 55%, #9d174d 100%) !important;
  color: #fff;
  border-bottom: 2px solid rgba(249, 168, 212, 0.55);
}
.gr-group th.grp-magenta {
  background: linear-gradient(160deg, #d946ef 0%, #c026d3 50%, #a21caf 100%) !important;
  color: #fff;
  border-bottom: 2px solid rgba(240, 171, 252, 0.55);
}

.gr-sub th.col-ungu {
  background: rgba(139, 92, 246, 0.45);
  color: #f3e8ff;
}
.gr-sub th.col-pink {
  background: rgba(236, 72, 153, 0.45);
  color: #ffe5f0;
}
.gr-sub th.col-magenta {
  background: rgba(217, 70, 239, 0.45);
  color: #fae8ff;
}

/* =============================================================
   CELL COLORS — td sesuai group (Personnel + LTAI)
   ============================================================= */

.admin-data-table td.tot-polri {
  font-weight: 700;
  color: #85c1ff;
  background: rgba(0, 55, 120, 0.3);
}
.admin-data-table td.tot-asn {
  font-weight: 700;
  color: #a8d8ff;
  background: rgba(0, 90, 170, 0.3);
}
.admin-data-table td.tot-non {
  font-weight: 700;
  color: #ffb3d4;
  background: rgba(200, 30, 100, 0.25);
}
.admin-data-table td.tot-akhir {
  font-weight: 800;
  background: linear-gradient(160deg, rgba(255, 217, 90, 0.22), rgba(244, 196, 48, 0.32));
  color: #ffd95a;
  font-size: 13px;
}
.admin-data-table td.col-ungu {
  background: rgba(124, 58, 237, 0.12);
  color: #e9d5ff;
}
.admin-data-table td.col-pink {
  background: rgba(219, 39, 119, 0.12);
  color: #fbcfe8;
}
.admin-data-table td.col-magenta {
  background: rgba(192, 38, 211, 0.14);
  color: #f5d0fe;
}

/* Negative value style — Google Sheets format ID */
.neg-val {
  color: #f87171 !important;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.row-highlight-red td {
  background: rgba(254, 226, 226, 0.10) !important;
}
.row-highlight-red td:nth-child(1),
.row-highlight-red td:nth-child(2) {
  background: linear-gradient(90deg, rgba(90, 20, 30, 0.92), rgba(90, 20, 30, 0.5)) !important;
}
.row-highlight-red td.col-ungu { background: rgba(220, 50, 90, 0.14) !important; }
.row-highlight-red td.col-pink { background: rgba(230, 60, 110, 0.14) !important; }
.row-highlight-red td.col-magenta { background: rgba(240, 70, 130, 0.14) !important; }

/* =============================================================
   VIEW PILL — variant warna tambahan
   ============================================================= */

.view-pill--violet {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(217, 70, 239, 0.22)) !important;
  color: #e9d5ff !important;
  border-color: rgba(168, 85, 247, 0.5) !important;
}

/* =============================================================
   RESPONSIVE — SUBMENU GRID & WIDE TABLE
   ============================================================= */

@media (max-width: 768px) {
  .submenu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .submenu-card {
    padding: 18px 16px 16px;
  }
  .submenu-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }
  .admin-wide-scroll {
    border-radius: 12px;
  }
}

@media (max-width: 420px) {
  .submenu-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .submenu-card {
    padding: 16px 14px 14px;
    border-radius: 16px;
  }
  .submenu-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }
  .table-sticky-2col thead th:nth-child(2) { left: 58px; }
  .table-sticky-2col tbody td:nth-child(2) { left: 58px; }
  .admin-stats-grid[style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* =============================================================
   RESPONSIVE — MODULES & PENGEMBANGAN
   ============================================================= */

@media (max-width: 768px) {
  .modules-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .module-card {
    padding: 28px 24px 24px;
  }
  .module-icon--bubble {
    width: 72px;
    height: 72px;
    border-radius: 20px;
  }
  .module-card h4 {
    font-size: 18px;
  }
  .view-breadcrumb {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-back {
    width: 100%;
    justify-content: center;
  }
  .pengembangan-card--3d {
    padding: 34px 26px 28px;
  }
  .pengembangan-icon--navy {
    width: 96px;
    height: 96px;
    border-radius: 28px;
  }
  .pengembangan-icon--navy svg {
    width: 48px;
    height: 48px;
  }
  .pengembangan-spinner {
    inset: -8px;
  }
  .roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .progress-wrapper {
    margin-bottom: 26px;
    padding: 16px 18px;
  }
  .pengembangan-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .module-btn {
    width: 100%;
  }
  .team-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .modules-header h3 {
    font-size: 22px;
  }
  .view-title h2 {
    font-size: 18px;
  }
}

@media (max-width: 420px) {
  .module-card {
    padding: 24px 20px 22px;
    border-radius: 18px;
  }
  .module-icon--bubble {
    width: 62px;
    height: 62px;
    border-radius: 18px;
  }
  .module-icon--bubble svg {
    width: 30px;
    height: 30px;
  }
  .module-card h4 {
    font-size: 16.5px;
  }
  .module-desc {
    font-size: 12.5px;
  }
  .module-features li {
    font-size: 12.5px;
    gap: 9px;
  }
  .pengembangan-card--3d {
    padding: 28px 20px 24px;
    border-radius: 22px;
  }
  .pengembangan-icon--navy {
    width: 82px;
    height: 82px;
    border-radius: 24px;
  }
  .pengembangan-icon--navy svg {
    width: 42px;
    height: 42px;
  }
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  .roadmap-item {
    padding: 15px 14px 13px;
  }
  .rm-num, .rm-check {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .pengembangan-header h3 {
    font-size: 21px;
  }
  .pengembangan-header p {
    font-size: 12.5px;
  }
  .team-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 14px;
  }
  .modules-header h3 {
    font-size: 20px;
  }
  .modules-header p {
    font-size: 12.5px;
  }
}

/* =============================================================
   RESPONSIVE BREAKPOINTS (SMOOTH TRANSITION)
   ============================================================= */

/* Desktop X-LUAS */
@media (min-width: 1400px) {
  .login-wrapper {
    max-width: 1200px;
  }

  .landscape-card {
    min-height: 620px;
  }

  .brand-panel {
    padding: 58px 52px 48px;
    min-height: 620px;
  }

  .form-panel {
    padding: 58px 58px 48px;
  }

  .brand-logo-wrap {
    max-width: 460px;
  }

  .dashboard-content {
    max-width: 1600px;
    padding: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Intermediate Desktop MD → mencegah loncatan ke 960 stack terlalu cepat */
@media (max-width: 1200px) {
  .login-wrapper {
    max-width: 1020px;
    padding: 26px 20px;
  }

  .landscape-card {
    min-height: 560px;
  }

  .brand-panel {
    padding: 44px 38px 38px;
    min-height: 560px;
  }

  .form-panel {
    padding: 44px 42px 38px;
  }

  .brand-logo-wrap {
    max-width: 380px;
  }

  .form-header h1 {
    font-size: 26px;
  }
}

/* Landscape → Stacked (tablet landscape kebawah) */
@media (max-width: 960px) {
  .login-wrapper {
    max-width: 560px;
    padding: 24px 18px;
    perspective: 1200px;
  }

  .landscape-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .brand-panel {
    min-height: auto;
    padding: 34px 32px 28px;
  }

  .brand-logo-wrap {
    max-width: 330px;
    margin-bottom: 24px;
  }

  .brand-subtitle3d {
    margin-top: 0;
  }

  .form-panel {
    padding: 34px 32px 28px;
  }

  .form-header h1 {
    font-size: 24px;
  }

  .btn-landscape-login--3d {
    box-shadow:
      0 7px 0 #9a7a0c,
      0 8px 18px rgba(212, 175, 55, 0.5),
      0 0 30px rgba(244, 196, 48, 0.22),
      0 1px 0 rgba(255, 255, 255, 0.55) inset,
      0 -2px 0 rgba(150, 110, 0, 0.25) inset;
  }

  .btn-landscape-login--3d:hover {
    box-shadow:
      0 10px 0 #9a7a0c,
      0 12px 28px rgba(212, 175, 55, 0.6),
      0 0 45px rgba(244, 196, 48, 0.32),
      0 1px 0 rgba(255, 255, 255, 0.6) inset,
      0 -2px 0 rgba(150, 110, 0, 0.25) inset;
  }
}

/* Tablet */
@media (max-width: 768px) {
  body {
    padding: 0;
    min-height: -webkit-fill-available;
    min-height: 100dvh;
  }

  .login-wrapper {
    padding: 14px 12px;
    max-width: 100%;
  }

  .landscape-card {
    border-radius: 22px;
  }

  .brand-panel {
    padding: 26px 22px 24px;
  }

  .brand-badge {
    padding: 7px 14px;
    margin-bottom: 20px;
  }

  .brand-badge span {
    font-size: 11px;
    letter-spacing: 1.2px;
  }

  .brand-logo-wrap {
    max-width: 290px;
    margin-bottom: 20px;
    padding: 4px;
    border-radius: 22px;
  }

  .brand-subtitle3d {
    padding: 8px 16px;
  }

  .brand-subtitle3d span {
    font-size: 11px;
  }

  .brand-footer {
    padding-top: 20px;
  }

  .brand-footer .polda-seal {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .form-panel {
    padding: 26px 22px 24px;
  }

  .form-header {
    margin-bottom: 22px;
  }

  .form-header h1 {
    font-size: 22px;
  }

  .form-header p {
    font-size: 13px;
  }

  .form-body .form-group {
    margin-bottom: 18px;
  }

  .form-body .input-wrapper input {
    padding: 14px 15px 14px 46px;
    font-size: 14.5px;
    border-radius: 12px;
  }

  .form-body .input-wrapper--3d {
    border-radius: 12px;
  }

  .form-body .input-wrapper--3d input {
    border-radius: 11px;
  }

  .form-body .input-wrapper .icon {
    left: 14px;
    font-size: 16px;
  }

  .btn-landscape-login {
    padding: 14.5px;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 12px;
  }

  .btn-landscape-login--3d {
    padding: 15px 14px 16px;
    border-radius: 13px;
    box-shadow:
      0 6px 0 #9a7a0c,
      0 7px 14px rgba(212, 175, 55, 0.48),
      0 0 24px rgba(244, 196, 48, 0.2),
      0 1px 0 rgba(255, 255, 255, 0.55) inset,
      0 -2px 0 rgba(150, 110, 0, 0.25) inset;
  }

  .btn-landscape-login--3d:hover {
    transform: translateY(-2px);
    box-shadow:
      0 8px 0 #9a7a0c,
      0 10px 22px rgba(212, 175, 55, 0.55),
      0 0 36px rgba(244, 196, 48, 0.3),
      0 1px 0 rgba(255, 255, 255, 0.6) inset,
      0 -2px 0 rgba(150, 110, 0, 0.25) inset;
  }

  /* Dashboard responsive */
  .navbar {
    padding: 14px 18px;
    flex-wrap: wrap;
    gap: 15px;
  }

  .navbar-brand {
    gap: 12px;
  }

  .navbar-brand h1 {
    font-size: 18px;
  }

  .navbar-brand .tagline {
    font-size: 10.5px;
  }

  .navbar-brand .logo {
    width: 46px;
    height: 46px;
  }

  .user-info {
    padding: 8px 13px;
  }

  .user-info .user-name {
    font-size: 12px;
  }

  .user-info .user-kode {
    font-size: 10px;
  }

  .btn-logout {
    padding: 10px 15px;
    font-size: 12px;
  }

  .btn-icon-umgmt {
    width: 42px;
    height: 42px;
    min-width: 42px;
    margin-right: 10px;
  }
  .btn-icon-umgmt svg {
    width: 18px;
    height: 18px;
  }

  .dashboard-content {
    padding: 22px 16px;
  }

  .welcome-banner {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .welcome-banner h2 {
    font-size: 20px;
  }

  .welcome-banner .satker-info {
    font-size: 14px;
    padding: 9px 14px;
  }

  .stats-grid {
    gap: 16px;
    margin-bottom: 24px;
  }

  .stat-card {
    padding: 20px;
    gap: 14px;
  }

  .stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .stat-info .stat-value {
    font-size: 25px;
  }

  .satker-detail-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .satker-detail-card h2 {
    font-size: 18px;
    margin-bottom: 22px;
    padding-bottom: 14px;
  }

  .detail-heading-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .detail-grid {
    gap: 16px;
  }

  .detail-item {
    padding: 18px;
  }

  .menu-grid--3d {
    gap: 14px;
    margin-top: 26px;
    padding-top: 24px;
  }

  .menu-item--3d {
    padding: 24px 16px 22px;
    box-shadow:
      0 0 0 1px rgba(0, 153, 255, 0.12),
      0 7px 18px rgba(0, 0, 0, 0.3),
      0 2px 0 rgba(0, 10, 30, 0.55),
      0 1px 0 rgba(255, 255, 255, 0.05) inset;
  }

  .menu-icon--bubble {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    margin-bottom: 16px;
  }

  .menu-icon--bubble svg {
    width: 24px;
    height: 24px;
  }
}

/* HP kecil */
@media (max-width: 420px) {
  .login-wrapper {
    padding: 10px 8px;
  }

  .landscape-card {
    border-radius: 20px;
  }

  .brand-panel {
    padding: 22px 16px 20px;
  }

  .brand-badge {
    padding: 5.5px 11px;
    margin-bottom: 16px;
  }

  .brand-badge span {
    font-size: 10.5px;
    letter-spacing: 1px;
  }

  .brand-logo-wrap {
    max-width: 100%;
    margin-bottom: 16px;
    padding: 4px;
    border-radius: 20px;
  }

  .brand-subtitle3d {
    padding: 7px 14px;
  }

  .brand-subtitle3d span {
    font-size: 10.5px;
  }

  .form-panel {
    padding: 22px 16px 20px;
  }

  .form-header .welcome-tag {
    margin-bottom: 12px;
    font-size: 10.5px;
  }

  .form-header h1 {
    font-size: 20px;
  }

  .form-body .form-group {
    margin-bottom: 16px;
  }

  .form-body .form-group label {
    font-size: 11.5px;
  }

  .form-body .input-wrapper input {
    padding: 13px 14px 13px 44px;
    font-size: 14px;
    border-radius: 11px;
  }

  .form-body .input-wrapper--3d {
    border-radius: 11px;
  }

  .form-body .input-wrapper--3d input {
    border-radius: 10px;
  }

  .form-body .error-message {
    font-size: 12.5px;
    padding: 10px 14px;
    margin-bottom: 16px;
  }

  .form-options {
    margin-bottom: 20px;
  }

  .btn-landscape-login--3d {
    padding: 13.5px 13px 14.5px;
    border-radius: 12px;
    font-size: 13.5px;
    box-shadow:
      0 5px 0 #9a7a0c,
      0 6px 12px rgba(212, 175, 55, 0.45),
      0 0 20px rgba(244, 196, 48, 0.18),
      0 1px 0 rgba(255, 255, 255, 0.55) inset,
      0 -2px 0 rgba(150, 110, 0, 0.25) inset;
  }

  .btn-landscape-login--3d:hover {
    transform: translateY(-1px);
    box-shadow:
      0 6px 0 #9a7a0c,
      0 8px 18px rgba(212, 175, 55, 0.52),
      0 0 30px rgba(244, 196, 48, 0.28),
      0 1px 0 rgba(255, 255, 255, 0.6) inset,
      0 -2px 0 rgba(150, 110, 0, 0.25) inset;
  }

  .btn-landscape-login--3d:active {
    transform: translateY(4px);
    box-shadow:
      0 2px 0 #9a7a0c,
      0 3px 10px rgba(212, 175, 55, 0.45),
      0 1px 0 rgba(255, 255, 255, 0.5) inset,
      0 -1px 0 rgba(150, 110, 0, 0.25) inset;
  }

  .form-divider {
    margin: 22px 0 18px;
  }

  .navbar-user {
    width: 100%;
    justify-content: space-between;
  }

  .dashboard-content {
    padding: 18px 14px;
  }

  .welcome-banner {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .welcome-banner h2 {
    font-size: 18px;
  }

  .stats-grid {
    gap: 14px;
    margin-bottom: 22px;
  }

  .stat-card {
    padding: 18px 16px;
    gap: 12px;
    border-radius: 18px;
  }

  .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .stat-icon svg {
    width: 22px;
    height: 22px;
  }

  .stat-info h3 {
    font-size: 10.5px;
    letter-spacing: 0.9px;
    margin-bottom: 6px;
  }

  .stat-info .stat-value {
    font-size: 22px;
  }

  .satker-detail-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .satker-detail-card h2 {
    font-size: 16px;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
  }

  .detail-heading-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .detail-grid {
    gap: 14px;
  }

  .detail-item {
    padding: 16px;
    border-radius: 15px;
  }

  .detail-item .label {
    font-size: 10.5px;
    letter-spacing: 0.9px;
    margin-bottom: 8px;
  }

  .detail-item .value {
    font-size: 15px;
  }

  .detail-item .value.kode {
    padding: 8px 14px;
    font-size: 14px;
  }

  .value--aktif {
    padding: 6px 12px;
    font-size: 13px !important;
  }

  .menu-grid--3d {
    gap: 12px;
    margin-top: 24px;
    padding-top: 22px;
  }

  .menu-item--3d {
    padding: 22px 14px 20px;
    border-radius: 18px;
  }

  .menu-icon--bubble {
    width: 56px;
    height: 56px;
    border-radius: 17px;
    margin-bottom: 14px;
  }

  .menu-icon--bubble svg {
    width: 22px;
    height: 22px;
  }

  .menu-item--3d h4 {
    font-size: 13.5px;
    margin-bottom: 5px;
  }

  .menu-item--3d p {
    font-size: 10.8px;
  }
}

/* ============ USER MANAGEMENT: EMERALD & VIOLET COLOR VARIANTS ============ */

/* Stats Card - Emerald */
.stat-card--emerald::before { background: linear-gradient(180deg, #10b981, #047857); box-shadow: 4px 0 18px rgba(16, 185, 129, 0.35); }
.stat-icon--emerald {
  background: linear-gradient(155deg, rgba(52, 211, 153, 0.9) 0%, rgba(5, 150, 105, 0.92) 100%);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 0 rgba(3, 80, 60, 0.35), 0 10px 24px rgba(16, 185, 129, 0.35);
}

/* Stats Card - Violet */
.stat-card--violet::before { background: linear-gradient(180deg, #8b5cf6, #6d28d9); box-shadow: 4px 0 18px rgba(139, 92, 246, 0.35); }
.stat-icon--violet {
  background: linear-gradient(155deg, rgba(167, 139, 250, 0.9) 0%, rgba(109, 40, 217, 0.92) 100%);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 0 rgba(50, 20, 120, 0.35), 0 10px 24px rgba(139, 92, 246, 0.35);
}

/* View Pill - Emerald */
.view-pill--emerald {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.22), rgba(16, 185, 129, 0.08));
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.18);
}

/* Menu Item - Emerald */
.menu-item--emerald { --accent: #10b981; --accent-soft: rgba(16, 185, 129, 0.25); }
.menu-item--emerald::before { background: linear-gradient(90deg, transparent, #10b981, transparent); box-shadow: 0 0 20px rgba(16, 185, 129, 0.42); }
.menu-item--emerald .menu-icon--bubble {
  background: linear-gradient(155deg, #34d399, #059669);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 0 rgba(3, 80, 60, 0.4), 0 12px 28px rgba(16, 185, 129, 0.42);
}
.menu-item--emerald h4 { color: #d1fae5; }
.menu-item--emerald p { color: #6ee7b7; opacity: 0.9; }

/* ============ USER MANAGEMENT TABLE CUSTOM STYLES ============ */
.umgmt-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 6px 10px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(15,23,42,0.8), rgba(30,41,59,0.6));
  color: #cbd5e1;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}
.umgmt-nama { color: #f1f5f9; font-weight: 700; font-size: 14px; }
.umgmt-kode {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(59,130,246,0.22), rgba(37,99,235,0.08));
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.umgmt-kode-admin {
  background: linear-gradient(145deg, rgba(250,204,21,0.22), rgba(217,119,6,0.1));
  border-color: rgba(250, 204, 21, 0.45);
  color: #fde68a;
}
.umgmt-password {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #e2e8f0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
}
.umgmt-password svg { opacity: 0.75; }
.umgmt-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.umgmt-role-admin {
  background: linear-gradient(145deg, rgba(250,204,21,0.18), rgba(234,179,8,0.08));
  border: 1px solid rgba(250, 204, 21, 0.5);
  color: #fde68a;
}
.umgmt-role-satker {
  background: linear-gradient(145deg, rgba(59,130,246,0.18), rgba(37,99,235,0.08));
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #bfdbfe;
}
.umgmt-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.umgmt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.15s ease, filter 0.15s ease;
  letter-spacing: 0.3px;
}
.umgmt-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.umgmt-btn:active { transform: translateY(1px); }
.umgmt-btn svg { width: 13px; height: 13px; }
.umgmt-btn-edit {
  background: linear-gradient(160deg, #fbbf24, #d97706);
  color: #1a1200;
  border-color: rgba(250, 204, 21, 0.5);
  box-shadow: 0 4px 0 rgba(180, 83, 9, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.umgmt-btn-delete {
  background: linear-gradient(160deg, #f87171, #dc2626);
  color: #fff;
  border-color: rgba(252, 165, 165, 0.5);
  box-shadow: 0 4px 0 rgba(153, 27, 27, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

@keyframes toastAnimIn {
  0%   { opacity: 0; transform: translateY(-18px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastAnimOut {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-14px) scale(0.98); }
}

