:root {
  --c-success: #1e8e3e;
  --c-warning: #f9ab00;
  --c-danger: #d93025;
  --c-muted: #9aa0a6;
  --c-active: #1a73e8;
  --c-info: #1f6feb;
  --app-bg: #f1f5f9;
}

body {
  background: var(--app-bg);
  font-size: 0.95rem;
}

.app-container {
  max-width: 980px;
  margin: 0 auto;
}

.app-header-card {
  background: linear-gradient(120deg, #14532d, #16a34a);
  color: #fff;
  border-radius: 1rem;
  padding: 1rem;
}

.card-elevated {
  border-radius: 1rem;
  border: 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-weight: 600;
  font-size: 0.78rem;
}

.status-hijau { background: rgba(30, 142, 62, 0.12); color: var(--c-success); }
.status-kuning { background: rgba(249, 171, 0, 0.15); color: #a15c00; }
.status-merah { background: rgba(217, 48, 37, 0.12); color: var(--c-danger); }
.status-abu { background: rgba(154, 160, 166, 0.18); color: #4b5563; }
.status-biru { background: rgba(26, 115, 232, 0.14); color: var(--c-active); }

.slot-card {
  border-left: 6px solid transparent;
}

.slot-hijau { border-left-color: var(--c-success); }
.slot-kuning { border-left-color: var(--c-warning); }
.slot-merah { border-left-color: var(--c-danger); }
.slot-abu { border-left-color: var(--c-muted); }
.slot-biru { border-left-color: var(--c-active); }

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  z-index: 1030;
}

.bottom-nav .nav-item {
  text-decoration: none;
  color: #334155;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.25rem;
  font-size: 0.78rem;
}

.bottom-nav .nav-item i {
  font-size: 1.2rem;
  margin-bottom: 0.1rem;
}

.bottom-nav .nav-item.active {
  color: var(--c-active);
  font-weight: 700;
}

.btn-action {
  min-height: 48px;
  border-radius: 0.8rem;
  font-weight: 600;
}

.login-page {
  min-height: 100vh;
  background: linear-gradient(140deg, #dbeafe, #f0fdf4);
}

.mini-map {
  width: 100%;
  height: 220px;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  overflow: hidden;
  background: #eef2ff;
}

@media (min-width: 768px) {
  .bottom-nav {
    display: none;
  }
}
