* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #eef6ff;
  --bg-soft: #f7fbff;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(89, 123, 169, 0.14);
  --line-strong: rgba(89, 123, 169, 0.22);
  --text: #10233f;
  --muted: #6d84a2;
  --cyan: #14b8ff;
  --blue: #4c7dff;
  --green: #22b573;
  --yellow: #d6a200;
  --red: #e45d6f;
  --shadow: 0 18px 40px rgba(96, 132, 177, 0.16);
}

body {
  min-height: 100vh;
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 255, 0.10), transparent 20%),
    radial-gradient(circle at bottom left, rgba(76, 125, 255, 0.10), transparent 24%),
    linear-gradient(180deg, #f4f9ff 0%, #edf5ff 100%);
  color: var(--text);
}

.app-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: linear-gradient(180deg, rgba(246, 251, 255, 0.95), rgba(234, 244, 255, 0.98));
  border-right: 1px solid var(--line);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(14px);
}

.brand-block {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(240,248,255,0.92));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.brand-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(20,184,255,0.12), transparent 55%);
  pointer-events: none;
}

.brand-block h1 {
  font-size: 19px;
  margin-bottom: 6px;
  position: relative;
}

.brand-block p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  position: relative;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}

.nav-item {
  text-decoration: none;
  color: var(--muted);
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.44);
  transition: 0.2s ease;
  font-weight: 600;
}

.nav-item:hover,
.nav-item.active {
  color: #0d2b52;
  border-color: rgba(20, 184, 255, 0.18);
  background: linear-gradient(135deg, rgba(20,184,255,0.12), rgba(76,125,255,0.10));
  box-shadow: inset 0 0 0 1px rgba(20,184,255,0.08);
}

.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(34, 181, 115, 0.5);
}

.main-content {
  padding: 28px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
}

.topbar h2 {
  font-size: 36px;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.topbar p {
  color: var(--muted);
  font-size: 15px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.clock-panel {
  min-width: 240px;
  text-align: right;
  padding: 16px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(244,249,255,0.92));
  box-shadow: var(--shadow);
}

#live-date {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}

#live-clock {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 1px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.kpi-card {
  padding: 18px 18px 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,250,255,0.94));
  box-shadow: var(--shadow);
}

.kpi-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 12px;
  font-weight: 600;
}

.kpi-card h3 {
  font-size: 38px;
  color: var(--text);
  line-height: 1;
}

.mini-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 220px);
  gap: 14px;
  margin-bottom: 20px;
}

.mini-stat-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,250,255,0.94));
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
}

.mini-stat-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.mini-stat-card strong {
  font-size: 28px;
  color: var(--text);
}

.content-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 20px;
}

.left-column,
.right-column {
  display: grid;
  gap: 20px;
}

.panel {
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(246,250,255,0.92));
  box-shadow: var(--shadow);
  padding: 22px;
}

