/* ====== Tour-Trip Expense Manager · custom styles ====== */
:root { --brand: #0d6efd; }

body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }

/* ---- Login page ---- */
.login-bg {
  min-height: 100vh;
  background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.login-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 12px 35px rgba(0,0,0,.25);
}

/* ---- Dashboard ---- */
.stat-card {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.stat-card .icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.stat-card .stat-value { font-size: 1.4rem; font-weight: 700; }

/* ---- Cards / forms ---- */
.card { border: 0; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.form-control, .form-select { border-radius: 10px; }
.btn { border-radius: 10px; }
.btn-lg { min-height: 48px; }

/* ---- Bottom nav (mobile) ---- */
.mobile-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  display: flex; justify-content: space-around;
  padding: 6px 4px env(safe-area-inset-bottom);
  z-index: 1030;
  box-shadow: 0 -2px 10px rgba(0,0,0,.05);
}
.mobile-bottom-nav a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  font-size: .72rem; color: #6c757d;
  text-decoration: none;
  padding: 4px 0;
}
.mobile-bottom-nav a i { font-size: 1.2rem; }
.mobile-bottom-nav .add-btn {
  background: var(--brand);
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  margin-top: -22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(13,110,253,.4);
  flex: 0 0 52px;
}
.mobile-bottom-nav .add-btn i { font-size: 1.6rem; }

/* ---- Tables ---- */
.table-responsive { border-radius: 12px; }
.balance-pos { color: #198754; font-weight: 600; }
.balance-neg { color: #dc3545; font-weight: 600; }
.balance-zero { color: #6c757d; }

/* ---- Category pill ---- */
.cat-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 12px;
  background: #e9ecef; color: #495057; font-size: .8rem;
}

/* ---- Bottom-nav offset on small screens ---- */
@media (max-width: 991.98px) {
  body { padding-bottom: 70px; }
}
