/* ==========================================================
   SILAP – Sistem Informasi Laporan PPSU DKI Jakarta
   QAVI-Inspired Human Craftsmanship Design System
   Warm Radiant Orange · Organic Shapes · Hexagonal Badges
   Pergub DKI Jakarta No. 7/2017 & No. 169/2015
   ========================================================== */

:root {
  /* Radiant Orange Color Palette (From QAVI Reference) */
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;
  --orange-300: #fdba74;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --orange-800: #9a3412;
  --color-primary: #f25a1b;
  --color-primary-dark: #d44409;
  --color-primary-light: #ff7d47;
  
  /* Status Colors */
  --color-green: #10b981;
  --color-green-light: #ecfdf5;
  --color-green-border: #a7f3d0;
  --color-blue: #2563eb;
  --color-blue-light: #eff6ff;
  --color-blue-border: #bfdbfe;
  --color-yellow: #f59e0b;
  --color-yellow-light: #fffbeb;
  --color-yellow-border: #fde68a;
  --color-red: #ef4444;
  --color-red-light: #fef2f2;
  --color-red-border: #fecaca;
  --color-purple: #8b5cf6;
  --color-purple-light: #f5f3ff;

  /* Human Craft Surface Colors */
  --bg-page: #fbf9f6;
  --bg-white: #ffffff;
  --bg-warm: #fef5ea;
  --bg-footer: #2b1c15;
  --bg-footer-dark: #1f130d;

  /* Typography Colors */
  --text-primary: #1c1917;
  --text-secondary: #44403c;
  --text-muted: #78716c;
  --text-light: #a8a29e;
  
  /* Borders & Shadows */
  --border-light: #eee9e2;
  --border-medium: #dfd7cc;
  --shadow-xs: 0 1px 2px rgba(43, 28, 21, 0.05);
  --shadow-sm: 0 2px 6px rgba(43, 28, 21, 0.06);
  --shadow-md: 0 6px 18px rgba(43, 28, 21, 0.08);
  --shadow-lg: 0 12px 36px rgba(43, 28, 21, 0.12);
  --shadow-hero-btn: 0 4px 16px rgba(242, 90, 27, 0.4);
  --shadow-orange: 0 6px 20px rgba(242, 90, 27, 0.28);

  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-2xl: 24px;
  --radius-pill: 9999px;
  --trans: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.brand-name,
.admin-welcome-heading,
.admin-brand-name,
.modal-title,
.login-title,
.dash-brand-name,
.welcome-title,
.admin-nav-item,
.btn-modal-primary,
.admin-btn-primary,
.rf-btn,
.todo-tab-btn,
th {
  font-family: var(--font-heading), var(--font);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ===================== GLOBAL UTILITIES ===================== */
.hidden {
  display: none !important;
}

/* ===================== VIEWS SPA ===================== */
.view {
  display: none;
}
.view.active {
  display: block;
  animation: fadeInView 0.3s ease-out;
}
@keyframes fadeInView {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================== TOP NAVBAR (QAVI STYLE) ===================== */
.landing-nav, .app-navbar {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

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

.brand-logo-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: #ffede5;
  border: 1px solid #ffd8cc;
  padding: 3px;
  box-shadow: 0 3px 10px rgba(242, 90, 27, 0.16);
  transition: var(--trans);
}

.brand-logo-wrap:hover {
  transform: scale(1.06);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: contain;
}

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

.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ln-link {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--trans);
}

.ln-link:hover, .ln-link.active {
  color: var(--color-primary);
}

.ln-link.active::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--color-primary);
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-landing-login {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 9px 22px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-hero-btn);
  transition: var(--trans);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-landing-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(242, 90, 27, 0.45);
}

/* ===================== HERO HEADER (QAVI VIBRANT ORANGE) ===================== */
.landing-hero {
  background: radial-gradient(circle at 75% 30%, #ff8038 0%, #f25a1b 45%, #cf3d00 100%);
  color: #ffffff;
  padding: 3.5rem 1.5rem 4.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -12px 24px rgba(0, 0, 0, 0.1);
}

/* Glowing Bokeh Dots (from reference) */
.hero-bokeh {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 70%);
}
.hb-1 { width: 180px; height: 180px; top: 10%; left: 8%; opacity: 0.6; }
.hb-2 { width: 280px; height: 280px; top: 50%; right: 15%; opacity: 0.4; }
.hb-3 { width: 120px; height: 120px; bottom: 8%; left: 35%; opacity: 0.35; }
.hb-4 { width: 70px; height: 70px; top: 25%; left: 45%; opacity: 0.5; }

.landing-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.landing-hero-text {
  max-width: 520px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff;
  animation: pulseDot 1.6s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-main-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.hero-main-title .highlight {
  color: #fff;
  display: block;
  font-size: 3rem;
  letter-spacing: 0px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.75rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-hero-showmore {
  background: linear-gradient(180deg, #ff955c 0%, #ea580c 50%, #c2410c 100%);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: var(--trans);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-showmore:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border-color: #fff;
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
}
.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
}

/* Hero Stats Row */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.hstat-item strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.hstat-item span {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-transform: uppercase;
}
.hstat-sep {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.25);
}

/* ===================== HERO SHOWCASE SLIDER (FROM QAVI) ===================== */
.landing-hero-slider {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slider-nav-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--trans);
  backdrop-filter: blur(6px);
}
.slider-nav-btn:hover {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.slider-prev { left: -22px; }
.slider-next { right: -22px; }

.device-showcase-frame {
  position: relative;
  width: 100%;
  max-width: 540px;
  perspective: 1000px;
}

.monitor-device {
  background: #1e1b18;
  border-radius: 18px 18px 0 0;
  border: 10px solid #2d2621;
  border-bottom: 18px solid #2d2621;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  position: relative;
}

.monitor-screen {
  background: #faf8f5;
  color: var(--text-primary);
  min-height: 290px;
  display: flex;
  flex-direction: column;
}

.monitor-topbar {
  background: #ede8e1;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #dfd7cc;
}
.mt-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.mt-red { background: #ef4444; }
.mt-yellow { background: #f59e0b; }
.mt-green { background: #10b981; }
.mt-title {
  margin-left: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
}

.monitor-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ms-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ms-brand {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--color-primary);
}
.ms-role {
  background: var(--orange-100);
  color: var(--color-primary-dark);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.ms-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ms-metric-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
}
.ms-metric-box.green { border-color: var(--color-green-border); background: var(--color-green-light); }
.ms-metric-box.orange { border-color: var(--orange-200); background: var(--orange-50); }
.ms-metric-box.blue { border-color: var(--color-blue-border); background: var(--color-blue-light); }
.msm-num {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}
.msm-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 3px;
}

.ms-feed {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ms-feed-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
}
.ms-feed-item strong {
  color: var(--text-primary);
  display: block;
}
.ms-feed-item span {
  color: var(--text-muted);
  font-size: 0.64rem;
}
.ms-tag {
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.62rem;
}
.ms-tag.done { background: var(--color-green-light); color: var(--color-green); }
.ms-tag.prog { background: var(--orange-100); color: var(--color-primary-dark); }
.ms-tag.wait { background: var(--color-yellow-light); color: var(--color-yellow); }

.monitor-stand {
  width: 90px;
  height: 24px;
  background: #25201b;
  margin: 0 auto;
}
.monitor-base {
  width: 170px;
  height: 8px;
  background: #3a322c;
  margin: 0 auto;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Integrated Search & Slider Controls */
.hero-slider-footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 540px;
  gap: 12px;
}

.slider-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sp-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--trans);
}
.sp-dot.active, .sp-dot:hover {
  background: #fff;
  color: var(--color-primary);
}

.hero-search-pill {
  flex: 1;
  max-width: 320px;
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 4px 6px 4px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.hero-search-input {
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--text-primary);
  width: 100%;
  outline: none;
}
.hero-search-input::placeholder {
  color: var(--text-light);
}
.hero-search-btn {
  background: var(--color-primary);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--trans);
}
.hero-search-btn:hover {
  background: var(--color-primary-dark);
}

/* ===================== SIGNATURE SECTION RIBBON HEADER (QAVI) ===================== */
.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-ribbon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
}

.section-ribbon-tag {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 7px 24px;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.ribbon-arrow-down {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--border-medium);
  margin-top: -1px;
  position: relative;
  z-index: 1;
}
.ribbon-arrow-down::after {
  content: '';
  position: absolute;
  top: -9px;
  left: -7px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #ffffff;
}

.section-intro-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0.75rem auto 0;
  line-height: 1.7;
}

/* ===================== SECTION 1: 5 BIDANG PRASARANA (HEX EMBLEMS) ===================== */
.landing-services {
  padding: 5rem 0;
  background: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.15rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-xs);
  transition: var(--trans);
  position: relative;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-300);
}

/* Hexagon Icon Badge (From Reference) */
.hex-badge-box {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
}
.hex-badge-shape {
  width: 100%;
  height: 100%;
  background: var(--orange-50);
  border: 1.5px solid var(--orange-300);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: var(--trans);
}
.service-card:hover .hex-badge-shape {
  background: var(--color-primary);
  border-color: var(--color-primary-dark);
  color: #fff;
  transform: rotate(30deg);
}
.service-card:hover .hex-badge-shape span {
  transform: rotate(-30deg);
}

.sc-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.sc-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}
.sc-title span {
  color: var(--color-primary);
}

.sc-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Tag Chips */
.sc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.sc-tag-pill {
  background: var(--bg-page);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 3px 8px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.btn-sc-readmore {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 7px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  transition: var(--trans);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-sc-readmore:hover {
  box-shadow: var(--shadow-orange);
  transform: translateY(-1px);
}

/* ===================== SECTION 2: DASAR HUKUM PERGUB ===================== */
.landing-pergub {
  padding: 5rem 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.pergub-container-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
}

.pergub-main-info {
  display: flex;
  flex-direction: column;
}

.pergub-badge-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-100);
  border: 1px solid var(--orange-300);
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 1rem;
}

.pergub-title-h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.pergub-body-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.pergub-pasal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pergub-pasal-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}
.ppi-badge {
  background: var(--color-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-top: 2px;
}
.ppi-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
}
.ppi-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pergub-side-panels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pergub-side-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
}
.pergub-side-card h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pergub-side-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================== SECTION 3: SUARA LAPANGAN & MITRA (CLIENTS IN QAVI) ===================== */
.landing-clients {
  padding: 5rem 0;
  background: #ffffff;
}

