:root {
  --bg: #eef5ff;
  --bg-2: #f8fbff;
  --surface: rgba(255,255,255,.88);
  --surface-solid: #ffffff;
  --text: #102033;
  --muted: #667085;
  --line: #e4eaf3;
  --primary: #0ea5e9;
  --primary-dark: #0369a1;
  --secondary: #2563eb;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --violet: #7c3aed;
  --sidebar: #071526;
  --sidebar-2: #0d2542;
  --shadow: 0 22px 55px rgba(15, 35, 60, .10);
  --shadow-soft: 0 10px 28px rgba(15, 35, 60, .08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 4%, rgba(14,165,233,.22), transparent 30%),
    radial-gradient(circle at 85% 8%, rgba(37,99,235,.18), transparent 30%),
    linear-gradient(135deg, #eef7ff 0%, #f8fbff 45%, #eef5ff 100%);
  min-height: 100vh;
}

a { color: inherit; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 292px;
  min-height: 100vh;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 22px 18px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7,21,38,.98), rgba(13,37,66,.98)),
    radial-gradient(circle at top left, rgba(14,165,233,.25), transparent 36%);
  box-shadow: 14px 0 40px rgba(8, 20, 35, .18);
  overflow-y: auto;
  z-index: 20;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 99px; }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.brand-icon {
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 16px 30px rgba(14, 165, 233, .32);
  font-size: 21px;
}
.brand strong { display: block; font-size: 19px; letter-spacing: -.03em; }
.brand span { display: block; color: #9fb8d8; font-size: 12px; margin-top: 2px; }
.user-box {
  display: flex; gap: 12px; align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  margin-bottom: 22px;
}
.avatar {
  min-width: 44px; height: 44px; border-radius: 15px;
  display: grid; place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
}
.user-box strong { display: block; font-size: 14px; margin-bottom: 5px; }
.user-box small { display: block; color: #bfd1e7; line-height: 1.55; font-size: 12px; }
.user-box i { width: 15px; color: #7dd3fc; }
.menu { display: grid; gap: 8px; }
.menu a, .logout-card {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  padding: 12px 13px;
  border-radius: 16px;
  color: #dbeafe;
  font-weight: 600;
  font-size: 14px;
  transition: .2s ease;
}
.menu a i { width: 20px; color: #93c5fd; }
.menu a:hover, .menu a.active {
  background: linear-gradient(135deg, rgba(14,165,233,.22), rgba(37,99,235,.18));
  color: #fff;
  transform: translateX(3px);
  box-shadow: inset 4px 0 0 #38bdf8;
}
.logout-card {
  margin-top: 18px;
  border: 1px solid rgba(248,113,113,.22);
  background: rgba(239,68,68,.10);
  color: #fecaca;
}
.logout-card:hover { background: rgba(239,68,68,.18); transform: translateY(-1px); }
.main-panel {
  margin-left: 292px;
  width: calc(100% - 292px);
  min-height: 100vh;
  padding: 26px;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}
.eyebrow { margin: 0 0 5px; color: var(--primary-dark); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 12px; }
h1 { margin: 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; }
h2 { margin: 0 0 14px; font-size: 20px; letter-spacing: -.02em; }
h3 { margin: 0 0 10px; font-size: 16px; }
p { color: var(--muted); line-height: 1.75; }
.top-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: #475467;
  font-weight: 700;
  font-size: 13px;
}
.pill.accent { color: #075985; background: #e0f2fe; border-color: #bae6fd; }
.content-area { display: grid; gap: 18px; }
.card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  margin-bottom: 0;
}
.card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.card-header p { margin: 4px 0 0; }
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat {
  position: relative;
  overflow: hidden;
  min-height: 150px;
}
.stat::after {
  content: '';
  position: absolute;
  right: -36px; top: -36px;
  width: 112px; height: 112px;
  border-radius: 999px;
  background: rgba(14,165,233,.12);
}
.stat-icon {
  width: 46px; height: 46px; border-radius: 16px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 14px 28px rgba(14,165,233,.25);
  margin-bottom: 14px;
}
.stat.green .stat-icon { background: linear-gradient(135deg, #10b981, #059669); }
.stat.orange .stat-icon { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.stat.violet .stat-icon { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.stat strong { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.stat h2 { font-size: 32px; margin: 7px 0 0; letter-spacing: -.05em; }
.stat small { color: var(--muted); font-weight: 600; }
.hero-card {
  display: grid;
  grid-template-columns: 1.5fr .9fr;
  gap: 20px;
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(14,165,233,.14), rgba(37,99,235,.08)),
    rgba(255,255,255,.86);
}
.hero-visual {
  border-radius: 22px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, #0284c7, #1d4ed8 55%, #7c3aed);
  position: relative;
  overflow: hidden;
  min-height: 180px;
}
.hero-visual::before, .hero-visual::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
}
.hero-visual::before { width: 190px; height: 190px; right: -70px; top: -70px; }
.hero-visual::after { width: 120px; height: 120px; right: 70px; bottom: -50px; }
.hero-visual i { font-size: 48px; margin-bottom: 18px; }
.hero-visual h2, .hero-visual p { color: #fff; position: relative; z-index: 1; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-full { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.input-wrap { position: relative; }
.input-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #94a3b8; pointer-events: none; }
.input-wrap input, .input-wrap select { padding-left: 42px; }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #d8e1ee;
  border-radius: 15px;
  font-size: 14px;
  color: var(--text);
  background: rgba(255,255,255,.92);
  outline: none;
  transition: .2s ease;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(14,165,233,.13);
  background: #fff;
}
input[readonly], input[disabled] { background: #f3f7fb; color: #64748b; cursor: not-allowed; }
textarea { min-height: 88px; resize: vertical; }
button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px;
  border: none;
  text-decoration: none;
  padding: 11px 16px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 12px 24px rgba(37,99,235,.20);
  transition: .2s ease;
  font-family: inherit;
}
button:hover, .btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(37,99,235,.25); }
.btn-danger { background: linear-gradient(135deg, #fb7185, #ef4444); box-shadow: 0 12px 24px rgba(239,68,68,.18); }
.btn-success { background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 12px 24px rgba(16,185,129,.20); }
.btn-warning { background: linear-gradient(135deg, #fbbf24, #f97316); box-shadow: 0 12px 24px rgba(249,115,22,.18); }
.btn-soft { color: #075985; background: #e0f2fe; box-shadow: none; border: 1px solid #bae6fd; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.badge.info { background: #dbeafe; color: #1d4ed8; }
.badge.warn { background: #fef3c7; color: #92400e; }
.alert {
  padding: 14px 16px;
  border-radius: 16px;
  margin-bottom: 0;
  font-weight: 700;
}
.alert-error { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }
.table-responsive { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 920px; }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 14px 15px; vertical-align: middle; }
th {
  background: #f8fbff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #64748b;
  font-weight: 800;
}
tbody tr { transition: .15s ease; }
tbody tr:hover { background: #f8fbff; }
tbody tr:last-child td { border-bottom: none; }
.company-cell { display: flex; align-items: center; gap: 10px; }
.company-icon {
  width: 38px; height: 38px; border-radius: 13px;
  display: grid; place-items: center;
  color: #0369a1;
  background: #e0f2fe;
  flex: 0 0 auto;
}
.text-muted { color: var(--muted); }
.map-real { height: 560px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.leaflet-popup-content-wrapper { border-radius: 16px; }
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 10%, rgba(56,189,248,.35), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(124,58,237,.25), transparent 30%),
    linear-gradient(135deg, #071526, #0d2542 48%, #075985);
}
.login-card {
  width: 100%;
  max-width: 460px;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  backdrop-filter: blur(18px);
}
.login-logo {
  width: 58px; height: 58px; border-radius: 20px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 18px 36px rgba(14,165,233,.30);
  font-size: 24px;
  margin-bottom: 18px;
}
.login-card h1 { margin-bottom: 8px; }
.login-card form { display: grid; gap: 12px; margin-top: 20px; }
.login-help { margin-top: 18px; padding: 14px; background: #f1f8ff; border: 1px solid #dbeafe; border-radius: 16px; font-size: 13px; line-height: 1.7; color: #475569; }
@media (max-width: 1180px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .app-shell { display: block; }
  .sidebar {
    position: sticky;
    top: 0;
    width: 100%;
    min-height: auto;
    padding: 12px;
    border-radius: 0 0 24px 24px;
  }
  .brand { margin-bottom: 12px; }
  .brand-icon { width: 40px; height: 40px; border-radius: 13px; }
  .user-box, .logout-card { display: none; }
  .menu { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 3px; }
  .menu a { white-space: nowrap; margin: 0; min-width: max-content; }
  .menu a:hover, .menu a.active { transform: none; box-shadow: inset 0 -3px 0 #38bdf8; }
  .main-panel { margin-left: 0; width: 100%; padding: 14px; }
  .topbar { display: block; padding: 18px; }
  .top-actions { justify-content: flex-start; margin-top: 14px; }
  .grid-4, .grid-3, .form-grid { grid-template-columns: 1fr; }
  .card { padding: 16px; border-radius: 20px; }
  .map-real { height: 430px; }
  table { min-width: 860px; }
}
@media (max-width: 520px) {
  .login-card { padding: 22px; border-radius: 24px; }
  .stat h2 { font-size: 28px; }
  button, .btn { width: 100%; }
  .form-actions { display: grid; }
}
@media print {
  body { background: #fff; }
  .sidebar, .topbar, form, .btn, button { display: none !important; }
  .main-panel { margin: 0; width: 100%; padding: 0; }
  .card { box-shadow: none; border: 1px solid #ddd; border-radius: 0; }
  .table-responsive { border: 0; }
}

.dashboard-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(14,165,233,.16), rgba(124,58,237,.08)),
    rgba(255,255,255,.88);
}
.dashboard-toolbar h2 { margin: 12px 0 6px; }
.dashboard-toolbar p { margin: 0; }
.period-form {
  min-width: 250px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.period-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.dashboard-charts {
  grid-template-columns: 1.2fr .8fr;
  align-items: stretch;
}
.chart-wide { grid-row: span 2; }
.chart-card h2 i { color: var(--primary); margin-right: 8px; }
.chart-wrap {
  position: relative;
  height: 390px;
  padding: 6px 4px 0;
}
.chart-wrap.small { height: 270px; }
.grid-2-custom {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}
.region-list, .operator-list { display: grid; gap: 13px; }
.region-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(248,251,255,.88));
}
.region-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.region-top strong { display: block; font-size: 15px; }
.region-top small { display: block; margin-top: 4px; color: var(--muted); font-weight: 700; }
.progress-track {
  width: 100%;
  height: 11px;
  border-radius: 999px;
  overflow: hidden;
  background: #e2e8f0;
  box-shadow: inset 0 1px 2px rgba(15,23,42,.10);
}
.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0ea5e9, #2563eb, #7c3aed);
  box-shadow: 0 8px 18px rgba(37,99,235,.25);
}
.region-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 11px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}
.region-meta i { color: var(--primary); }
.operator-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: .18s ease;
}
.operator-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.operator-avatar {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
}
.operator-info strong, .operator-info small,
.operator-score strong, .operator-score small { display: block; }
.operator-info small { margin-top: 4px; color: var(--muted); font-weight: 700; }
.operator-score {
  min-width: 78px;
  padding: 9px 10px;
  text-align: center;
  border-radius: 16px;
  background: #eff6ff;
  color: #1d4ed8;
}
.operator-score strong { font-size: 18px; }
.operator-score small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.water-score { background: #ecfdf5; color: #047857; }
@media (max-width: 1180px) {
  .dashboard-charts, .grid-2-custom { grid-template-columns: 1fr; }
  .chart-wide { grid-row: auto; }
}
@media (max-width: 760px) {
  .dashboard-toolbar { display: block; }
  .period-form { min-width: 0; margin-top: 16px; }
  .chart-wrap, .chart-wrap.small { height: 320px; }
  .operator-item { grid-template-columns: 42px 1fr; }
  .operator-score { grid-column: span 1; }
}

.field-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(240,249,255,.70));
}
.field-panel-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  font-weight: 800;
  color: #0f172a;
}
.field-panel-title i { color: var(--primary); }
.upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.upload-card {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 150px;
  padding: 18px;
  border: 1.5px dashed #93c5fd;
  border-radius: 20px;
  background: #ffffff;
  cursor: pointer;
  transition: .2s ease;
}
.upload-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
  background: #f8fbff;
}
.upload-card > i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-size: 22px;
  margin-bottom: 10px;
}
.upload-card strong { display: block; font-size: 14px; }
.upload-card span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.upload-card input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-preview {
  min-height: 150px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #f8fbff, #eef7ff);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  padding: 12px;
  overflow: hidden;
}
.photo-preview i { font-size: 28px; color: #94a3b8; margin-bottom: 7px; }
.photo-preview img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.photo-preview.has-image { display: block; background: #fff; }
.photo-preview.has-image span { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; color: #475569; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hint { display: block; margin-top: 11px; color: #64748b; font-weight: 650; line-height: 1.6; }
.hint i { color: var(--primary); }
.geo-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.geo-status {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border-radius: 15px;
  border: 1px solid #dbeafe;
  color: #1d4ed8;
  background: #eff6ff;
  font-weight: 800;
}
.geo-status.success { background: #ecfdf5; border-color: #bbf7d0; color: #047857; }
.geo-status.danger { background: #fff1f2; border-color: #fecdd3; color: #be123c; }
.geo-status.loading { background: #fefce8; border-color: #fde68a; color: #92400e; }
.thumb-link, .report-photo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #075985;
  font-weight: 800;
}
.thumb-link img {
  width: 54px;
  height: 44px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #dbeafe;
  box-shadow: var(--shadow-soft);
}
.report-photo img {
  width: 70px;
  height: 54px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid #dbeafe;
}
.btn-mini {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 12px;
  font-size: 12px;
  width: auto;
}
.coord-text {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .upload-grid, .geo-grid { grid-template-columns: 1fr; }
  .upload-card, .photo-preview { min-height: 132px; }
}
@media print {
  .thumb-link img, .report-photo img { max-width: 80px; max-height: 60px; }
  .coord-text { white-space: normal; }
}

.alert-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.action-group { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.action-group .btn { white-space: nowrap; }
@media (max-width: 520px) {
  .action-group { display: grid; }
}

/* === Sidebar refinement: clean modern menu, profile dipindah ke bawah === */
.sidebar {
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 16px;
  background:
    radial-gradient(circle at 18% 0%, rgba(56,189,248,.22), transparent 32%),
    radial-gradient(circle at 88% 16%, rgba(99,102,241,.20), transparent 30%),
    linear-gradient(180deg, #061427 0%, #0b1f3a 50%, #071526 100%);
  border-right: 1px solid rgba(255,255,255,.08);
}
.brand {
  margin: 0 0 4px;
  padding: 10px 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: linear-gradient(135deg, #06b6d4, #2563eb 55%, #7c3aed);
}
.brand strong { font-size: 18px; letter-spacing: .08em; }
.brand span { color: #b8d7ff; font-weight: 600; }
.user-box { display: none; }
.menu {
  display: grid;
  gap: 8px;
  padding: 4px 0;
}
.menu a {
  position: relative;
  min-height: 48px;
  padding: 13px 14px;
  border-radius: 17px;
  color: #cfe7ff;
  background: transparent;
  border: 1px solid transparent;
}
.menu a i {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  color: #7dd3fc;
  font-size: 16px;
}
.menu a:hover {
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.10);
  transform: translateX(0);
  box-shadow: none;
}
.menu a.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(14,165,233,.35), rgba(37,99,235,.28));
  border-color: rgba(125,211,252,.30);
  box-shadow: 0 14px 28px rgba(2,132,199,.18), inset 0 0 0 1px rgba(255,255,255,.05);
  transform: translateX(0);
}
.menu a.active::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 11px;
  bottom: 11px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: #38bdf8;
  box-shadow: 0 0 18px rgba(56,189,248,.75);
}
.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.profile-mini {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
}
.profile-mini .avatar {
  min-width: 42px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
}
.profile-mini strong {
  display: block;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  max-width: 168px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.profile-mini small {
  display: block;
  color: #b9d4ee;
  font-size: 11px;
  line-height: 1.45;
  max-width: 168px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.logout-card {
  margin-top: 0;
  min-height: 44px;
  justify-content: center;
  border-radius: 16px;
  background: rgba(239,68,68,.12);
  border-color: rgba(248,113,113,.24);
}
.logout-card:hover {
  background: rgba(239,68,68,.22);
  transform: translateY(-1px);
}
.main-panel {
  margin-left: 280px;
  width: calc(100% - 280px);
}
.topbar { padding: 18px 22px; }

@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    min-height: auto;
    position: sticky;
    top: 0;
    padding: 12px;
    gap: 10px;
  }
  .brand {
    padding: 4px 4px 10px;
    margin: 0;
  }
  .brand-icon { width: 38px; height: 38px; border-radius: 13px; }
  .menu {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
  }
  .menu a {
    min-height: 42px;
    min-width: max-content;
    padding: 10px 12px;
    white-space: nowrap;
  }
  .menu a.active::before { display: none; }
  .sidebar-footer { display: none; }
  .main-panel {
    margin-left: 0;
    width: 100%;
  }
}


/* === Sidebar attractive variation: highlight card before Dashboard menu === */
.sidebar-highlight {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(14,165,233,.24), rgba(124,58,237,.16)),
    rgba(255,255,255,.075);
  border: 1px solid rgba(125,211,252,.22);
  box-shadow: 0 18px 38px rgba(2,132,199,.16), inset 0 1px 0 rgba(255,255,255,.10);
  isolation: isolate;
}
.sidebar-highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.22), transparent 28%),
    radial-gradient(circle at 94% 20%, rgba(34,197,94,.20), transparent 30%);
  pointer-events: none;
  z-index: -1;
}
.highlight-glow {
  position: absolute;
  width: 110px;
  height: 110px;
  right: -48px;
  bottom: -54px;
  border-radius: 999px;
  background: rgba(56,189,248,.22);
  filter: blur(1px);
  z-index: -1;
}
.highlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.highlight-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #22c55e, #06b6d4 55%, #2563eb);
  box-shadow: 0 14px 28px rgba(14,165,233,.24);
}
.highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #bbf7d0;
  background: rgba(34,197,94,.14);
  border: 1px solid rgba(134,239,172,.24);
  font-size: 11px;
  font-weight: 850;
}
.sidebar-highlight strong {
  display: block;
  color: #ffffff;
  font-size: 15px;
  letter-spacing: -.02em;
  margin-bottom: 5px;
}
.sidebar-highlight small {
  display: block;
  color: #c7ddf4;
  font-weight: 700;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.highlight-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 13px;
}
.highlight-meta span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 7px;
  border-radius: 14px;
  color: #e0f2fe;
  background: rgba(255,255,255,.085);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 11px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.highlight-meta i { color: #7dd3fc; }
.menu-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  color: #8fbce8;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.menu-label i {
  color: rgba(147,197,253,.72);
  letter-spacing: .18em;
}
.menu-label + .menu { margin-top: -8px; }

@media (max-width: 768px) {
  .sidebar-highlight, .menu-label { display: none; }
}

/* === FINAL MOBILE POLISH: sidebar, login, pencatatan meter === */
.mobile-shellbar, .sidebar-backdrop, .sidebar-close { display: none; }
.btn-success { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 12px 24px rgba(16,185,129,.20); }
.btn-soft { color: #075985; background: #e0f2fe; border: 1px solid #bae6fd; box-shadow: none; }
.btn-soft:hover { box-shadow: 0 10px 20px rgba(14,165,233,.12); }

/* Login lebih modern */
.modern-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 42px);
  background:
    radial-gradient(circle at 12% 10%, rgba(14,165,233,.35), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(124,58,237,.28), transparent 30%),
    linear-gradient(135deg, #061427 0%, #0b2a4a 42%, #f2f8ff 42%, #f8fbff 100%);
}
.login-layout {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .72fr);
  gap: 24px;
  align-items: stretch;
}
.login-showcase, .login-card-modern {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 30px 70px rgba(2, 20, 40, .20);
}
.login-showcase {
  min-height: 560px;
  padding: clamp(28px, 5vw, 54px);
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(125,211,252,.32), transparent 30%),
    linear-gradient(145deg, rgba(6,20,39,.94), rgba(14,72,118,.94) 58%, rgba(30,64,175,.94));
  isolation: isolate;
}
.login-showcase::after {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  border: 46px solid rgba(255,255,255,.08);
  z-index: -1;
}
.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #dff7ff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  font-weight: 800;
  font-size: 13px;
}
.showcase-logo {
  width: 76px;
  height: 76px;
  margin: 54px 0 20px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: linear-gradient(135deg, #06b6d4, #2563eb 55%, #8b5cf6);
  font-size: 34px;
  box-shadow: 0 22px 44px rgba(14,165,233,.28);
}
.login-showcase h1 {
  color: #fff;
  font-size: clamp(42px, 6vw, 70px);
  line-height: .98;
  letter-spacing: -.07em;
}
.login-showcase h1 span { color: #bae6fd; }
.login-showcase p { max-width: 540px; color: #d8ecff; font-weight: 600; }
.showcase-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}
.showcase-stats div {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.14);
}
.showcase-stats strong { display: block; font-size: 24px; }
.showcase-stats span { color: #cce9ff; font-size: 12px; font-weight: 800; }
.water-orbit { position: absolute; border-radius: 999px; background: rgba(125,211,252,.16); filter: blur(.5px); }
.water-orbit.one { width: 140px; height: 140px; right: 90px; top: 82px; }
.water-orbit.two { width: 84px; height: 84px; right: 250px; bottom: 120px; background: rgba(34,197,94,.14); }
.login-card-modern {
  align-self: center;
  padding: clamp(24px, 4vw, 34px);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
}
.login-head { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.login-head .login-logo { margin: 0; width: 54px; height: 54px; border-radius: 18px; font-size: 22px; }
.login-card-modern h2 { margin: 0; font-size: 30px; letter-spacing: -.05em; }
.login-subtitle { margin: 8px 0 22px; }
.login-form-modern { display: grid; gap: 14px; }
.login-field > span {
  display: block;
  margin: 0 0 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 850;
}
.password-wrap input { padding-right: 52px; }
.password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 12px;
  background: #eef6ff;
  color: #0f172a;
  box-shadow: none;
}
.password-toggle:hover { transform: translateY(-50%); box-shadow: none; }
.login-submit { width: 100%; min-height: 52px; margin-top: 4px; border-radius: 17px; font-size: 15px; }
.modern-help {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 18px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #075985;
}
.modern-help span { font-size: 12px; font-weight: 700; }

/* Pencatatan meter proporsional */
.meter-page { display: grid; gap: 18px; }
.meter-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background:
    radial-gradient(circle at 94% 18%, rgba(14,165,233,.22), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(239,246,255,.88));
}
.meter-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #0369a1;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.meter-hero h2 { font-size: clamp(23px, 3vw, 34px); margin-bottom: 6px; }
.meter-hero p { max-width: 760px; margin: 0; }
.meter-hero-icon {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  color: #fff;
  font-size: 38px;
  background: linear-gradient(135deg, #06b6d4, #2563eb 60%, #7c3aed);
  box-shadow: 0 20px 42px rgba(37,99,235,.22);
}
.meter-form-card { padding: clamp(16px, 2.4vw, 24px); }
.meter-form { gap: 16px; }
.field-label { display: grid; gap: 8px; }
.field-label > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 850;
}
.field-label > span i { color: var(--primary); }
.field-label input, .field-label select, .field-label textarea { min-height: 50px; }
.meter-number-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.meter-number-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 22px;
  background: #f8fbff;
  border: 1px solid #dbeafe;
}
.meter-number-card::after {
  content: '';
  position: absolute;
  right: -26px;
  top: -28px;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: rgba(14,165,233,.11);
}
.meter-number-card span { color: #475569; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.meter-number-card input {
  position: relative;
  z-index: 1;
  min-height: 58px;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
  background: transparent !important;
  color: #0f172a;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -.05em;
}
.meter-number-card small { color: #64748b; font-weight: 700; }
.meter-number-card.primary { background: linear-gradient(135deg, #eff6ff, #e0f2fe); border-color: #93c5fd; }
.meter-number-card.result { background: linear-gradient(135deg, #ecfdf5, #f0fdf4); border-color: #bbf7d0; }
.meter-number-card.result input { color: #047857; }
.meter-upload-panel, .location-panel { padding: clamp(14px, 2vw, 18px); }
.meter-upload-grid { grid-template-columns: .9fr .9fr 1.1fr; }
.camera-card > i { background: linear-gradient(135deg, #10b981, #0ea5e9); }
.gallery-card > i { background: linear-gradient(135deg, #8b5cf6, #2563eb); }
.location-btn { min-height: 48px; }
.meter-actions { position: sticky; bottom: 12px; z-index: 7; justify-content: flex-end; padding-top: 4px; }
.save-meter-btn { min-width: 230px; min-height: 50px; border-radius: 17px; }
.history-card { overflow: hidden; }

/* Mobile card table */
@media (max-width: 860px) {
  .mobile-shellbar {
    position: sticky;
    top: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(248,251,255,.92);
    border-bottom: 1px solid rgba(203,213,225,.7);
    backdrop-filter: blur(16px);
  }
  .mobile-menu-btn, .mobile-logout, .sidebar-close {
    width: 46px;
    min-height: 46px;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(15,23,42,.08);
  }
  .mobile-shellbrand { min-width: 0; }
  .mobile-shellbrand span { display: block; font-weight: 950; letter-spacing: .08em; color: #0f172a; }
  .mobile-shellbrand small { display: block; color: #64748b; font-weight: 800; font-size: 11px; }
  .mobile-logout { display: grid; place-items: center; text-decoration: none; color: #be123c; background: #fff1f2; border: 1px solid #fecdd3; }
  .sidebar-backdrop.is-show {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2,6,23,.52);
    z-index: 70;
    backdrop-filter: blur(3px);
  }
  .sidebar {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    width: min(86vw, 320px) !important;
    min-height: 100vh !important;
    transform: translateX(-105%);
    transition: transform .24s ease;
    z-index: 80;
    padding: 18px 14px 16px !important;
    gap: 14px !important;
    overflow-y: auto;
  }
  .sidebar.is-open { transform: translateX(0); }
  body.sidebar-open { overflow: hidden; }
  .sidebar-close {
    display: grid;
    place-items: center;
    position: absolute;
    right: 14px;
    top: 14px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    box-shadow: none;
  }
  .brand { padding-right: 56px !important; }
  .sidebar-highlight, .menu-label { display: block !important; }
  .menu-label { display: flex !important; }
  .menu { display: grid !important; overflow: visible !important; }
  .menu a { min-width: 0 !important; white-space: normal !important; min-height: 48px !important; }
  .sidebar-footer { display: grid !important; }
  .main-panel { margin-left: 0 !important; width: 100% !important; padding: 14px !important; }
  .topbar { display: block; padding: 16px; margin-bottom: 14px; }
  .topbar .top-actions { justify-content: flex-start; margin-top: 12px; }
  .grid-4, .grid-3, .form-grid { grid-template-columns: 1fr !important; }
  .card { border-radius: 22px; padding: 16px; }
  .card-header, .meter-card-header { display: grid; gap: 10px; }
  .meter-hero { grid-template-columns: 1fr; padding: 18px; }
  .meter-hero-icon { width: 64px; height: 64px; border-radius: 22px; font-size: 26px; order: -1; }
  .meter-number-grid { grid-template-columns: 1fr; gap: 12px; }
  .meter-number-card { padding: 14px; border-radius: 20px; }
  .meter-number-card input { min-height: 46px; font-size: 28px; }
  .meter-upload-grid, .upload-grid, .geo-grid { grid-template-columns: 1fr !important; }
  .upload-card { min-height: 118px; padding: 14px; }
  .upload-card > i { width: 46px; height: 46px; border-radius: 16px; }
  .photo-preview { min-height: 118px; }
  .photo-preview img { height: 168px; }
  .location-btn, .geo-status, .save-meter-btn { width: 100%; }
  .meter-actions { bottom: 8px; background: linear-gradient(180deg, rgba(248,251,255,0), rgba(248,251,255,.96) 22%); padding: 18px 0 2px; }
  .mobile-card-table { overflow: visible; }
  .mobile-card-table table, .mobile-card-table thead, .mobile-card-table tbody, .mobile-card-table th, .mobile-card-table td, .mobile-card-table tr { display: block; width: 100%; }
  .mobile-card-table thead { display: none; }
  .mobile-card-table tbody { display: grid; gap: 12px; }
  .mobile-card-table tr {
    padding: 14px;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
  }
  .mobile-card-table td {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px dashed #e2e8f0;
    text-align: right;
  }
  .mobile-card-table td:last-child { border-bottom: 0; }
  .mobile-card-table td::before {
    content: attr(data-label);
    text-align: left;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
  }
  .mobile-card-table .company-cell { justify-content: flex-end; }
  .coord-text { white-space: normal; text-align: right; }
}

@media (max-width: 520px) {
  body { background: linear-gradient(180deg, #eff7ff, #f8fbff); }
  .content-area { gap: 14px; }
  .main-panel { padding: 10px !important; }
  .topbar h1 { font-size: 24px; }
  .pill { width: 100%; justify-content: center; }
  input, select, textarea { min-height: 48px; font-size: 14px; border-radius: 14px; }
  .meter-hero p, .card-header p { font-size: 13px; line-height: 1.6; }
  .field-panel { border-radius: 18px; }
  .mobile-card-table td { grid-template-columns: 102px minmax(0, 1fr); font-size: 13px; }
}

@media (max-width: 920px) {
  .login-layout { grid-template-columns: 1fr; gap: 16px; }
  .login-showcase { min-height: auto; padding: 28px; }
  .showcase-logo { margin: 28px 0 16px; }
  .login-card-modern { width: 100%; }
}
@media (max-width: 560px) {
  .modern-login-page { padding: 12px; background: linear-gradient(180deg, #061427 0%, #0b2a4a 34%, #f8fbff 34%, #f8fbff 100%); }
  .login-showcase { padding: 22px; border-radius: 26px; }
  .login-showcase h1 { font-size: 38px; }
  .login-showcase p { font-size: 13px; line-height: 1.6; }
  .showcase-stats { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
  .showcase-stats div { padding: 12px; }
  .login-card-modern { padding: 20px; border-radius: 26px; }
  .login-card-modern h2 { font-size: 25px; }
}


/* FIX: kolom input nilai water meter dibuat jelas dan proporsional */
.meter-input-section{
  padding:18px;
  border-radius:24px;
  border:1px solid #dbeafe;
  background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(239,246,255,.88));
  box-shadow:0 18px 40px rgba(15,23,42,.06);
}
.meter-input-title{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.meter-input-title h3{
  margin:0;
  display:flex;
  align-items:center;
  gap:10px;
  color:#0f172a;
  font-size:18px;
  font-weight:950;
}
.meter-input-title h3 i{color:#0284c7;}
.meter-input-title p{margin:5px 0 0;color:#64748b;font-weight:700;line-height:1.55;}
.mini-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:9px 12px;
  border-radius:999px;
  background:#e0f2fe;
  color:#075985;
  border:1px solid #bae6fd;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}
.meter-number-card{
  overflow:visible !important;
}
.meter-number-card::after{
  z-index:0;
}
.meter-number-card span,
.meter-number-card small,
.meter-input-box{
  position:relative;
  z-index:2;
}
.meter-input-box{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-height:62px;
  padding:8px 14px;
  border-radius:18px;
  background:#fff;
  border:2px solid #cbd5e1;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 10px 22px rgba(15,23,42,.06);
}
.meter-input-box input{
  width:100% !important;
  min-height:46px !important;
  padding:0 !important;
  border:0 !important;
  outline:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  font-size:24px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  letter-spacing:0 !important;
  color:#0f172a !important;
}
.meter-input-box input::placeholder{
  color:#94a3b8;
  font-size:16px;
  font-weight:800;
}
.meter-input-box em{
  font-style:normal;
  padding:7px 10px;
  border-radius:12px;
  background:#f1f5f9;
  color:#475569;
  font-size:13px;
  font-weight:950;
}
.input-focus-box{
  border-color:#0ea5e9;
  background:#ffffff;
  box-shadow:0 0 0 4px rgba(14,165,233,.12),0 14px 30px rgba(14,165,233,.14);
}
.input-focus-box:focus-within{
  border-color:#2563eb;
  box-shadow:0 0 0 5px rgba(37,99,235,.16),0 16px 32px rgba(37,99,235,.18);
}
.readonly-box{background:#f8fafc;border-color:#e2e8f0;}
.result-box{background:#ecfdf5;border-color:#86efac;}
.result-box input{color:#047857 !important;}
@media (max-width:860px){
  .meter-input-section{padding:14px;border-radius:20px;}
  .meter-input-title{display:grid;gap:10px;}
  .mini-badge{width:max-content;}
  .meter-input-box{min-height:66px;padding:9px 13px;border-radius:17px;}
  .meter-input-box input{font-size:25px !important;}
  .meter-input-box input::placeholder{font-size:14px;}
}
@media (max-width:520px){
  .meter-input-title h3{font-size:16px;}
  .meter-input-title p{font-size:12px;}
  .meter-input-box{grid-template-columns:minmax(0,1fr) 42px;}
  .meter-input-box input{font-size:22px !important;}
  .meter-number-card.primary{border-color:#38bdf8;}
}