.panel-large {
  min-height: 500px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.panel-header h3 {
  font-size: 18px;
}

.panel-subtitle {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.fo-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea,
.search-input,
.filter-select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  outline: none;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-group select,
.filter-select {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(243,248,255,0.98));
  cursor: pointer;
}

.form-group select option,
.filter-select option {
  background: #ffffff;
  color: #10233f;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.search-input:focus,
.filter-select:focus {
  border-color: rgba(20, 184, 255, 0.35);
  box-shadow: 0 0 0 4px rgba(20, 184, 255, 0.10);
}

.form-group input[readonly] {
  background: #eef5ff;
  color: #4b6284;
  cursor: not-allowed;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  border: none;
  border-radius: 14px;
  padding: 13px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #1cc5ff, #4c7dff);
  color: white;
  box-shadow: 0 10px 24px rgba(76,125,255,0.22);
}

.btn-secondary {
  background: rgba(255,255,255,0.86);
  color: #24518c;
  border: 1px solid rgba(76,125,255,0.16);
}

.btn-primary:hover,
.btn-secondary:hover {
  opacity: 0.96;
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  color: var(--muted);
  font-size: 14px;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: var(--red);
}

.form-status.loading {
  color: var(--blue);
}

.toolbar {
  margin-bottom: 18px;
}

.toolbar-3 {
  display: grid;
  grid-template-columns: 1fr 220px 260px;
  gap: 14px;
  margin-bottom: 18px;
}

.date-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  text-align: left;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

tbody td {
  padding: 16px 12px;
  border-bottom: 1px solid rgba(89, 123, 169, 0.10);
  font-size: 14px;
  vertical-align: middle;
}

tbody tr:hover {
  background: rgba(20, 184, 255, 0.04);
}

.empty-row,
.empty-note {
  color: var(--muted);
  text-align: center;
  padding: 22px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}

.badge.waiting {
  color: #9f7500;
  background: rgba(214, 162, 0, 0.12);
  border-color: rgba(214, 162, 0, 0.18);
}

.badge.in-meeting {
  color: #0b80a8;
  background: rgba(20, 184, 255, 0.12);
  border-color: rgba(20, 184, 255, 0.18);
}

.badge.done {
  color: #16885a;
  background: rgba(34, 181, 115, 0.12);
  border-color: rgba(34, 181, 115, 0.18);
}

.badge.rejected {
  color: #b04251;
  background: rgba(228, 93, 111, 0.12);
  border-color: rgba(228, 93, 111, 0.18);
}

.badge.default {
  color: #5a7291;
  background: rgba(89, 123, 169, 0.10);
  border-color: rgba(89, 123, 169, 0.16);
}

.unit-list,
.employee-list {
  display: grid;
  gap: 12px;
}

.unit-item,
.employee-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.unit-rank,
.employee-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(20,184,255,0.14), rgba(76,125,255,0.12));
  color: var(--blue);
  font-weight: 800;
  border: 1px solid rgba(20,184,255,0.16);
  flex-shrink: 0;
}

.unit-name,
.employee-name {
  font-weight: 700;
  margin-bottom: 4px;
}

.unit-total,
.employee-role {
  color: var(--muted);
  font-size: 13px;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-mini {
  border: none;
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-mini:hover {
  transform: translateY(-1px);
}

.btn-blue {
  background: rgba(20, 184, 255, 0.12);
  border: 1px solid rgba(20, 184, 255, 0.22);
  color: #0b80a8;
}

.btn-green {
  background: rgba(34, 181, 115, 0.12);
  border: 1px solid rgba(34, 181, 115, 0.20);
  color: #16885a;
}

.btn-red {
  background: rgba(228, 93, 111, 0.12);
  border: 1px solid rgba(228, 93, 111, 0.20);
  color: #b04251;
}

.table-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1400px) {
  .kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .toolbar-3 {
    grid-template-columns: 1fr;
  }

  .date-range {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .clock-panel {
    width: 100%;
    text-align: left;
  }

  .form-grid,
  .toolbar-3,
  .date-range,
  .mini-stat-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: 16px;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topbar h2 {
    font-size: 28px;
  }

  #live-clock {
    font-size: 22px;
  }

  .panel {
    padding: 16px;
  }

  thead th,
  tbody td {
    padding: 12px 8px;
    font-size: 12px;
  }
}

/* ================================
   GUEST CHECK-IN / KIOSK STYLES
================================ */

.kiosk-body {
  min-height: 100vh;
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 255, 0.14), transparent 24%),
    radial-gradient(circle at bottom right, rgba(76, 125, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
  color: var(--text);
}

.kiosk-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  padding: 28px;
}

.kiosk-left,
.kiosk-right {
  display: flex;
  align-items: center;
}

.kiosk-left {
  padding: 24px;
}