.quote-intro-wrap {
  text-align: center;
  position: relative;
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}
.big-quote-mark {
  font-size: 3.5rem;
  font-family: Georgia, serif;
  color: var(--orange-300);
  line-height: 1;
  position: absolute;
  top: -15px;
}
.bq-left { left: 0; }
.bq-right { right: 0; }
.quote-intro-wrap p {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.client-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-xs);
}

.client-hex-avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

.client-content p {
  font-size: 0.84rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}
.client-content strong {
  display: block;
  font-size: 0.86rem;
  color: var(--text-primary);
}
.client-content span {
  font-size: 0.74rem;
  color: var(--color-primary);
  font-weight: 700;
}

/* Monochrome Partner Logos Bar */
.partners-bar {
  border-top: 1px solid var(--border-light);
  padding-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  opacity: 0.75;
}
.partner-logo-item {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.partner-logo-item span {
  font-size: 1.25rem;
}

/* ===================== SECTION 4: DOKUMENTASI LAPANGAN (PORTFOLIO IN QAVI) ===================== */
.landing-portfolio {
  padding: 5rem 0;
  background: var(--bg-warm);
}

.portfolio-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.portfolio-view-switch {
  display: flex;
  gap: 4px;
}
.pvs-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border-medium);
  background: #fff;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.pvs-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-item-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
  display: flex;
  flex-direction: column;
}
.portfolio-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pic-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #1c1917;
}
.pic-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.portfolio-item-card:hover .pic-img-wrap img {
  transform: scale(1.05);
}

.pic-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(242, 90, 27, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--trans);
}
.portfolio-item-card:hover .pic-zoom-overlay {
  opacity: 1;
}
.zoom-circle-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pic-status-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.pic-status-pill.selesai { background: rgba(16, 185, 129, 0.9); color: #fff; }
.pic-status-pill.proses { background: rgba(245, 158, 11, 0.9); color: #fff; }
.pic-status-pill.belum { background: rgba(239, 68, 68, 0.9); color: #fff; }

.pic-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pic-meta {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.pic-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 6px;
}

.pic-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.pic-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
  margin-top: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.pic-officer {
  font-weight: 700;
  color: var(--text-secondary);
}

/* ===================== SECTION 5: RADIANT CTA BANNER (FROM QAVI) ===================== */
.landing-cta-banner {
  background: radial-gradient(circle at 50% 50%, #ff782e 0%, #f25a1b 60%, #c2410c 100%);
  padding: 3rem 1.5rem;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-banner-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner-text h2 {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.cta-banner-text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-cta-quote {
  background: #ffffff;
  color: var(--color-primary-dark);
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: var(--trans);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-cta-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: var(--trans);
  cursor: pointer;
}
.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: #fff;
}

/* ===================== SECTION 6: POSKO & KONTAK KELURAHAN (CONTACT IN QAVI) ===================== */
.landing-contact {
  padding: 5rem 0;
  background: #ffffff;
}

.contact-card-box {
  background: var(--bg-page);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}

.contact-map-col {
  min-height: 380px;
  position: relative;
}
.contact-map-col iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-info-col {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.contact-info-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cd-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cd-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange-100);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.cd-text strong {
  display: block;
  font-size: 0.86rem;
  color: var(--text-primary);
}
.cd-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-contact-action {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-orange);
}
.btn-contact-action:hover {
  transform: translateY(-2px);
}

/* ===================== WARM DARK FOOTER (ABOUT QAVI IN REFERENCE) ===================== */
.landing-footer {
  background: var(--bg-footer);
  color: #d6cfc7;
  padding: 4.5rem 0 2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col-about h3 {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col-about p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #b3a89e;
  margin-bottom: 1.25rem;
}
.footer-badge-law {
  background: rgba(242, 90, 27, 0.2);
  border: 1px solid var(--color-primary);
  color: #ff9d71;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 0.82rem;
  color: #b3a89e;
  transition: var(--trans);
}
.footer-links a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fbb-text {
  font-size: 0.78rem;
  color: #8c8278;
}

.hex-totop-btn {
  width: 44px;
  height: 44px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--color-primary);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--trans);
}
.hex-totop-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
}

/* ===================== VIEW LOGIN ===================== */
/* ===================== VIEW LOGIN (LIVELY WARM SUNRISE SPLIT CARD) ===================== */
#view-login {
  background: #fbf7f0;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Warm organic ambient light blobs in the background */
#view-login::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -8%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.16) 0%, rgba(255, 170, 56, 0.08) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

#view-login::after {
  content: "";
  position: absolute;
  bottom: -15%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 84, 22, 0.12) 0%, rgba(255, 184, 77, 0.06) 60%, transparent 75%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.login-card-container {
  background: #ffffff;
  border-radius: 28px;
  max-width: 1040px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08), 0 4px 16px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

/* LEFT BRIEFING ART PANEL (FIXED ON LEFT - ALWAYS IDENTICAL IN LOGIN & REGISTER) */
.login-art-panel {
  background: linear-gradient(155deg, #FF5416 0%, #F97316 45%, #EA580C 100%);
  position: relative;
  grid-column: 1 / 2;
  overflow: hidden;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  box-sizing: border-box;
  z-index: 2;
  height: 100%;
}

.art-glow-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.16) 0%, transparent 55%);
  pointer-events: none;
}

.art-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.art-brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}

.art-brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.16));
}

.art-brand-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.art-brand-sub {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.01em;
}

/* HUMAN-FRIENDLY WHITE BRIEFING CARD */
.human-checklist-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  padding: 1.15rem 1.15rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
  color: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.checklist-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF1EB;
  color: #EA580C;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.checklist-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 3px 0;
  line-height: 1.3;
}

.checklist-desc {
  font-size: 0.78rem;
  color: #64748B;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.checklist-items-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checklist-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 9px;
  background: #F8FAFC;
  border: 1px solid #EDF2F7;
  transition: background 0.15s ease;
}

.checklist-row:hover {
  background: #F1F5F9;
}

.chk-num {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #FF5416;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chk-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.chk-info strong {
  font-size: 0.79rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
}

.chk-info span {
  font-size: 0.71rem;
  color: #64748B;
  line-height: 1.2;
}

.art-footer-meta {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.45;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* RIGHT FORM PANELS (LOGIN & REGISTER - DIRECT IN-PLACE TOGGLE) */
.login-form-panel,
.register-form-panel {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  background: #ffffff;
  z-index: 2;
  transition: opacity 0.2s ease;
}

.login-card-container:not(.mode-register) .login-form-panel {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.login-card-container:not(.mode-register) .register-form-panel {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

.login-card-container.mode-register .login-form-panel {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

.login-card-container.mode-register .register-form-panel {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
  animation: fadeInFormPanel 0.25s ease-out;
}

.register-form-panel {
  padding: 1.85rem 2.25rem;
}

.register-form-panel .login-brand-header-modern {
  margin-bottom: 10px;
}

.register-form-panel .login-title-bar-wrap {
  margin-bottom: 12px;
}

.register-form-panel .login-title {
  font-size: 1.45rem;
  margin-bottom: 3px;
}

.register-form-panel .login-sub {
  font-size: 0.82rem;
}

.register-form-panel .input-field-group {
  margin-bottom: 9px;
}

.register-form-panel .input-label {
  font-size: 0.8rem;
  margin-bottom: 3px;
}

.register-form-panel .modern-input {
  min-height: 42px;
  padding: 8px 12px 8px 38px;
  font-size: 0.86rem;
}

.register-form-panel .btn-login-cta {
  padding: 10px 18px;
  margin-top: 4px;
}

.register-form-panel .login-register-prompt {
  margin-top: 10px;
  padding-top: 8px;
  font-size: 0.82rem;
}

.register-form-panel .login-panel-footer {
  margin-top: 10px;
  padding-top: 8px;
  font-size: 0.72rem;
}

@keyframes fadeInFormPanel {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-brand-header-modern {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.login-brand-svg-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.login-brand-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
}

.login-brand-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.01em;
}

.login-title-bar-wrap {
  margin-bottom: 20px;
}

.login-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

.login-sub {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

.login-panel-footer {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: #64748B;
  line-height: 1.4;
}

/* ROLE SELECTOR - SLEEK SEGMENTED CONTROL */
.role-segmented-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-bottom: 18px;
}

.role-segment-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border: none;
  border-radius: 7px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-segment-btn:hover {
  color: #0f172a;
}

.role-segment-btn.active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
}

.role-segment-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
}

.role-segment-btn.active .role-segment-icon {
  color: #ff5416;
}

/* FORM INPUTS - CRISP & SUBTLE */
.login-inputs-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.input-field-group {
  display: flex;
  flex-direction: column;
}

.input-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.input-control-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-svg {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modern-input {
  width: 100%;
  padding: 10px 14px 10px 42px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  background: #ffffff;
  color: #0f172a;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.modern-input:focus {
  outline: none;
  border-color: #ff5416;
  box-shadow: 0 0 0 3px rgba(255, 84, 22, 0.12);
}

.modern-select {
  cursor: pointer;
  appearance: auto;
}

.btn-toggle-pwd-modern {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}

.btn-toggle-pwd-modern:hover {
  color: #0f172a;
}

.login-alert-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
}

.login-alert-box.hidden {
  display: none;
}

/* Petunjuk Format Kata Sandi Real-time */
.pwd-rules-hint {
  margin-top: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.74rem;
  transition: all 0.2s ease;
}

.pwd-rules-hint.has-upper-error {
  background: #fff1f2;
  border-color: #fecdd3;
}

.pwd-rules-header {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #475569;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.72rem;
}

.pwd-rules-header svg {
  color: #ff5416;
  flex-shrink: 0;
}

.pwd-rules-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.pwd-rule-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #64748b;
  font-size: 0.72rem;
  transition: all 0.15s ease;
}

.pwd-rule-item .rule-icon {
  font-size: 0.68rem;
  font-weight: 700;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  line-height: 1;
}

.pwd-rule-item.valid {
  color: #166534;
  font-weight: 600;
}

.pwd-rule-item.valid .rule-icon {
  background: #dcfce7;
  color: #15803d;
}

.pwd-rule-item.invalid {
  color: #b91c1c;
  font-weight: 600;
}

.pwd-rule-item.invalid .rule-icon {
  background: #fee2e2;
  color: #dc2626;
}

.pwd-rules-warning {
  margin-top: 5px;
  padding: 4px 7px;
  background: #fee2e2;
  color: #991b1b;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 5px;
}

.pwd-rules-warning.visible {
  display: flex;
}

.btn-login-cta {
  width: 100%;
  padding: 12px 20px;
  background: #ff5416;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  box-shadow: 0 4px 12px rgba(255, 84, 22, 0.22);
  transition: all 0.15s ease;
}

.btn-login-cta:hover {
  background: #ea580c;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 84, 22, 0.32);
}

.btn-login-cta:active {
  transform: translateY(0);
}

/* DEMO QUICK BAR - MINIMAL & CLEAN */
.login-quick-access {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.lqa-text {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
}

.lqa-chips {
  display: flex;
  gap: 6px;
}

.lqa-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 10px;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.lqa-chip:hover {
  background: #fff7ed;
  border-color: #ff5416;
  color: #ea580c;
}

.lqa-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
}

.lqa-dot.admin {
  background: #3b82f6;
}

.lqa-dot.ketua {
  background: #ff5416;
}

.btn-quick-cred:hover {
  background: #fff7ed;
  border-color: #ff5416;
  color: #e03b00;
}

.form-group {
  margin-bottom: 1rem;
}
.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 5px;
}
.req {
  color: var(--color-red);
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-primary);
  background: #ffffff;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--trans);
}
.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(242, 90, 27, 0.15);
}

