:root{
  --brand:#2563eb;        /* biru utama */
  --brand-soft:#eaf0ff;   /* biru muda card */
}

.btn-soft-primary{
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid rgba(37,99,235,.15);
}
.btn-soft-primary:hover{
  background: #dbe6ff;
  color: var(--brand);
}

header.bg-primary{
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

/* Bottom navigation */
.app-bottom-nav{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 64px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  text-align: center;
  z-index: 1030;
}
.app-bottom-nav .nav-link{
  font-size: 12px;
  padding-top: 8px;
  color: #6b7280;
  text-decoration: none;
}
.app-bottom-nav .nav-link i{
  display:block;
  font-size: 18px;
  margin-bottom: 2px;
}
.app-bottom-nav .nav-link.active{
  color: var(--brand);
  font-weight: 600;
}

/* Utilities */
.rounded-4{ border-radius: 1rem !important; }
.app-bottom-nav {
  display: flex;
  justify-content: space-around;
  padding: 6px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1000;
}

.app-bottom-nav .nav-link {
  text-align: center;
  color: #6c757d;
  text-decoration: none;
  flex: 1;
}

.app-bottom-nav .nav-link.active {
  color: #0d6efd;
  font-weight: 600;
}

.app-bottom-nav .nav-link i {
  display: block;
  font-size: 1.3rem;
}
/* PWA POPUP STYLE */
.pwa-popup.hidden { display: none; }
.pwa-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
}

.pwa-popup-card {
  background: #fff;
  border-radius: 14px;
  padding: 15px;
  width: 260px;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  animation: fadeIn .3s ease;
}

.pwa-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.pwa-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn-install {
  flex: 1;
  background: #0d6efd;
  color: #fff;
  padding: 8px;
  border-radius: 8px;
  border: none;
}

.btn-close {
  background: #ddd;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
}

.pwa-popup.show {
  display: block;
  opacity: 1;
}

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