/* css/components.css */

/* --- Bottom Nav --- */
.bottomNav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--bottom-nav-height);
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 50;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.navItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 100%;
  color: var(--text-tertiary);
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.navItem:hover {
  color: var(--text-secondary);
}

.navItem.active {
  color: var(--accent-gold);
}

.iconWrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
}

.navItem svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.navItem.active svg {
  stroke-width: 2.5;
}

.dot {
  position: absolute;
  bottom: -6px;
  width: 4px;
  height: 4px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* --- Card --- */
.card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card.interactive:hover, .card.interactive:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

/* Paddings */
.card-p-none { padding: 0; }
.card-p-sm { padding: 16px; }
.card-p-md { padding: 24px; }
.card-p-lg { padding: 32px; }