.form-select {
  cursor: pointer;
}
.form-textarea {
  min-height: 80px;
  resize: vertical;
}

.pwd-wrap {
  position: relative;
}
.btn-toggle-pwd {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-muted);
}

.login-error {
  background: var(--color-red-light);
  border: 1px solid var(--color-red-border);
  color: var(--color-red);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.login-error.hidden {
  display: none;
}

.btn-form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  transition: var(--trans);
}
.btn-form-submit:hover {
  transform: translateY(-1px);
}

.btn-back-landing {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 10px;
  cursor: pointer;
  padding: 6px;
}
.btn-back-landing:hover {
  color: var(--color-primary);
}

/* ===================== VIEW DASHBOARD & APP CONTENT ===================== */
.app-content {
  min-height: calc(100vh - 70px);
  background: var(--bg-page);
  padding-bottom: 4rem;
}

.app-navbar {
  box-shadow: var(--shadow-xs);
}

.app-nav-links {
  display: flex;
  gap: 4px;
}
.app-nav-btn {
  background: none;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--trans);
}
.app-nav-btn:hover {
  background: var(--orange-50);
  color: var(--color-primary);
}
.app-nav-btn.active {
  background: var(--orange-100);
  color: var(--color-primary-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-clock {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  background: var(--orange-50);
  border: 1px solid var(--orange-200);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
}
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
}

.btn-logout {
  background: var(--bg-page);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--trans);
}
.btn-logout:hover {
  background: var(--color-red-light);
  border-color: var(--color-red);
  color: var(--color-red);
}

/* Dashboard Top Header */
.dash-header {
  background: radial-gradient(circle at 80% 30%, #ff8038 0%, #f25a1b 50%, #c2410c 100%);
  color: #fff;
  padding: 2.5rem 0 3rem;
  box-shadow: inset 0 -6px 16px rgba(0, 0, 0, 0.08);
}

.dash-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.dash-title {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 4px;
}
.dash-subtitle {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.btn-tambah-laporan {
  background: #ffffff;
  color: var(--color-primary-dark);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: var(--trans);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-tambah-laporan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 4 Dashboard Summary KPI Cards */
.dash-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.ds-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.ds-icon {
  font-size: 2rem;
  line-height: 1;
}
.ds-num {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
}
.ds-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 3px;
}

/* Dashboard Sections */
.dash-kategori-section, .dash-recent-section {
  padding-top: 2.5rem;
}

.dash-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 10px;
}
.dash-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}
.dash-section-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.kategori-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.kgrid-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: var(--trans);
  text-align: left;
}
.kgrid-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-300);
}

.kgrid-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.kgrid-orange { background: var(--orange-100); }
.kgrid-blue { background: var(--color-blue-light); }
.kgrid-green { background: var(--color-green-light); }
.kgrid-yellow { background: var(--color-yellow-light); }
.kgrid-purple { background: var(--color-purple-light); }

.kgrid-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}
.kgrid-meta {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.kgrid-progress-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.kgrid-bar-track {
  flex: 1;
  height: 6px;
  background: var(--bg-page);
  border-radius: 100px;
  overflow: hidden;
}
.kgrid-bar-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 100px;
  transition: width 0.6s ease;
}
.kgrid-pct {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* Recent Reports Table / Card List */
.recent-filter-bar {
  display: flex;
  gap: 6px;
}
.rf-btn {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--trans);
}
.rf-btn.active, .rf-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.recent-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recent-item-row {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: 80px 1.5fr 1fr 1fr 90px 100px;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-xs);
  transition: var(--trans);
  cursor: pointer;
}
.recent-item-row:hover {
  border-color: var(--orange-300);
  box-shadow: var(--shadow-sm);
  transform: translateX(2px);
}

.rir-id {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-primary);
  background: var(--orange-50);
  padding: 3px 6px;
  border-radius: 4px;
  text-align: center;
}
.rir-title strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
}
.rir-title span {
  font-size: 0.74rem;
  color: var(--text-muted);
}
.rir-officer {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.rir-loc {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.rir-prog strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
}
.rir-prog-bar {
  height: 5px;
  background: #eee;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 3px;
}
.rir-prog-fill {
  height: 100%;
  background: var(--color-primary);
}
.rir-status {
  text-align: right;
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
}
.status-pill.selesai { background: var(--color-green-light); color: var(--color-green); border: 1px solid var(--color-green-border); }
.status-pill.proses { background: var(--orange-100); color: var(--color-primary-dark); border: 1px solid var(--orange-300); }
.status-pill.belum { background: var(--color-red-light); color: var(--color-red); border: 1px solid var(--color-red-border); }

/* ===================== MODAL DETAIL & TAMBAH LAPORAN ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.hidden,
.modal-overlay[hidden] {
  display: none !important;
}

.modal-box,
.modal-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  border: 1px solid #E2E8F0;
  animation: modalPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header,
.modal-head {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
}
.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}
.btn-close-modal {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #64748B;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
  box-sizing: border-box;
}
.btn-close-modal:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #CBD5E1;
}
.btn-close-modal svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.modal-body {
  padding: 1.5rem;
}
.modal-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.btn-modal-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-modal-secondary {
  background: var(--bg-page);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
}

/* Fast Tag Selector for Report Form */
.quick-tag-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.qtag-btn {
  background: var(--bg-page);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--trans);
}
.qtag-btn:hover {
  background: var(--orange-100);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

/* 3-Step Progress Indicator in Detail View */
.tape-progress-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 1.5rem 0 2rem;
  padding: 0 1.5rem;
}
.tape-track-line {
  position: absolute;
  top: 50%;
  left: 2rem;
  right: 2rem;
  height: 4px;
  background: #e5e5e5;
  transform: translateY(-50%);
  z-index: 1;
}
.tape-track-fill {
  height: 100%;
  background: var(--color-primary);
  width: 0%;
  transition: width 0.4s ease;
}
.tape-step-node {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: 2px solid #ccc;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
}
.tape-step-node.done {
  background: var(--color-green);
  border-color: var(--color-green);
  color: #fff;
}
.tape-step-node.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 0 4px var(--orange-100);
}

/* Photo Gallery & Watermark Stamp */
.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.photo-preview-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  height: 130px;
  background: #1c1917;
}
.photo-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-ts-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.62rem;
  padding: 4px 6px;
  line-height: 1.3;
}

/* ===================== VIEW REKAPITULASI & PETA ===================== */
.rekap-card, .peta-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.rekap-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.rekap-table th {
  background: var(--bg-page);
  padding: 10px 14px;
  text-align: left;
  font-weight: 800;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--border-medium);
}
.rekap-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
}
.rekap-table tr:hover td {
  background: var(--orange-50);
}

.peta-iframe {
  width: 100%;
  height: 520px;
  border: none;
  border-radius: var(--radius-lg);
}

/* ===================== TOAST NOTIFICATIONS ===================== */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 640px) {
  .toast-container {
    top: calc(env(safe-area-inset-top, 0px) + 64px);
    bottom: auto;
    right: 8px;
    left: auto;
    max-width: min(260px, 72vw);
    align-items: flex-end;
  }
}
.toast {
  background: #1c1917;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: var(--trans);
}
.toast--success {
  background: #10b981;
}
.toast--info {
  background: var(--color-primary);
}
/* ==========================================================
   ADMIN COMMAND CENTER DASHBOARD (SCREENSHOT DESIGN)
   ========================================================== */
.admin-view-container,
#view-dashboard.admin-view-container.active {
  display: flex !important;
  min-height: 100vh;
  background: #f8fafc;
  color: #0f172a;
}

.admin-sidebar {
  width: 250px;
  background: #ffffff;
  color: #475467;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem 1.25rem;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  border-right: 1px solid #eef2f6;
  box-shadow: 1px 0 3px rgba(16, 24, 40, 0.03);
  z-index: 100;
}

.admin-sidebar::-webkit-scrollbar {
  width: 5px;
}
.admin-sidebar::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 4px;
}

/* Brand Header */
.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.25rem 0.5rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 1.25rem;
}

.admin-brand-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-brand-icon {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}

.admin-brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-brand-info {
  display: flex;
  flex-direction: column;
}

.admin-brand-name {
  color: #0f172a;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.8px;
  line-height: 1.2;
}

.admin-brand-sub {
  color: #64748b;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Nav Menu */
.admin-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #475467;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  width: 100%;
}

.admin-nav-item:hover {
  color: #0f172a;
  background: #f8fafc;
}

.admin-nav-item.active {
  background: #ff5416;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 84, 22, 0.35);
}

.admin-nav-item.active .admin-nav-icon {
  stroke: #ffffff;
}

.admin-nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: #64748b;
  transition: stroke 0.2s;
}

.admin-nav-item:hover .admin-nav-icon {
  stroke: #0f172a;
}

.admin-nav-badge {
  margin-left: auto;
  background: #ffede5;
  color: #ea580c;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 2px 7px;
  line-height: 1.2;
  transition: all 0.2s;
}

.admin-nav-item.active .admin-nav-badge {
  background: #ffffff;
  color: #ff5416;
}

/* Sidebar Footer */
.admin-sidebar-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-footer-btn {
  font-size: 0.85rem;
  color: #64748b;
}

.admin-footer-btn:hover {
  color: #0f172a;
  background: #f8fafc;
}

#btn-admin-logout:hover {
  color: #ef4444;
  background: #fef2f2;
}

#btn-admin-logout:hover .admin-nav-icon {
  stroke: #ef4444;
}

/* Main Content Area */
.admin-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  overflow-y: auto;
}

/* Topbar */
.admin-topbar {
  height: 68px;
  background: #ffffff;
  border-bottom: 1px solid #eef2f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 90;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-topbar-bell {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #475467;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  position: relative;
  transition: all 0.2s;
}