.kiosk-left h1 {
  font-size: 52px;
  line-height: 1.04;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.kiosk-brand {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(20, 184, 255, 0.10);
  border: 1px solid rgba(20, 184, 255, 0.18);
  color: #0e6fa8;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.kiosk-lead {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 28px;
}

.kiosk-points {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 620px;
}

.kiosk-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.70);
  box-shadow: var(--shadow);
}

.kiosk-point-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(20,184,255,0.14), rgba(76,125,255,0.12));
  border: 1px solid rgba(20,184,255,0.16);
  flex-shrink: 0;
  font-size: 20px;
}

.kiosk-point strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.kiosk-point span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.kiosk-card {
  width: 100%;
  max-width: 720px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,250,255,0.94));
  box-shadow: var(--shadow);
  padding: 28px;
}

.kiosk-card-head {
  margin-bottom: 20px;
}

.kiosk-card-head h2 {
  font-size: 30px;
  margin-bottom: 8px;
}

.kiosk-card-head p {
  color: var(--muted);
  font-size: 14px;
}

.kiosk-form {
  display: grid;
  gap: 16px;
}

.kiosk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.kiosk-actions {
  display: flex;
  justify-content: stretch;
}

.kiosk-submit-btn {
  width: 100%;
  padding: 15px 18px;
  border-radius: 16px;
  font-size: 15px;
}

.kiosk-alert {
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}

.kiosk-alert-error {
  background: rgba(228, 93, 111, 0.10);
  border: 1px solid rgba(228, 93, 111, 0.18);
  color: #b04251;
}

.kiosk-success-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.kiosk-success-card {
  width: 100%;
  max-width: 640px;
  padding: 36px 30px;
  text-align: center;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,255,0.95));
  box-shadow: var(--shadow);
}

.kiosk-success-icon {
  font-size: 56px;
  margin-bottom: 10px;
}

.kiosk-success-card h1 {
  font-size: 36px;
  margin-bottom: 14px;
}

.kiosk-success-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 18px;
}

.kiosk-ticket {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(20, 184, 255, 0.10);
  border: 1px solid rgba(20, 184, 255, 0.18);
  color: #0d5c95;
  font-weight: 700;
  margin-bottom: 16px;
}

.kiosk-success-subtext {
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.7;
}

.kiosk-back-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1100px) {
  .kiosk-shell {
    grid-template-columns: 1fr;
  }

  .kiosk-left {
    padding: 8px;
  }

  .kiosk-left h1 {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .kiosk-shell {
    padding: 16px;
  }

  .kiosk-grid {
    grid-template-columns: 1fr;
  }

  .kiosk-card {
    padding: 20px;
  }

  .kiosk-left h1 {
    font-size: 32px;
  }

  .kiosk-lead {
    font-size: 16px;
  }
}

/* =========================================
   ENHANCED GUEST CHECK-IN 4B
========================================= */

.kiosk-shell-enhanced {
  position: relative;
  z-index: 2;
}

.kiosk-left-enhanced {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
}

.kiosk-topline {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.kiosk-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 184, 255, 0.16);
  color: #3d5f84;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(96, 132, 177, 0.10);
  backdrop-filter: blur(10px);
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22b573;
  box-shadow: 0 0 0 0 rgba(34, 181, 115, 0.5);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 181, 115, 0.45);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(34, 181, 115, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 181, 115, 0);
  }
}

.kiosk-hero {
  width: 100%;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
}

.kiosk-logo-wrap {
  width: 180px;
  height: 180px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(240,248,255,0.92));
  border: 1px solid rgba(20, 184, 255, 0.14);
  box-shadow: 0 18px 40px rgba(96, 132, 177, 0.14);
  position: relative;
  overflow: hidden;
}

.kiosk-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(20,184,255,0.10), transparent 55%);
  animation: slowFloat 8s linear infinite;
}

