/* ==============================
   BOTTOM NAVIGATION (mobile)
   ============================== */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--bottom-nav-h);
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  z-index: 100;
  padding: 0 4px;
}
.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 500;
  padding: 6px 4px;
  border-radius: 10px;
  transition: var(--transition);
  text-decoration: none;
}
.bottom-nav a:hover, .bottom-nav a.active {
  color: var(--primary);
  background: var(--primary-light);
}
.bottom-nav a .bnav-icon {
  font-size: 20px;
  line-height: 1;
}
.bottom-nav a.add-btn {
  background: var(--primary);
  color: white !important;
  border-radius: 14px;
  width: 52px;
  height: 44px;
  flex: none;
  margin: 0 8px;
}
.bottom-nav a.add-btn:hover { background: var(--primary-hover); }
@media (min-width: 768px) {
  .bottom-nav { display: none; }
}

/* ==============================
   MESSAGES / ALERTS
   ============================== */
.messages-wrap {
  padding: 8px 0 0;
}
.alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 8px;
  position: relative;
}
.alert-success { background: var(--success-light); color: var(--success-dark); border: 1px solid #86EFAC; }
.alert-error,
.alert-danger   { background: var(--danger-light);  color: var(--danger-dark);  border: 1px solid #FCA5A5; }
.alert-warning  { background: var(--warning-light); color: var(--warning-dark); border: 1px solid #FCD34D; }
.alert-info     { background: var(--info-light);    color: #1D4ED8;             border: 1px solid #93C5FD; }
.alert-close {
  position: absolute; top: 10px; right: 10px;
  background: none; border: none; cursor: pointer;
  color: inherit; opacity: 0.6; font-size: 14px; padding: 2px;
}