.admin-topbar-bell:hover {
  background: #f8fafc;
  color: #0f172a;
}

.admin-notif-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  background: #ff5416;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
}

.admin-topbar-divider {
  width: 1px;
  height: 28px;
  background: #e2e8f0;
}

.admin-user-capsule {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 10px;
  transition: background 0.2s;
}

.admin-user-capsule:hover {
  background: #f8fafc;
}

.admin-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffede5;
  color: #ff5416;
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffd8cc;
}

.admin-user-details {
  display: flex;
  flex-direction: column;
}

.admin-user-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.admin-user-role {
  font-size: 0.74rem;
  font-weight: 500;
  color: #64748b;
}

.admin-chevron {
  color: #64748b;
  margin-left: 2px;
}

/* Page Body */
.admin-body {
  padding: 2rem 2.25rem 4rem;
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
}

/* Greeting Bar */
.admin-welcome-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.admin-welcome-date {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ff5416;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.admin-welcome-heading {
  font-size: 2.15rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.admin-btn-primary {
  background: #ff5416;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(255, 84, 22, 0.38);
  transition: all 0.2s ease;
}

.admin-btn-primary:hover {
  background: #ea480c;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 84, 22, 0.45);
}

.btn-icon {
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 900;
}

/* 6 KPI Stat Cards Grid */
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.admin-kpi-card {
  background: #ffffff;
  border: 1.5px solid #f1f5f9;
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s, box-shadow 0.2s;
}

.admin-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06);
}

.kpi-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kpi-slate  { background: #e0f2fe; color: #0284c7; }
.kpi-orange { background: #fff7ed; color: #ea580c; }
.kpi-blue   { background: #eff6ff; color: #2563eb; }
.kpi-purple { background: #faf5ff; color: #9333ea; }
.kpi-green  { background: #f0fdf4; color: #16a34a; }
.kpi-red    { background: #fff1f2; color: #e11d48; }

.kpi-body {
  display: flex;
  flex-direction: column;
}

.kpi-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 3px;
}

.kpi-value {
  font-size: 1.85rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 3px;
}

#ds-petugas-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.kpi-meta {
  font-size: 0.8rem;
  font-weight: 500;
  color: #94a3b8;
}

/* 2 Bottom Cards: Analytics Grid */
.admin-analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-white-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 18px;
  padding: 24px 26px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}

.admin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.admin-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 3px;
}

.admin-card-sub {
  font-size: 0.8rem;
  font-weight: 500;
  color: #94a3b8;
}

.admin-date-select-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475467;
  background: #ffffff;
  cursor: pointer;
}

.admin-icon-btn-ghost {
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-icon-btn-ghost:hover {
  color: #0f172a;
}

/* Donut Chart Styling */
.admin-donut-flex {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  min-height: 200px;
}

.admin-donut-visual {
  position: relative;
  width: 165px;
  height: 165px;
  flex-shrink: 0;
}

.admin-donut-svg {
  width: 100%;
  height: 100%;
}

.admin-donut-svg circle {
  transition: stroke-dasharray 0.6s ease;
}

.admin-donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.admin-donut-number {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.admin-donut-caption {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 4px;
}

.admin-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 160px;
}

.legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
}

.legend-key {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #475467;
}

.legend-color-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-orange { background: #ff5416; }
.dot-blue   { background: #3b82f6; }
.dot-green  { background: #10b981; }
.dot-gray   { background: #cbd5e1; }

.legend-val {
  font-weight: 800;
  color: #0f172a;
  font-size: 0.92rem;
}

/* Regu Progress Bars */
.admin-regu-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.regu-bar-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.regu-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
}

.regu-tasks {
  font-weight: 500;
  font-size: 0.78rem;
  color: #94a3b8;
}

.regu-bar-track-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.regu-bar-track {
  flex: 1;
  height: 8px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

.regu-bar-fill {
  height: 100%;
  background: #ff5416;
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.regu-bar-pct {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
  min-width: 32px;
  text-align: right;
}

/* ==========================================================
   MOBILE & RESPONSIVE ERGONOMICS FOR BAPAK-BAPAK AUDIENCE
   Large touch targets (48px-54px), 16px inputs, high contrast,
   no awkward nested mockups, fully responsive layouts
   ========================================================== */

.admin-dash-two-col {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 20px;
  margin-bottom: 24px;
}

/* Dashboard Cards & Layout */
.admin-dash-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.admin-dash-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
}

.admin-dash-card-header > div:first-child {
  min-width: 0;
  flex: 1 1 auto;
}

.admin-dash-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  line-height: 1.25;
}

.admin-dash-card-sub {
  font-size: 0.72rem;
  color: #64748B;
  margin: 2px 0 0;
  line-height: 1.35;
}

.admin-dash-card-link {
  font-size: 0.72rem;
  color: #FF5416;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #FFF7ED;
  border: 1px solid #FFEDD5;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.15s ease;
}

.admin-dash-card-link:hover {
  background: #FFEDD5;
  color: #EA580C;
}

/* Donut Chart & Category Legend */
.dash-category-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 4px 0;
}

.dash-donut-box {
  flex-shrink: 0;
}

.dash-donut-conic {
  width: 106px;
  height: 106px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.dash-donut-center {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.dash-donut-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: #0F172A;
  line-height: 1;
}

.dash-donut-label {
  font-size: 0.65rem;
  color: #64748B;
  font-weight: 700;
  margin-top: 2px;
}

.dash-legend-box {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.dash-legend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #F8FAFC;
  gap: 8px;
}

.dash-legend-left {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 1 1 auto;
}

.dash-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.dash-legend-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1E293B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-legend-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.dash-legend-cnt {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0F172A;
}

.dash-legend-pct {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748B;
  min-width: 28px;
  text-align: right;
}

/* Regu Mobile Cards */
.dash-regu-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-regu-card-mobile {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-regu-card-mobile:hover,
.dash-regu-card-mobile:active {
  background: #FFF7ED;
  border-color: #FED7AA;
}

.dash-regu-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dash-regu-card-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.dash-regu-avatar-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #EA580C;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-regu-card-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

.dash-regu-card-zone {
  font-size: 0.72rem;
  color: #64748B;
  margin-top: 2px;
}

.dash-regu-pill-count {
  padding: 3px 9px;
  background: #E2E8F0;
  color: #1E293B;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.72rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.dash-regu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px dashed #E2E8F0;
}

.dash-regu-pj-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.dash-regu-pj-label {
  font-size: 0.68rem;
  color: #94A3B8;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.dash-regu-pj-val {
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-regu-pj-phone {
  color: #64748B;
  font-weight: 500;
  margin-left: 3px;
}

.dash-regu-card-link-btn {
  font-size: 0.74rem;
  font-weight: 700;
  color: #FF5416;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .admin-dash-card {
    padding: 14px 14px !important;
  }
}

@media (max-width: 640px) {
  .desktop-only-table {
    display: none !important;
  }
  .mobile-only-cards {
    display: flex !important;
  }
}

@media (max-width: 420px) {
  .dash-category-wrap {
    gap: 12px;
  }
  .dash-donut-conic {
    width: 90px;
    height: 90px;
  }
  .dash-donut-center {
    width: 56px;
    height: 56px;
  }
  .dash-donut-val {
    font-size: 1.05rem;
  }
}

/* Desktop / Mobile view helper */
.desktop-only-table {
  display: block;
}
.mobile-only-cards {
  display: none;
}

/* ==========================================================
   ANDROID NATIVE STYLE BOTTOM NAVIGATION & ACTION SHEET
   ========================================================== */
.admin-mobile-bottom-nav,
.admin-mobile-menu-sheet,
.admin-mobile-menu-backdrop {
  display: none;
}

@media (min-width: 1025px) {
  .admin-mobile-quick-actions,
  .mobile-swipe-badge,
  .admin-mobile-bottom-nav,
  .admin-mobile-menu-sheet,
  .admin-mobile-menu-backdrop {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  /* On all mobile & tablet screens, use uniform touch cards instead of overflowing tables */
  .desktop-only-table {
    display: none !important;
  }
  .mobile-only-cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .admin-view-container,
  #view-dashboard.admin-view-container.active {
    flex-direction: column !important;
    overflow: visible !important;
    min-height: 100vh !important;
  }
  .admin-main {
    overflow: visible !important;
  }

  /* Clean Unified Mobile Sticky Header */
  .admin-sidebar {
    width: 100% !important;
    height: auto !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 950 !important;
    padding: calc(env(safe-area-inset-top, 0px) + 0.65rem) 0.9rem 0.65rem 0.9rem !important;
    border-right: none !important;
    border-bottom: 1px solid #E2E8F0 !important;
    background: #FFFFFF !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
  }
  .admin-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
  }
  .admin-brand-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
  .admin-brand-info {
    min-width: 0 !important;
    flex: 1 !important;
  }
  .admin-brand-name {
    font-size: 0.96rem !important;
    line-height: 1.15 !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .admin-brand-sub {
    font-size: 0.68rem !important;
    letter-spacing: 0.2px !important;
    text-transform: none !important;
    color: #64748B !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .admin-mobile-quick-actions {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    flex-shrink: 0 !important;
  }
  .admin-mobile-online-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 4px 9px !important;
    border-radius: 999px !important;
    background: #ECFDF5 !important;
    border: 1px solid #A7F3D0 !important;
    color: #047857 !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  .admin-mobile-online-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #059669 !important;
    flex-shrink: 0 !important;
  }
  .admin-mobile-bell-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    border: 1px solid #E2E8F0 !important;
    background: #F8FAFC !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    flex-shrink: 0 !important;
  }
  .admin-mobile-bell-btn .admin-notif-dot {
    top: 6px !important;
    right: 6px !important;
  }

  /* Hide desktop sidebar nav & footer permanently on mobile (moved to Bottom Bar + Menu Sheet) */
  .admin-sidebar .admin-nav-menu,
  .admin-sidebar .admin-sidebar-footer {
    display: none !important;
  }

  /* Slim page indicator bar replacing bloated duplicate topbar on mobile */
  .admin-topbar {
    padding: 0 0.9rem !important;
    height: 38px !important;
    min-height: 38px !important;
    position: relative !important;
    background: #F8FAFC !important;
    border-bottom: 1px solid #E2E8F0 !important;
    gap: 8px !important;
  }
  .admin-topbar-actions {
    display: none !important;
  }
  .admin-topbar-divider {
    display: none !important;
  }
  .admin-kpi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .admin-dash-two-col {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Fixed Android/iOS Native Bottom Navigation Bar (Pinned Firmly at Bottom) */
  .admin-mobile-bottom-nav {
    display: block !important;
    position: fixed !important;
    bottom: 0 !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 58px !important;
    background: #FFFFFF !important;
    border-top: 1px solid #E2E8F0 !important;
    box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.09) !important;
    z-index: 9990 !important;
    overflow: visible !important;
    padding: 5px 0 calc(6px + env(safe-area-inset-bottom, 0px)) 0 !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    box-sizing: border-box !important;
  }
  .admin-mobile-bottom-nav::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(100% - 1px) !important;
    height: 180px !important;
    background: #FFFFFF !important;
    pointer-events: none !important;
  }
  .admin-bottom-nav-track {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    padding: 0 6px !important;
    gap: 2px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
  }
  .admin-bottom-nav-track::-webkit-scrollbar {
    display: none !important;
  }
  .admin-bottom-nav-item {
    flex: 0 0 auto !important;
    min-width: 60px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 10px !important;
    color: #64748B !important;
    cursor: pointer !important;
    padding: 6px 8px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease !important;
    position: relative !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  .admin-bottom-nav-item:active {
    transform: scale(0.94);
  }
  .admin-bottom-nav-item.active {
    color: #EA580C !important;
    background: #FFF7ED !important;
  }
  .admin-bottom-nav-item.active .bnav-icon {
    color: #EA580C !important;
    stroke-width: 2.3 !important;
  }
  .admin-bottom-nav-item.active .bnav-label {
    font-weight: 800 !important;
    color: #EA580C !important;
  }
  .bnav-icon-wrap {
    position: relative !important;
    display: inline-flex !important;
  }
  .bnav-icon {
    width: 19px !important;
    height: 19px !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
  }
  .bnav-label {
    font-size: 0.67rem !important;
    font-weight: 600 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
  }
  .bnav-badge {
    position: absolute !important;
    top: -5px !important;
    right: -9px !important;
    background: #EF4444 !important;
    color: #FFFFFF !important;
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    min-width: 16px !important;
    height: 16px !important;
    border-radius: 999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 3px !important;
    border: 2px solid #FFFFFF !important;
  }

  /* Bottom Menu Action Sheet (Hanya Beralih ke Mode User & Keluar) */
  .admin-mobile-menu-backdrop {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.42) !important;
    z-index: 9985 !important;
  }
  .admin-mobile-menu-backdrop.open {
    display: block !important;
  }
  .admin-mobile-menu-sheet {
    display: none;
    position: fixed !important;
    right: 10px !important;
    left: 10px !important;
    bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
    max-width: 420px !important;
    margin-left: auto !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px !important;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.2) !important;
    padding: 12px !important;
    z-index: 9988 !important;
    flex-direction: column !important;
    gap: 8px !important;
    transform: translate3d(0, 0, 0) !important;
  }
  .admin-mobile-menu-sheet.open {
    display: flex !important;
    animation: fadeInMenu 0.18s ease-out !important;
  }
  .admin-sheet-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 4px 6px 8px 6px !important;
    border-bottom: 1px solid #F1F5F9 !important;
  }
  .admin-sheet-user-title {
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    line-height: 1.2 !important;
  }
  .admin-sheet-user-sub {
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    color: #64748B !important;
  }
  .admin-sheet-close {
    width: 30px !important;
    height: 30px !important;
    border-radius: 999px !important;
    border: 1px solid #E2E8F0 !important;
    background: #F8FAFC !important;
    color: #64748B !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .admin-sheet-action {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    border: 1px solid #E2E8F0 !important;
    background: #F8FAFC !important;
    color: #0F172A !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-align: left !important;
    cursor: pointer !important;
  }
  .admin-sheet-action:active {
    background: #F1F5F9 !important;
  }
  .admin-sheet-action-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: #FFF7ED !important;
    color: #EA580C !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  .admin-sheet-action--danger {
    background: #FEF2F2 !important;
    border-color: #FECACA !important;
    color: #DC2626 !important;
  }
  .admin-sheet-action--danger .admin-sheet-action-icon {
    background: #FEE2E2 !important;
    color: #DC2626 !important;
  }
  .admin-sheet-action-sub {
    display: block !important;
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    color: #64748B !important;
    margin-top: 1px !important;
  }
  .admin-sheet-action--danger .admin-sheet-action-sub {
    color: #B91C1C !important;
    opacity: 0.85 !important;
  }

  .admin-body {
    padding: 0.85rem 0.85rem calc(env(safe-area-inset-bottom, 0px) + 84px) !important;
  }
}