@keyframes slowFloat {
  0% {
    transform: translate(-8px, -6px) rotate(0deg);
  }
  50% {
    transform: translate(8px, 6px) rotate(180deg);
  }
  100% {
    transform: translate(-8px, -6px) rotate(360deg);
  }
}

.kiosk-office-logo {
  width: 130px;
  height: 130px;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.kiosk-logo-fallback {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(20,184,255,0.14), rgba(76,125,255,0.12));
  border: 1px solid rgba(20,184,255,0.16);
  color: #0d5c95;
  font-weight: 800;
  position: relative;
  z-index: 2;
}

.kiosk-logo-fallback span {
  font-size: 22px;
  letter-spacing: 0.08em;
}

.kiosk-logo-fallback small {
  font-size: 12px;
  margin-top: 4px;
}

.kiosk-hero-copy {
  display: grid;
  gap: 16px;
}

.kiosk-highlight-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.kiosk-highlight-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(89, 123, 169, 0.12);
  box-shadow: 0 10px 24px rgba(96, 132, 177, 0.08);
}

.kiosk-highlight-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: #0f2c52;
}

.kiosk-highlight-item span {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.kiosk-points-enhanced {
  max-width: 100%;
  grid-template-columns: repeat(3, 1fr);
}

.kiosk-card-enhanced {
  position: relative;
  overflow: hidden;
}

.kiosk-card-enhanced::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(20,184,255,0.12), transparent 65%);
  pointer-events: none;
}

.kiosk-bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(76, 125, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 125, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.65), transparent 92%);
}

.kiosk-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.orb-1 {
  width: 180px;
  height: 180px;
  top: 12%;
  left: 8%;
  background: rgba(20, 184, 255, 0.18);
  animation: floatOrb1 10s ease-in-out infinite;
}

.orb-2 {
  width: 220px;
  height: 220px;
  bottom: 10%;
  left: 24%;
  background: rgba(76, 125, 255, 0.14);
  animation: floatOrb2 12s ease-in-out infinite;
}

.orb-3 {
  width: 160px;
  height: 160px;
  top: 20%;
  right: 10%;
  background: rgba(34, 181, 115, 0.10);
  animation: floatOrb3 11s ease-in-out infinite;
}

@keyframes floatOrb1 {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-18px) translateX(12px); }
}

@keyframes floatOrb2 {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(14px) translateX(-14px); }
}

@keyframes floatOrb3 {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-12px) translateX(-10px); }
}

@media (max-width: 1200px) {
  .kiosk-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .kiosk-logo-wrap {
    width: 150px;
    height: 150px;
  }

  .kiosk-office-logo {
    width: 110px;
    height: 110px;
  }

  .kiosk-highlight-bar,
  .kiosk-points-enhanced {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .kiosk-topline {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================
   4B POLISH: SUCCESS PAGE + NEW VISIT BADGE
========================================= */

.kiosk-success-card-elegant {
  max-width: 720px;
  position: relative;
  overflow: hidden;
}

.kiosk-success-card-elegant::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -90px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(20,184,255,0.12), transparent 65%);
  pointer-events: none;
}

.kiosk-success-logo-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(240,248,255,0.92));
  border: 1px solid rgba(20, 184, 255, 0.14);
  box-shadow: 0 14px 34px rgba(96, 132, 177, 0.12);
  position: relative;
  z-index: 2;
}

.kiosk-success-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.kiosk-success-message-box {
  margin: 18px 0 24px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(20, 184, 255, 0.08);
  border: 1px solid rgba(20, 184, 255, 0.14);
  color: #31587b;
  line-height: 1.7;
  font-weight: 600;
}

.kiosk-success-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.kiosk-success-primary,
.kiosk-success-secondary {
  text-decoration: none;
  min-width: 220px;
}

