/* assets/css/style.css */

:root {
  --zto-radius: 16px;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.card {
  border: 0;
  border-radius: var(--zto-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.btn {
  border-radius: 12px;
}

.progress {
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  font-weight: 600;
}

.container {
  max-width: 860px;
}

h1 {
  letter-spacing: -0.4px;
}

small, .text-secondary {
  line-height: 1.35;
}

/* Feed item look */
#feedList > div {
  border-radius: 14px;
}

/* ===== Mobile-first tweaks ===== */
@media (max-width: 576px) {
  body {
    font-size: 16px; /* nyaman dibaca */
  }

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .card-body {
    padding: 16px;
  }

  /* tombol full width dan gampang dipencet */
  .btn, .form-control, .form-select {
    min-height: 44px; /* thumb-friendly */
    font-size: 16px;  /* mencegah iOS zoom saat fokus input */
  }

  /* group tombol (misal Save/Hitung/Done) jadi stack */
  .d-flex.gap-2 {
    flex-wrap: wrap;
  }

  /* supaya tombol kecil tetap enak disentuh */
  .btn-sm {
    min-height: 40px;
    padding: 10px 12px;
  }

  /* feed */
  #feedList > div {
    padding: 14px !important;
  }
}

/* ===== Bottom Nav ===== */
.zto-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 10px 12px;
  z-index: 999;
}

.zto-bottom-nav .nav-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.zto-bottom-nav a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  color: #111;
  font-weight: 600;
}

.zto-bottom-nav a.active {
  border-color: rgba(0,0,0,0.18);
}

/* supaya konten tidak ketutup nav */
.zto-page-pad {
  padding-bottom: 90px;
}