@media (max-width: 860px) {
  .admin-body {
    padding: 0.85rem 0.85rem calc(env(safe-area-inset-bottom, 0px) + 84px) !important;
  }

  /* Landing / General */
  .landing-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .landing-hero-text { max-width: 100%; }
  .hero-cta-group, .hero-stats-row { justify-content: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-summary { grid-template-columns: repeat(2, 1fr); }
  .kategori-grid { grid-template-columns: repeat(2, 1fr); }
  .pergub-container-card { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .contact-card-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Mobile Login - Hide Left Art Panel, Direct Form Display */
  .login-page-body {
    background: #F8FAFC !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .login-wrapper {
    padding: 1.25rem 1rem !important;
    width: 100% !important;
    max-width: 460px !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  .login-card-container {
    display: block !important;
    max-width: 440px !important;
    width: 100% !important;
    margin: 0 auto !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.08) !important;
    border: 1.5px solid #E2E8F0 !important;
    background: #ffffff !important;
    overflow: hidden !important;
    min-height: auto !important;
  }
  .login-art-panel {
    display: none !important; /* Hide left info panel completely on mobile */
  }
  .login-form-panel,
  .register-form-panel {
    position: static !important;
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;
    padding: 2.25rem 1.6rem 2rem 1.6rem !important;
    transform: none !important;
    transition: none !important;
  }
  /* Mobile: toggle without sliding */
  .login-card-container:not(.mode-register) .login-form-panel {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .login-card-container:not(.mode-register) .register-form-panel {
    display: none !important;
  }
  .login-card-container.mode-register .login-form-panel {
    display: none !important;
  }
  .login-card-container.mode-register .register-form-panel {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .login-title {
    font-size: 1.65rem !important;
  }
  .login-sub {
    font-size: 0.95rem !important;
  }
  .role-segmented-control {
    min-height: 52px !important;
    padding: 4px !important;
    border-radius: 12px !important;
    gap: 4px !important;
    margin-bottom: 20px !important;
  }
  .role-segment-btn {
    min-height: 44px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border-radius: 9px !important;
  }
  .input-label {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    margin-bottom: 7px !important;
  }
  .modern-input {
    min-height: 52px !important;
    font-size: 16px !important; /* Important for bapak-bapak readability & no iOS zoom */
    border-radius: 12px !important;
    border-width: 1.5px !important;
    padding: 12px 14px 12px 42px !important;
  }
  .btn-login-cta {
    min-height: 54px !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    margin-top: 8px !important;
    box-shadow: 0 4px 16px rgba(255, 84, 22, 0.28) !important;
  }
  .lqa-chip {
    min-height: 40px !important;
    font-size: 0.88rem !important;
    padding: 8px 14px !important;
  }
}

@media (max-width: 640px) {
  /* Mobile Login Screen - Clean Edge-to-Edge for Phones */
  .login-page-body {
    background: #FFFFFF !important;
  }
  .login-wrapper {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    background: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .login-card-container {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: #FFFFFF !important;
  }
  .login-form-panel {
    padding: 2.5rem 1.25rem 2rem 1.25rem !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
  .modern-input,
  .reg-input,
  select,
  textarea {
    font-size: 16px !important;
    min-height: 44px !important;
  }

  /* Admin Dashboard Mobile KPI Grid & Cards */
  .admin-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
  }
  .admin-kpi-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    padding: 12px 12px 10px 12px !important;
    gap: 6px !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    border: 1px solid #E2E8F0 !important;
    background: #FFFFFF !important;
    min-height: 124px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  .admin-kpi-card:active {
    background: #F8FAFC !important;
    transform: scale(0.98) !important;
  }
  .kpi-icon-wrap {
    width: 32px !important;
    height: 32px !important;
    border-radius: 9px !important;
    margin-bottom: 2px !important;
    flex-shrink: 0 !important;
  }
  .kpi-icon-wrap svg {
    width: 16px !important;
    height: 16px !important;
  }
  .kpi-body {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    flex: 1 !important;
    justify-content: space-between !important;
  }
  .kpi-label {
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-bottom: 2px !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .kpi-value {
    font-size: 1.5rem !important;
    font-weight: 900 !important;
    color: #0F172A !important;
    line-height: 1.1 !important;
    margin-bottom: 2px !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 4px !important;
  }
  #ds-petugas-text {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #64748B !important;
  }
  .kpi-meta {
    font-size: 0.68rem !important;
    font-weight: 500 !important;
    color: #94A3B8 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    word-break: break-word !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.5em !important;
  }
  .admin-welcome-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    padding: 0 !important;
    margin-bottom: 14px !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
  .admin-welcome-date {
    font-size: 0.7rem !important;
    margin-bottom: 2px !important;
  }
  .admin-welcome-heading {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }
  .admin-welcome-title {
    font-size: 1.35rem !important;
  }
  .admin-btn-primary {
    width: 100% !important;
    min-height: 50px !important;
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    justify-content: center !important;
    border-radius: 12px !important;
  }
  .recent-section-header,
  .dash-section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .recent-filter-bar {
    width: 100% !important;
    overflow-x: auto !important;
    display: flex !important;
    gap: 8px !important;
    padding-bottom: 6px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .recent-filter-bar::-webkit-scrollbar {
    display: none !important;
  }
  .rf-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    min-height: 42px !important;
    padding: 8px 16px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
  }
  .search-input-field {
    min-height: 50px !important;
    font-size: 16px !important;
    border-radius: 12px !important;
  }
  .recent-item {
    padding: 16px 14px !important;
    gap: 12px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    border-radius: 14px !important;
  }
  .recent-item-title-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .recent-item-title {
    white-space: normal !important;
    word-break: break-word !important;
    font-size: 1.02rem !important;
    line-height: 1.35 !important;
  }
  .badge-status {
    font-size: 0.82rem !important;
    padding: 4px 12px !important;
  }
  .recent-item-meta {
    gap: 10px !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    color: #475467 !important;
  }
  .btn-lihat-detail {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    justify-content: center !important;
    border-radius: 10px !important;
    background: #FFF7ED !important;
    color: #EA580C !important;
    border: 1.5px solid #FED7AA !important;
    margin-top: 6px !important;
  }
  .regu-grid {
    grid-template-columns: 1fr !important;
  }
  .mobile-swipe-badge {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 12px !important;
    background: #FFF7ED !important;
    border-bottom: 1px solid #FFEDD5 !important;
    color: #C2410C !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
  }
  .admin-table-container {
    overflow-x: auto !important;
    border-radius: 12px !important;
    -webkit-overflow-scrolling: touch !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    border: 1px solid #E2E8F0 !important;
  }
  .admin-table {
    min-width: 480px !important;
    width: 100% !important;
  }
  .admin-table th, .admin-table td {
    padding: 10px 10px !important;
    font-size: 0.82rem !important;
  }

  /* Personel Mobile Uniform Card */
  .desktop-only-table {
    display: none !important;
  }
  .mobile-only-cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .pmc-card {
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    min-height: 56px !important;
    box-sizing: border-box !important;
  }
  .pmc-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 !important;
    min-width: 0 !important;
  }
  .pmc-avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #F1F5F9 !important;
    color: #0F172A !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  .pmc-info {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    gap: 2px !important;
  }
  .pmc-name {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 140px !important;
  }
  .pmc-phone {
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    color: #475467 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    letter-spacing: 0.2px !important;
  }
  .pmc-right {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .pmc-right select {
    font-size: 0.76rem !important;
    padding: 4px 6px !important;
    height: 36px !important;
    border-radius: 8px !important;
  }
  .pmc-del-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    border: 1px solid #FECACA !important;
    background: #FEF2F2 !important;
    color: #DC2626 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    transition: all 0.15s ease !important;
  }
  .pmc-del-btn:active {
    background: #FEE2E2 !important;
    transform: scale(0.95) !important;
  }
  .modal-overlay {
    padding: 12px !important;
  }
  .modal-card {
    max-width: 100% !important;
    border-radius: 18px !important;
  }
  .modal-head {
    padding: 16px 18px !important;
  }
  .modal-body {
    padding: 18px 16px !important;
  }

  /* User Portal Mobile - Clean Card Alignment */
  .user-portal-wrapper {
    background: #F8FAFC !important;
  }
  .user-portal-topbar {
    border-radius: 14px !important;
    margin-bottom: 10px !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 14px !important;
    background: #FFFFFF !important;
  }
  .user-tabs-bar {
    margin: 10px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 4px !important;
    border-radius: 12px !important;
    background: #E2E8F0 !important;
  }
  .user-tab-item {
    padding: 11px 14px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    min-height: 46px !important;
  }
  .user-phone-card {
    max-width: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
  }
  .user-card-header {
    border-radius: 0 !important;
    padding: 24px 18px 20px 18px !important;
  }
  .user-header-title {
    font-size: 1.85rem !important;
  }
  .user-header-halo {
    font-size: 0.95rem !important;
  }
  .user-card-body {
    padding: 20px 16px 40px 16px !important;
  }
  .u-step-label {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
  }
  .job-type-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .job-btn {
    min-height: 52px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    padding: 10px 4px !important;
    border-radius: 12px !important;
  }
  .photo-slot-grid {
    gap: 12px !important;
  }
  .photo-slot-card {
    min-height: 150px !important;
    border-radius: 16px !important;
    border: 2px dashed #94A3B8 !important;
    padding: 18px 10px !important;
    background: #FFFFFF !important;
  }
  .photo-slot-title {
    font-size: 0.96rem !important;
    font-weight: 800 !important;
    margin-top: 6px !important;
  }
  .photo-slot-sub {
    font-size: 0.82rem !important;
  }
  .photo-camera-icon {
    color: #FF5416 !important;
    width: 34px !important;
    height: 34px !important;
  }
  .btn-snap-quick {
    width: 100% !important;
    min-height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FFF7ED !important;
    border: 1.5px solid #FED7AA !important;
    border-radius: 10px !important;
    color: #EA580C !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    gap: 6px !important;
    padding: 8px 12px !important;
  }
  .location-box-card {
    padding: 14px !important;
    border-radius: 14px !important;
  }
  .loc-main {
    white-space: normal !important;
    word-break: break-word !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
  }
  .btn-loc-change {
    min-height: 44px !important;
    padding: 8px 18px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
  }
  .loc-chip {
    padding: 6px 12px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
  }
  .u-textarea {
    font-size: 16px !important; /* Prevents auto zoom, clear readability */
    min-height: 100px !important;
    padding: 14px !important;
    border-radius: 12px !important;
  }
  .btn-kirim-laporan {
    min-height: 56px !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    border-radius: 14px !important;
    margin-top: 14px !important;
    box-shadow: 0 6px 20px rgba(27, 67, 50, 0.3) !important;
  }
  .user-history-panel {
    padding: 12px 16px 40px 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .user-history-card {
    border-radius: 16px !important;
    padding: 16px !important;
  }
  .uh-title {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
  }
  .uh-badge {
    font-size: 0.82rem !important;
    padding: 4px 10px !important;
  }
  .uh-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
  }
}

/* ==========================================================
   USER PORTAL / MODE PETUGAS LAPANGAN (LAPOR PEKERJAAN)
   Mobile Mockup & Field-friendly Flow
   ========================================================== */
.user-portal-wrapper {
  min-height: 100vh;
  background: #EDF2F7;
  padding: 1.5rem 1rem 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font);
}

.user-portal-topbar {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  background: #FFFFFF;
  padding: 10px 16px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  border: 1px solid #E2E8F0;
}

.user-topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-topbar-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.user-topbar-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

.user-topbar-sub {
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  overflow: visible;
  word-break: break-word;
}

.user-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-pill-btn {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.user-pill-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.user-pill-btn.primary {
  background: #FFF7ED;
  border-color: #FF5416;
  color: #EA580C;
}

/* User Tab Switcher */
.user-tabs-bar {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  background: #E2E8F0;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 1rem;
  gap: 4px;
}

.user-tab-item {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748B;
  border-radius: 9px;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: all 0.2s ease;
}

.user-tab-item.active {
  background: #FFFFFF;
  color: #0F172A;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Phone Mockup Frame */
.user-phone-card {
  width: 100%;
  max-width: 440px;
  background: #F8FAFC;
  border-radius: 24px;
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(226, 232, 240, 0.8);
  overflow: hidden;
  position: relative;
  transition: all 0.25s ease;
}

/* Orange Header Section */
.user-card-header {
  background: linear-gradient(135deg, #FF5416 0%, #EA580C 100%);
  padding: 24px 22px 20px 22px;
  color: #FFFFFF;
  position: relative;
}

.user-header-halo {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.user-header-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.user-header-meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
}

.user-header-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
}

/* Card Body Content */
.user-card-body {
  padding: 22px 20px;
  background: #F8FAFC;
}

/* Step Form Group */
.u-step-group {
  margin-bottom: 22px;
}

.u-step-label {
  display: block;
  font-size: 0.96rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.u-step-label span.opt {
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748B;
}

/* 1. Pekerjaan apa? Grid */
.job-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.job-btn {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 13px 6px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.job-btn:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
  transform: translateY(-1px);
}

.job-btn.active {
  background: #FFF7ED !important;
  border-color: #FF5416 !important;
  color: #EA580C !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(255, 84, 22, 0.16) !important;
}

/* 2. Foto bukti Grid (3 Slot: Sebelum, Proses, Sesudah) */
.photo-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 640px) {
  .photo-slot-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.u-input-field {
  width: 100%;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0F172A;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}
.u-input-field:focus {
  outline: none;
  border-color: #FF5416;
  box-shadow: 0 0 0 3px rgba(255, 84, 22, 0.12);
}
.u-range-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
}
.u-range-slider {
  flex: 1;
  accent-color: #FF5416;
  cursor: pointer;
}
.u-range-badge {
  background: #FFF7ED;
  color: #EA580C;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid #FFEDD5;
  min-width: 50px;
  text-align: center;
}
.badge-rw {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #EFF6FF;
  color: #1D4ED8;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #DBEAFE;
}
.badge-regu {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F0FDF4;
  color: #15803D;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #DCFCE7;
}
.badge-minggu {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FAF5FF;
  color: #7E22CE;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #F3E8FF;
}


.photo-slot-card {
  border: 1.5px dashed #CBD5E1;
  border-radius: 14px;
  background: #FFFFFF;
  padding: 22px 10px;
  text-align: center;
  cursor: pointer;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.photo-slot-card:hover {
  border-color: #FF5416;
  background: #FFFBF8;
}

.photo-slot-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 3px;
  z-index: 2;
}

.photo-slot-sub {
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 500;
  z-index: 2;
}

.photo-slot-card.has-photo {
  border-style: solid;
  border-color: #10B981;
  padding: 0;
}

.photo-slot-card.locked {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
  cursor: not-allowed !important;
  opacity: 0.65 !important;
}

.photo-slot-card.locked:hover {
  border-color: #CBD5E1 !important;
  background: #F8FAFC !important;
}

.photo-slot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.photo-slot-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.85);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 6px;
  text-align: center;
  backdrop-filter: blur(4px);
  z-index: 3;
}

.photo-helper-row {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
}

.btn-snap-quick {
  background: transparent;
  border: none;
  color: #EA580C;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
}

.btn-snap-quick:hover {
  text-decoration: underline;
}

/* 3. Lokasi Card */
.location-box-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  width: 100%;
  box-sizing: border-box;
}

.loc-text-col {
  flex: 1;
  min-width: 0;
}

.loc-sub {
  font-size: 0.76rem;
  color: #64748B;
  font-weight: 500;
  margin-bottom: 2px;
}

.loc-main {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-loc-change {
  background: #FFFFFF;
  border: 1.5px solid #1B4332;
  color: #1B4332;
  padding: 6px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-loc-change:hover {
  background: #1B4332;
  color: #FFFFFF;
}

.loc-editor-panel {
  margin-top: 10px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  padding: 12px;
  display: none;
}

.loc-editor-panel.show {
  display: block;
}

.loc-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.loc-chip {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.15s;
}

.loc-chip:hover {
  background: #FFF7ED;
  border-color: #FF5416;
  color: #EA580C;
}

/* 4. Catatan Textarea */
.u-textarea {
  width: 100%;
  border: 1.5px solid #CBD5E1;
  border-radius: 14px;
  padding: 14px;
  font-family: inherit;
  font-size: 0.9rem;
  color: #0F172A;
  min-height: 90px;
  background: #FFFFFF;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.u-textarea:focus {
  border-color: #FF5416;
  box-shadow: 0 0 0 3px rgba(255, 84, 22, 0.12);
}

/* Kirim Laporan Button (Forest Green) */
.btn-kirim-laporan {
  width: 100%;
  background: #1B4332;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 16px 20px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(27, 67, 50, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 8px;
}

.btn-kirim-laporan:hover {
  background: #143527;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(27, 67, 50, 0.35);
}

.btn-kirim-laporan:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(27, 67, 50, 0.2);
}

/* Riwayat Tab Content */
.user-history-panel {
  display: none;
  width: 100%;
  max-width: 440px;
}

.user-history-panel.show {
  display: block;
}

.user-history-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.uh-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.uh-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F172A;
}

.uh-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.uh-badge.selesai {
  background: #ECFDF5;
  color: #059669;
}

.uh-badge.proses {
  background: #FFF7ED;
  color: #EA580C;
}

.uh-badge.belum {
  background: #FEF3C7;
  color: #D97706;
}

.uh-meta {
  font-size: 0.78rem;
  color: #64748B;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.uh-photos-row {
  display: flex;
  gap: 8px;
}

.uh-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #CBD5E1;
}