.new-visit-stack {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge.new-visit {
  color: #0b80a8;
  background: rgba(20, 184, 255, 0.12);
  border-color: rgba(20, 184, 255, 0.20);
}

.row-meta-note {
  display: inline-block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .kiosk-success-primary,
  .kiosk-success-secondary {
    width: 100%;
    min-width: unset;
  }
}

/* =========================================
   4C KIOSK DISPLAY + QR MODE
========================================= */

.kiosk-display-body {
  min-height: 100vh;
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 255, 0.14), transparent 24%),
    radial-gradient(circle at bottom right, rgba(76, 125, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
  color: var(--text);
  overflow: hidden;
}

.kiosk-display-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding: 32px;
  position: relative;
  z-index: 2;
}

.kiosk-display-left,
.kiosk-display-right {
  display: flex;
  align-items: center;
}

.kiosk-display-left {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
}

.kiosk-display-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.kiosk-display-hero {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
}

.kiosk-display-logo-wrap {
  width: 220px;
  height: 220px;
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(240,248,255,0.92));
  border: 1px solid rgba(20, 184, 255, 0.14);
  box-shadow: 0 18px 40px rgba(96, 132, 177, 0.14);
  position: relative;
  overflow: hidden;
}

.kiosk-display-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(20,184,255,0.10), transparent 55%);
  animation: slowFloat 8s linear infinite;
}

.kiosk-display-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.kiosk-display-copy {
  display: grid;
  gap: 18px;
}

.kiosk-display-copy h1 {
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: -1px;
}

.kiosk-display-copy p {
  font-size: 20px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 760px;
}

.kiosk-display-steps {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.kiosk-step-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(89, 123, 169, 0.12);
  box-shadow: 0 10px 24px rgba(96, 132, 177, 0.08);
}

.kiosk-step-no {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(20,184,255,0.14), rgba(76,125,255,0.12));
  color: #0f5b93;
  font-weight: 800;
  flex-shrink: 0;
}

.kiosk-step-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

.kiosk-step-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.qr-panel {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,250,255,0.94));
  box-shadow: var(--shadow);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.qr-panel::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(20,184,255,0.12), transparent 65%);
  pointer-events: none;
}

.qr-panel-head {
  text-align: center;
  margin-bottom: 18px;
}

.qr-panel-head h2 {
  font-size: 34px;
  margin-bottom: 8px;
}

.qr-panel-head p {
  color: var(--muted);
  font-size: 15px;
}

.qr-box {
  width: 100%;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(89, 123, 169, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  min-height: 360px;
}

.qr-image {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
}

.qr-box-fallback {
  flex-direction: column;
  gap: 10px;
  text-align: center;
  color: var(--muted);
}

.qr-fallback-icon {
  font-size: 42px;
}

.qr-link-box {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(20, 184, 255, 0.08);
  border: 1px solid rgba(20, 184, 255, 0.14);
  margin-bottom: 18px;
  word-break: break-word;
}

.qr-link-box span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.qr-link-box strong {
  font-size: 15px;
  color: #21496f;
  line-height: 1.7;
}

.qr-actions {
  display: flex;
  justify-content: center;
}

.qr-action-btn {
  width: 100%;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 1280px) {
  .kiosk-display-shell {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .kiosk-display-right {
    justify-content: center;
  }

  .qr-panel {
    margin-left: 0;
  }

  .kiosk-display-hero {
    grid-template-columns: 1fr;
  }

  .kiosk-display-logo-wrap {
    width: 180px;
    height: 180px;
  }

  .kiosk-display-logo {
    width: 130px;
    height: 130px;
  }

  .kiosk-display-copy h1 {
    font-size: 42px;
  }

  .kiosk-display-copy p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .kiosk-display-shell {
    padding: 16px;
  }

  .qr-box {
    min-height: 260px;
    padding: 16px;
  }

  .qr-image {
    max-width: 240px;
  }

  .kiosk-display-copy h1 {
    font-size: 32px;
  }

  .kiosk-display-copy p {
    font-size: 16px;
  }
}

.qr-actions-stack {
  display: grid;
  gap: 10px;
}

.qr-action-btn {
  width: 100%;
  text-align: center;
}

.kiosk-success-wrap-fixed {
  position: relative;
  z-index: 5;
}

.kiosk-success-card-fixed {
  position: relative;
  z-index: 6;
}

.kiosk-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 7;
  pointer-events: auto;
}

.kiosk-success-actions {
  position: relative;
  z-index: 7;
}

.kiosk-display-panel-4d {
  display: grid;
  gap: 18px;
}

.kiosk-display-footer-note {
  margin-top: 8px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(89, 123, 169, 0.12);
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(96, 132, 177, 0.08);
}

.kiosk-status-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.kiosk-status-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(89, 123, 169, 0.12);
}

