/* =========================================================
   全站底部導覽列
   - 透明黑底浮動膠囊
   - 不顯示文字
   - Active：白色指示條 + 亮色 spotlight
   ========================================================= */

body { padding-bottom: 5.25rem; }

/* ── 全站頂部 header（由 header.css / index_header.css 定義，此處不重複） ── */

.bottom-nav {
  position: fixed;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 1.5rem);
  max-width: 26.25rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #201F21;
  border-radius: 1.75rem;
  padding: 0.375rem 0.25rem;
  z-index: 1000;
  border-top: none;
  box-shadow: 0 0.25rem 1.5rem rgba(0,0,0,.35);
}

/* ── 一般項目 ── */
.bottom-nav .nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0.625rem 0 0.5rem;
  border-radius: 1.375rem;
  text-decoration: none;
  color: #757575;
  transition: color .2s;
}

/* 隱藏文字 */
.bottom-nav .nav-item span { display: none; }

.bottom-nav .nav-item i {
  font-size: 1.375rem;
  margin-bottom: 0;
}

/* ── Active 狀態：白色指示條 + spotlight ── */
.bottom-nav .nav-item.active {
  color: #fff;
  background: rgba(255,255,255,.10);
}

.bottom-nav .nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1.75rem;
  height: 0.1875rem;
  background: #fff;
  border-radius: 0.125rem;
}

/* ── 新增按鈕（+ 中央） ── */
.bottom-nav .add-button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0.625rem 0 0.5rem;
  border-radius: 1.375rem;
  text-decoration: none;
  color: #fff;
}
.bottom-nav .add-button span { display: none; }
.bottom-nav .add-button i {
  font-size: 1.375rem;
  margin-bottom: 0;
}
.bottom-nav .add-button.active {
  background: rgba(255,255,255,.10);
}