/* ==========================================================
   HUMAN-CRAFTED ADMIN MODULES & ANTI-SLOP COMPONENTS
   ========================================================== */

/* Modern Status Badges without AI Emojis */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-status.badge-selesai {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #BBF7D0;
}
.badge-status.badge-selesai .status-dot {
  background: #16A34A;
  box-shadow: 0 0 4px rgba(22, 163, 74, 0.4);
}

.badge-status.badge-proses {
  background: #FFEDD5;
  color: #C2410C;
  border: 1px solid #FED7AA;
}
.badge-status.badge-proses .status-dot {
  background: #EA580C;
  box-shadow: 0 0 4px rgba(234, 88, 12, 0.4);
}

.badge-status.badge-belum {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
}
.badge-status.badge-belum .status-dot {
  background: #D97706;
  box-shadow: 0 0 4px rgba(217, 119, 6, 0.4);
}

/* Category Badge Pills */
.kat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid transparent;
}
.kat-pill.orange { background: #FFF7ED; color: #EA580C; border-color: #FED7AA; }
.kat-pill.blue   { background: #EFF6FF; color: #2563EB; border-color: #BFDBFE; }
.kat-pill.green  { background: #F0FDF4; color: #16A34A; border-color: #BBF7D0; }
.kat-pill.yellow { background: #FEFCE8; color: #CA8A04; border-color: #FEF08A; }
.kat-pill.purple { background: #FAF5FF; color: #9333EA; border-color: #E9D5FF; }
.kat-pill.slate  { background: #F8FAFC; color: #475569; border-color: #CBD5E1; }
.kat-pill.teal   { background: #F0FDFA; color: #0D9488; border-color: #99F6E4; }
.kat-pill.rose   { background: #FFF1F2; color: #E11D48; border-color: #FECDD3; }

/* Enhanced Recent Item Card */
.recent-item {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.recent-item:hover {
  border-color: #CBD5E1;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.recent-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.recent-item:hover .recent-item-icon {
  transform: scale(1.05);
}

.recent-item-body {
  flex: 1;
  min-width: 0;
}

.recent-item-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.recent-item-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
}

.recent-item-desc {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.45;
  margin-top: 3px;
  margin-bottom: 6px;
}

.recent-item-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.78rem;
  color: #64748B;
}

.meta-segment {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-lihat-detail {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-lihat-detail:hover {
  background: #FF5416;
  color: #FFFFFF;
  border-color: #FF5416;
}

/* Modern Input Search Bar */
.search-input-wrap {
  position: relative;
  width: 100%;
}

.search-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.search-input-field {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  font-size: 0.88rem;
  font-family: inherit;
  color: #0F172A;
  background: #FFFFFF;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.search-input-field:focus {
  outline: none;
  border-color: #FF5416;
  box-shadow: 0 0 0 3px rgba(255, 84, 22, 0.12);
}

/* Admin Tab Panes */
.admin-tab-pane {
  display: none;
}
.admin-tab-pane.active {
  display: block;
  animation: fadeInPane 0.2s ease-out;
}
@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Admin Data Table */
.admin-table-container {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.admin-table th {
  background: #F8FAFC;
  padding: 12px 18px;
  font-weight: 700;
  color: #475467;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #F1F5F9;
  color: #1E293B;
  vertical-align: middle;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table tbody tr:hover {
  background: #F8FAFC;
}

/* Regu Cards Grid */
.regu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

.regu-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.regu-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
  transform: translateY(-2px);
}

.regu-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.regu-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.regu-subtitle {
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 500;
}

.regu-members-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}

.regu-member-chip {
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ========================================================
   MOBILE LIVE CHAT / PEMBERITAHUAN WIDGET & SHEET (KHUSUS MOBILE)
   ======================================================== */
.mobile-notif-widget {
  display: none;
}

.mobile-alert-banner {
  display: none;
}

.mobile-notif-backdrop {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-notif-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-notif-sheet {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: 24px 24px 0 0;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-notif-backdrop.active .mobile-notif-sheet {
  transform: translateY(0);
}

.notif-sheet-header {
  padding: 16px 20px;
  background: #FF5416;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notif-sender-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notif-avatar-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.notif-avatar-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.notif-online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22C55E;
  border: 2px solid #ffffff;
}

.notif-sender-text h4 {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.notif-sender-text p {
  margin: 2px 0 0 0;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.92);
}

.notif-close-btn {
  background: rgba(255, 255, 255, 0.22);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: background 0.15s ease;
}

.notif-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.notif-sheet-body {
  padding: 18px;
  overflow-y: auto;
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
}

.chat-bubble-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.chat-bubble-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF1EB;
  color: #EA580C;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.chat-bubble-h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px 0;
}

.chat-bubble-desc {
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.45;
  margin: 0 0 14px 0;
}

.chat-checklist-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-chk-row {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #F8FAFC;
  border: 1px solid #EDF2F7;
  border-radius: 10px;
  padding: 8px 10px;
}

.chat-chk-num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #FF5416;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-chk-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.chat-chk-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
}

.chat-chk-text span {
  font-size: 0.72rem;
  color: #64748B;
  line-height: 1.2;
}

.chat-bubble-meta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 0.7rem;
  color: #94A3B8;
  font-weight: 600;
}

.notif-sheet-footer {
  padding: 14px 18px 22px 18px;
  background: #ffffff;
  border-top: 1px solid #EDF2F7;
}

.btn-notif-ack {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  background: #FF5416;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(255, 84, 22, 0.3);
  font-family: inherit;
  transition: transform 0.15s ease;
}

.btn-notif-ack:active {
  transform: scale(0.98);
}

@media (max-width: 860px) {
  .mobile-notif-widget {
    display: none !important;
  }
  .mobile-notif-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #0F172A;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.9);
    padding: 10px 16px 10px 12px;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.35);
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .mobile-notif-btn:active {
    transform: scale(0.96);
  }
  .mobile-notif-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF5416;
  }
  .mobile-notif-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #EF4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #0F172A;
    animation: pulseBadge 2s infinite;
  }
  @keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
  }
  .mobile-notif-btn-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: #ffffff;
  }
  .mobile-alert-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FFF7ED;
    border: 1px solid #FFEDD5;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: background 0.15s ease;
  }
  .mobile-alert-banner:hover {
    background: #FFEDD5;
  }
  .mab-badge {
    background: #FF5416;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.04em;
    flex-shrink: 0;
  }
  .mab-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #9A3412;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ==========================================================================
   REGISTER PROMPT & MODAL STYLES (LOGIN REV)
   ========================================================================== */
.login-register-prompt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #F1F5F9;
  font-size: 0.88rem;
  color: #64748B;
}

.btn-register-link {
  background: none;
  border: none;
  color: #FF5416;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.btn-register-link:hover {
  color: #EA580C;
}

/* REGISTER MODAL DIALOG */
.modal-backdrop-register {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop-register.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-card-register {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.25);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  animation: registerPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes registerPopIn {
  from { transform: scale(0.96) translateY(8px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.register-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
}

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

.register-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.register-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.register-subtitle {
  font-size: 0.78rem;
  color: #64748B;
  margin: 2px 0 0;
}

.btn-close-register {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #64748B;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
  box-sizing: border-box;
}

.btn-close-register:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #CBD5E1;
}

.btn-close-register svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.reg-field-group {
  margin-bottom: 14px;
}

.reg-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 6px;
}

.reg-role-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.reg-role-card {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  background: #F8FAFC;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.reg-role-card input[type="radio"] {
  position: absolute;
  top: 10px;
  right: 10px;
  accent-color: #FF5416;
}

.reg-role-card.active {
  border-color: #FF5416;
  background: #FFF7ED;
}

.reg-role-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF5416;
  margin-bottom: 8px;
  border: 1px solid #FED7AA;
}

.reg-role-info strong {
  display: block;
  font-size: 0.84rem;
  color: #0F172A;
}

.reg-role-info span {
  font-size: 0.72rem;
  color: #64748B;
  line-height: 1.3;
}

.reg-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reg-notice-box {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 16px 0;
  font-size: 0.76rem;
  color: #166534;
  line-height: 1.4;
}

.reg-notice-box svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.reg-actions-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.btn-reg-cancel {
  flex: 1;
  padding: 10px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  background: #ffffff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-reg-cancel:hover {
  background: #F1F5F9;
}

.btn-reg-submit {
  flex: 2;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: #FF5416;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 84, 22, 0.25);
  transition: all 0.15s ease;
}

.btn-reg-submit:hover {
  background: #EA580C;
}

@media (max-width: 520px) {
  .reg-role-options,
  .reg-row-2col {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   CAMERA VIEWFINDER & LIVE GPS TIMESTAMP HUD
   ========================================================== */
.camera-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #000000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  user-select: none;
  font-family: var(--font);
}

.camera-modal-overlay.hidden {
  display: none !important;
}

.camera-modal-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: relative;
  background: #000000;
}

/* Top Navigation Bar */
.camera-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: auto;
}

.camera-slot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FF5416;
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(255, 84, 22, 0.35);
}

.camera-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cam-btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.cam-btn-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.06);
}