.kiosk-status-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.kiosk-status-item strong {
  color: #1d446b;
  font-size: 15px;
}

.kiosk-hint-box {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(20, 184, 255, 0.08);
  border: 1px solid rgba(20, 184, 255, 0.14);
  color: #31587b;
  line-height: 1.7;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .kiosk-status-strip {
    grid-template-columns: 1fr;
  }
}

.kiosk-auto-return-box {
  margin: 0 0 24px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(34, 181, 115, 0.08);
  border: 1px solid rgba(34, 181, 115, 0.16);
  color: #2c6c55;
  line-height: 1.7;
  font-size: 15px;
  font-weight: 600;
}

.kiosk-auto-return-box strong {
  color: #16885a;
}

.kiosk-auto-return-box {
  margin: 0 0 24px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(34, 181, 115, 0.08);
  border: 1px solid rgba(34, 181, 115, 0.16);
  color: #2c6c55;
  line-height: 1.7;
  font-size: 15px;
  font-weight: 600;
}

.kiosk-auto-return-box strong {
  color: #16885a;
}

.kiosk-idle-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 255, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(76, 125, 255, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(247, 251, 255, 0.95) 0%, rgba(238, 246, 255, 0.98) 100%);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.kiosk-idle-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.kiosk-idle-card {
  width: 100%;
  max-width: 760px;
  padding: 36px 32px;
  border-radius: 32px;
  text-align: center;
  border: 1px solid rgba(89, 123, 169, 0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,250,255,0.94));
  box-shadow: 0 20px 48px rgba(96, 132, 177, 0.16);
  position: relative;
  overflow: hidden;
}

.kiosk-idle-card::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(20,184,255,0.12), transparent 65%);
  pointer-events: none;
}

.kiosk-idle-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(20, 184, 255, 0.10);
  border: 1px solid rgba(20, 184, 255, 0.18);
  color: #0e6fa8;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.kiosk-idle-clock {
  font-size: 84px;
  line-height: 1;
  font-weight: 800;
  color: #153a64;
  letter-spacing: -2px;
  margin-bottom: 10px;
}

.kiosk-idle-date {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.6;
}

