/* Optional: apply global resets or layout base */
* {
  box-sizing: border-box;
}





/* Bottom Nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #170090;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  z-index: 10;
  height: 70px;
}

.bottom-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: color 0.3s ease;
}

.bottom-nav a i {
  font-size: 1.2em;
}

.bottom-nav a.active,
.bottom-nav a:hover {
  color: rgb(234, 13, 10);
}





.fab-main {
  background-color: #007bff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  padding: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  cursor: pointer;
}

.fab-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}






@media (min-width: 1024px) {
  .bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(980px, 92vw);
    background: #170090;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    padding: 10px 60px;
    justify-content: space-between;
    z-index: 1000;
    border: outset;
  }

  .bottom-nav a {
    flex-direction: row;        /* icon + label side-by-side on desktop */
    gap: 8px;
    font-size: 1rem;
  }

  .bottom-nav a i {
    font-size: 1.1rem;
  }

  .dashboard {
    padding-bottom: 140px;      /* extra room for the floating bar */
  }
}