.cam-btn-icon:active {
  transform: scale(0.95);
}

/* Viewport & Video Feed */
.camera-viewport-wrap {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0B0F19;
}

#camera-video-feed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Loading notice */
.camera-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 600;
  background: #0B0F19;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.camera-loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.cam-spinner {
  width: 44px;
  height: 44px;
  border: 3.5px solid rgba(255, 255, 255, 0.2);
  border-top-color: #FF5416;
  border-radius: 50%;
  animation: camSpin 0.8s linear infinite;
}

@keyframes camSpin {
  to { transform: rotate(360deg); }
}

/* Camera Grid Overlay */
.camera-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.35);
}

.camera-grid-lines::before,
.camera-grid-lines::after {
  content: "";
  position: absolute;
  border-color: rgba(255, 255, 255, 0.12);
  border-style: solid;
}

.camera-grid-lines::before {
  top: 33.33%;
  bottom: 33.33%;
  left: 0;
  right: 0;
  border-width: 1px 0;
}

.camera-grid-lines::after {
  left: 33.33%;
  right: 33.33%;
  top: 0;
  bottom: 0;
  border-width: 0 1px;
}

/* Corner Viewfinder Brackets */
.cam-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: rgba(255, 255, 255, 0.5);
  border-style: solid;
}
.cam-corner.tl { top: 24px; left: 24px; border-width: 2.5px 0 0 2.5px; }
.cam-corner.tr { top: 24px; right: 24px; border-width: 2.5px 2.5px 0 0; }
.cam-corner.bl { bottom: 24px; left: 24px; border-width: 0 0 2.5px 2.5px; }
.cam-corner.br { bottom: 24px; right: 24px; border-width: 0 2.5px 2.5px 0; }