.kiosk-idle-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.kiosk-idle-subtitle {
  max-width: 560px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.kiosk-idle-pulse-row {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.kiosk-idle-pulse-row span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(20, 184, 255, 0.55);
  animation: kioskIdlePulse 1.6s infinite ease-in-out;
}

.kiosk-idle-pulse-row span:nth-child(2) {
  animation-delay: 0.2s;
}

.kiosk-idle-pulse-row span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes kioskIdlePulse {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

body.idle-active .kiosk-display-shell {
  filter: blur(1px);
}

@media (max-width: 768px) {
  .kiosk-idle-card {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .kiosk-idle-clock {
    font-size: 56px;
  }

  .kiosk-idle-date {
    font-size: 16px;
  }

  .kiosk-idle-title {
    font-size: 26px;
  }

  .kiosk-idle-subtitle {
    font-size: 14px;
  }
}

.mini-stat-grid-3 {
  grid-template-columns: repeat(3, 220px);
}

.dashboard-status-grid {
  margin-bottom: 20px;
}

.employee-status-actions {
  max-width: 320px;
}

.emp-available {
  color: #16885a;
  background: rgba(34, 181, 115, 0.12);
  border-color: rgba(34, 181, 115, 0.20);
}

.emp-meeting {
  color: #0b80a8;
  background: rgba(20, 184, 255, 0.12);
  border-color: rgba(20, 184, 255, 0.18);
}

.emp-out {
  color: #9f7500;
  background: rgba(214, 162, 0, 0.12);
  border-color: rgba(214, 162, 0, 0.18);
}

.emp-trip {
  color: #6a59b5;
  background: rgba(106, 89, 181, 0.12);
  border-color: rgba(106, 89, 181, 0.18);
}

.emp-break {
  color: #7b6a2a;
  background: rgba(210, 180, 90, 0.14);
  border-color: rgba(210, 180, 90, 0.20);
}

.emp-unavailable {
  color: #b04251;
  background: rgba(228, 93, 111, 0.12);
  border-color: rgba(228, 93, 111, 0.18);
}

.employee-availability-inline {
  margin-top: 8px;
}

@media (max-width: 1100px) {
  .mini-stat-grid-3 {
    grid-template-columns: 1fr;
  }

  .employee-status-actions {
    max-width: unset;
  }
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 22px;
  overflow: hidden;
}

.brand-block {
  flex: 0 0 auto;
}

.nav-menu {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
  padding-top: 10px;
}

.sidebar-footer {
  margin-top: auto;
  flex: 0 0 auto;
}

.main-content {
  padding: 28px;
  min-height: 100vh;
}

.nav-item {
  position: relative;
  overflow: hidden;
}

.nav-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: transparent;
  transition: 0.2s ease;
}

.nav-item:hover::before,
.nav-item.active::before {
  background: linear-gradient(180deg, rgba(20, 184, 255, 0.9), rgba(76, 125, 255, 0.9));
}

@media (max-width: 1024px) {
  .sidebar {
    position: relative;
    height: auto;
  }

  .sidebar-footer {
    margin-top: 18px;
  }
}

.mini-stat-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.compact-status-grid {
  gap: 12px;
}

.compact-stat-card {
  padding: 14px 16px;
  border-radius: 16px;
}

.compact-stat-card span {
  font-size: 12px;
}

.compact-stat-card strong {
  font-size: 24px;
}

@media (max-width: 1100px) {
  .mini-stat-grid-2 {
    grid-template-columns: 1fr;
  }
}

.room-status-scroll {
  max-height: 320px;
  overflow-y: auto;
  padding-right: 6px;
}

.room-status-scroll::-webkit-scrollbar {
  width: 8px;
}

.room-status-scroll::-webkit-scrollbar-thumb {
  background: rgba(120, 150, 220, 0.35);
  border-radius: 999px;
}

.room-status-scroll::-webkit-scrollbar-track {
  background: transparent;
}
/* ===== Tombol Logout di sidebar ===== */
.sidebar-footer .status-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logout {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 9px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  transition: background 0.15s, transform 0.1s;
}

.nav-logout:hover {
  background: rgba(239, 68, 68, 0.24);
  transform: translateY(-1px);
}

/* ============================================================
   PENYEGARAN VISUAL (2026) — logo sidebar, KPI, tombol, footer
   Ditambahkan di akhir agar menimpa aturan sebelumnya.
   ============================================================ */

:root {
  --shadow: 0 10px 28px rgba(78, 116, 168, 0.14);
  --shadow-sm: 0 4px 14px rgba(78, 116, 168, 0.10);
  --radius-lg: 22px;
  --radius-md: 16px;
}

/* ---------- Sidebar: logo kantor + brand ---------- */
.brand-block {
  text-align: center;
  padding: 20px 16px 18px;
}
.brand-block::before {
  content: "";
  display: block;
  height: 62px;
  margin: 0 auto 12px;
  background: url("/static/logo-kantor.png") center / contain no-repeat;
}
.brand-block h1 {
  font-size: 17px;
  letter-spacing: 0.2px;
}
.brand-block p {
  font-size: 11.5px;
}

.nav-menu { gap: 8px; margin-top: 22px; }
.nav-item {
  padding: 12px 15px;
  border-radius: 14px;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-item.active {
  box-shadow: 0 6px 16px rgba(20, 184, 255, 0.18);
}

/* ---------- Sidebar footer + tombol Keluar ---------- */
.sidebar-footer {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  border: none;
  background: transparent;
  padding: 0;
}
.sidebar-footer .status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
}
.nav-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 0;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: #c53a4b;
  background: rgba(228, 93, 111, 0.10);
  border: 1px solid rgba(228, 93, 111, 0.30);
}
.nav-logout::before { content: "\2190"; font-size: 15px; }
.nav-logout:hover {
  background: rgba(228, 93, 111, 0.18);
  transform: translateY(-1px);
}

/* ---------- KPI cards: ikon + warna makna ---------- */
.kpi-grid { gap: 14px; }
.kpi-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.kpi-card::before {
  content: "";
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  line-height: 1;
}
.kpi-label { margin-bottom: 0; order: 2; }
.kpi-card h3 { order: 3; font-size: 34px; font-weight: 800; }

.kpi-grid .kpi-card:nth-child(1)::before { content: "\1F465"; background: rgba(76,125,255,0.12); }
.kpi-grid .kpi-card:nth-child(2)::before { content: "\23F3"; background: rgba(214,162,0,0.14); }
.kpi-grid .kpi-card:nth-child(3)::before { content: "\1F91D"; background: rgba(20,184,255,0.14); }
.kpi-grid .kpi-card:nth-child(4)::before { content: "\2705"; background: rgba(34,181,115,0.14); }
.kpi-grid .kpi-card:nth-child(5)::before { content: "\26D4"; background: rgba(228,93,111,0.14); }
.kpi-grid .kpi-card:nth-child(6)::before { content: "\1F9D1\200D\1F4BC"; background: rgba(76,125,255,0.12); }

.kpi-grid .kpi-card:nth-child(2) h3 { color: var(--yellow); }
.kpi-grid .kpi-card:nth-child(3) h3 { color: var(--cyan); }
.kpi-grid .kpi-card:nth-child(4) h3 { color: var(--green); }
.kpi-grid .kpi-card:nth-child(5) h3 { color: var(--red); }
.kpi-grid .kpi-card:nth-child(6) h3 { color: var(--blue); }

/* ---------- Mini stat (status pegawai) warna makna ---------- */
.dashboard-status-grid .mini-stat-card strong { font-weight: 800; }
.dashboard-status-grid .mini-stat-card:nth-child(1) strong { color: var(--green); }
.dashboard-status-grid .mini-stat-card:nth-child(2) strong { color: var(--cyan); }
.dashboard-status-grid .mini-stat-card:nth-child(3) strong { color: var(--red); }

/* ---------- Tombol aksi pegawai: grid rapi 3x2 ---------- */
.employee-status-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: 250px;
}
.employee-status-actions .btn-mini {
  width: 100%;
  text-align: center;
  padding: 7px 6px;
  font-size: 12px;
  border-radius: 9px;
}

/* ---------- Panel & tabel: konsistensi ---------- */
.panel {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.panel-header h3 { letter-spacing: 0.2px; }

/* ---------- Topbar: sedikit lebih lega ---------- */
.topbar { margin-bottom: 22px; }

/* Tombol aktif/nonaktif pegawai di kolom Status Aktif */
.emp-active-toggle {
  display: block;
  margin-top: 6px;
  width: fit-content;
  padding: 5px 9px;
  font-size: 11px;
  border-radius: 8px;
}
