/* style.css */
body {
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* SPA View Transitions */
.view {
  display: none;
  width: 100%;
  min-height: 100dvh;
  animation: fadeIn 0.3s ease-in-out;
}

.view.active {
  display: flex;
}

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

/* Hidden Utility */
.hidden-el {
  display: none !important;
}

/* Bottom Nav Active State styling override */
.nav-btn.active {
  color: #0046FF;
  transform: scale(1.1);
}
.nav-btn.active span[data-icon] {
  font-variation-settings: 'FILL' 1;
}

.nav-btn {
  color: #9ca3af;
  transition: all 0.2s;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: white;
  border-radius: 24px;
  padding: 24px;
  width: 90%;
  max-width: 400px;
  transform: translateY(20px);
  transition: transform 0.2s;
}

.modal-overlay.show .modal-content {
  transform: translateY(0);
}