/* ==========================================================
   LIVE WATERMARK HUD (Floating over camera preview)
   Matches the reference image with big clock, yellow line,
   date & day, and location/GPS lines
   ========================================================== */
.camera-live-hud {
  position: absolute;
  bottom: 125px;
  left: 20px;
  right: 20px;
  pointer-events: none;
  z-index: 12;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.85));
}

.cam-badge-tag {
  display: inline-block;
  background: rgba(255, 84, 22, 0.95);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  text-shadow: none;
}

.cam-time-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.cam-huge-time {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: #FFFFFF;
  letter-spacing: -1.5px;
  font-variant-numeric: tabular-nums;
}

.cam-yellow-divider {
  width: 3.5px;
  height: 44px;
  background: #F59E0B;
  border-radius: 2px;
}

.cam-date-day-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.25;
}

.cam-date {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.cam-day {
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
}

.cam-location-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 90%;
}

.cam-loc-line {
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.35;
}

.cam-loc-coords {
  font-size: 0.82rem;
  font-weight: 600;
  color: #E2E8F0;
  margin-top: 2px;
  letter-spacing: 0.01em;
}

/* Bottom Camera Controls Bar */
.camera-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0) 100%);
  padding: 16px 30px 32px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  pointer-events: auto;
}

.cam-btn-secondary {
  background: transparent;
  border: none;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0.9;
  transition: all 0.2s;
  min-width: 60px;
}

.cam-btn-secondary:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.cam-btn-secondary:active {
  transform: scale(0.95);
}

/* Big Circular Shutter Button */
.cam-shutter-btn {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 4px solid #FFFFFF;
  background: transparent;
  padding: 4px;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.cam-shutter-btn:hover {
  transform: scale(1.05);
}

.cam-shutter-btn:active {
  transform: scale(0.92);
}

.shutter-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #FF5416;
  box-shadow: 0 0 12px rgba(255, 84, 22, 0.6);
  transition: all 0.12s ease;
}

.cam-shutter-btn:active .shutter-inner {
  background: #EA580C;
  transform: scale(0.92);
}

/* Screen Shutter Flash Effect */
.camera-flash-overlay {
  position: absolute;
  inset: 0;
  background: #FFFFFF;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
}

.camera-flash-overlay.flashing {
  animation: shutterFlash 0.25s ease-out;
}

@keyframes shutterFlash {
  0% { opacity: 0.95; }
  100% { opacity: 0; }
}

@media (max-width: 480px) {
  .cam-huge-time {
    font-size: 2.6rem;
  }
  .cam-date {
    font-size: 1rem;
  }
  .cam-day {
    font-size: 0.9rem;
  }
  .cam-loc-line {
    font-size: 0.85rem;
  }
  .cam-loc-coords {
    font-size: 0.76rem;
  }
  .camera-live-hud {
    bottom: 110px;
    left: 14px;
    right: 14px;
  }
}

/* ==========================================================
   MULTI-STEP WIZARD STEPPER & JOB CARD REDESIGN
   ========================================================== */
.user-wizard-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.wizard-step-node {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 6px;
  border-radius: 10px;
  transition: all 0.2s ease;
  font-family: inherit;
  text-align: left;
}

.wizard-step-node:hover {
  background: #F8FAFC;
}

.node-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #E2E8F0;
  color: #64748B;
  font-size: 0.88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.wizard-step-node.active .node-circle {
  background: #FF5416;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(255, 84, 22, 0.35);
  transform: scale(1.06);
}

.wizard-step-node.completed .node-circle {
  background: #10B981;
  color: #FFFFFF;
}

.node-text {
  display: flex;
  flex-direction: column;
}

.node-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.node-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #475569;
  line-height: 1.2;
}

.wizard-step-node.active .node-title {
  color: #0F172A;
}

.wizard-step-line {
  flex: 1;
  height: 3px;
  background: #E2E8F0;
  margin: 0 12px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}

.wizard-step-line.step2-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #10B981;
}

/* Simplified Job Header Card */
.job-id-summary-card {
  background: #FFF7ED;
  border: 1.5px solid #FFEDD5;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.job-id-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #C2410C;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.job-id-val {
  font-size: 1.18rem;
  font-weight: 900;
  color: #9A3412;
  letter-spacing: -0.3px;
}

.job-id-sub {
  font-size: 0.7rem;
  color: #EA580C;
  font-weight: 600;
}

.job-period-col {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.badge-harian {
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.job-day-badge {
  background: #FFFFFF;
  color: #9A3412;
  border: 1px solid #FED7AA;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Hari Kerja Button Grid (Senin - Jumat) */
.harian-day-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 6px;
}

.btn-day-pill {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  padding: 9px 4px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-day-pill:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
}

.btn-day-pill.active {
  background: #FFF7ED;
  border-color: #FF5416;
  color: #C2410C;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(255, 84, 22, 0.2);
}

/* 5 Jenis Pekerjaan Baru dengan Keterangan */
.job-cards-vertical {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.job-card-selectable {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  position: relative;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}

.job-card-selectable:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
  transform: translateY(-1px);
}

.job-card-selectable.active {
  background: #FFF7ED;
  border-color: #FF5416;
  box-shadow: 0 4px 14px rgba(255, 84, 22, 0.14);
}

.job-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #F1F5F9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.job-card-selectable.active .job-card-icon {
  background: #FF5416;
  color: #FFFFFF;
}

.job-card-text {
  flex: 1;
  min-width: 0;
}

.job-card-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.3;
  margin-bottom: 2px;
}

.job-card-selectable.active .job-card-title {
  color: #9A3412;
}

.job-card-desc {
  font-size: 0.74rem;
  color: #64748B;
  line-height: 1.35;
  font-weight: 500;
}

.job-card-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: transparent;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.job-card-selectable.active .job-card-check {
  background: #FF5416;
  border-color: #FF5416;
  color: #FFFFFF;
}

/* Quick Progress Selector */
.quick-progress-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.btn-prog-pill {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  padding: 8px 6px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.btn-prog-pill:hover {
  background: #F8FAFC;
}

.btn-prog-pill.active {
  background: #FFF7ED;
  border-color: #FF5416;
  color: #C2410C;
  font-weight: 800;
}

/* Stepper Navigation Buttons */
.stepper-actions-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.btn-step-next {
  width: 100%;
  background: #FF5416;
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  padding: 13px 18px;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 84, 22, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.2s ease;
}

.btn-step-next:hover {
  background: #EA580C;
  transform: translateY(-1px);
}

.btn-step-back {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #475569;
  border-radius: 12px;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-step-back:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #94A3B8;
}

.draft-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 600;
}

.draft-pill-saved {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #10B981;
  font-weight: 700;
}

/* History Card Resume Button */
.btn-resume-report {
  background: #FFF7ED;
  border: 1.5px solid #FFEDD5;
  color: #C2410C;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
  margin-top: 8px;
}

.btn-resume-report:hover {
  background: #FFEDD5;
  border-color: #FDBA74;
}


/* ==================== EXECUTIVE DASHBOARD INTERACTIVE WIDGETS ==================== */
.dash-chart-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.2fr;
  gap: 16px;
  margin-top: 20px;
}
.dash-bottom-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr;
  gap: 16px;
  margin-top: 16px;
}
.dash-box {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
  display: flex;
  flex-direction: column;
}
.box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.box-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0F172A;
}
.box-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: #F1F5F9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.box-badge:hover {
  background: #E2E8F0;
  color: #0F172A;
}
.dash-clickable-card {
  cursor: pointer;
  transition: all 0.2s ease;
}
.dash-clickable-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transform: translateY(-2px);
}

/* BAR CHART */
.bar-chart-container {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  height: 140px;
  padding-top: 15px;
  border-bottom: 1px solid #F1F5F9;
}
.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}
.bar-pair {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  width: 100%;
  justify-content: center;
  height: 105px;
}
.bar {
  width: 14px;
  border-radius: 4px 4px 0 0;
  transition: height 0.3s;
}
.bar-total { background: #E2E8F0; }
.bar-done { background: #FF5416; }
.bar-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748B;
  margin-top: 4px;
}

/* CATEGORY BREAKDOWN */
.category-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  flex: 1;
}
.cat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}
.cat-item:hover {
  background: #F8FAFC;
  transform: translateX(4px);
}
.cat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 700;
}
.cat-bar-bg {
  height: 7px;
  background: #F1F5F9;
  border-radius: 999px;
  overflow: hidden;
}
.cat-bar-fill {
  height: 100%;
  border-radius: 999px;
}

/* 10 RW MATRIX */
.rw-matrix {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.rw-tile {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.rw-tile:hover {
  border-color: #FF5416;
  background: #FFF7ED;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 84, 22, 0.12);
}
.rw-tile.active-task {
  background: #FFFBEB;
  border-color: #FDE68A;
}
.rw-tile.active-task:hover {
  border-color: #F59E0B;
  background: #FEF3C7;
}
.rw-name {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0F172A;
}
.rw-status {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.rw-clean { background: #ECFDF5; color: #047857; }
.rw-warn { background: #FEF3C7; color: #B45309; }

/* TIM RADAR */
.radar-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.radar-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #F8FAFC;
  border-radius: 10px;
  border: 1px solid #F1F5F9;
  cursor: pointer;
  transition: all 0.2s ease;
}
.radar-card:hover {
  border-color: #CBD5E1;
  background: #F1F5F9;
  transform: translateX(4px);
}
.radar-team {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0F172A;
}
.radar-meta {
  font-size: 0.7rem;
  color: #64748B;
  margin-top: 1px;
}
.radar-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.badge-on { background: #ECFDF5; color: #059669; }
.badge-sby { background: #EFF6FF; color: #2563EB; }
