/* ================== GENERAL ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

button {
  cursor: pointer;
  outline: none;
  background-color: #0d6efd;
}

/* ================== NAVBAR DESKTOP ================== */
.navbar-desktop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: white;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-left img {
  height: 40px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 10px;
}

.nav-links button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: 0.3s;
  font-size: 14px;
  color: #333;
}

.nav-links button:hover {
  background: #0d6efd;
  color: white;
}

/* ================== DESKTOP MENU HOVER ================= */
.menu-btn-container {
    position: relative;
}

.menu-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    width: 220px;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    flex-direction: column;
    z-index: 1000;
}

.menu-btn-container:hover .menu-list {
    display: flex;
}

.menu-list a {
    display: block;
    padding: 8px 10px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    border-radius: 4px;
    margin-bottom: 5px;
    background: #f8f9fa;
    transition: 0.3s;
}

.menu-list a:hover {
    background: #0d6efd;
    color: white;
}

/* ================== NAVBAR MOBILE ================== */
.navbar-mobile {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  background: white;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-btn {
  border: 1px solid #ccc;
  width: 35px;
  height: 35px;
  border-radius: 6px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.mobile-menu {
  position: absolute;
  top: 60px;
  right: 10px;
  width: 220px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  flex-direction: column;
  padding: 10px;
  display: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 1500;
}

.mobile-menu.show {
  display: flex;
}

.mobile-menu button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border-radius: 4px;
  border: none;
  background: #f8f9fa;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 5px;
  transition: 0.3s;
  color: #333;
}

.mobile-menu button:hover {
  background: #0d6efd;
  color: white;
}

/* ================== FOOTER NAV MOBILE ================== */
.footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid #ddd;
  z-index: 999;
}

.footer-nav div {
  text-align: center;
  font-size: 12px;
  cursor: pointer;
}

.add-btn {
  background: #0d6efd;
  width: 55px;
  height: 55px;
  color: white;
  border-radius: 50%;
  margin-top: -35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

/* ================== MODAL ================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1500;
  display: none;
}

.modal-backdrop.show {
  display: block;
}

.modal-box {
  position: fixed;
  inset: 0;
  z-index: 1600;
  margin: auto;
  width: 90%;
  max-width: 320px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  display: none;
}

.modal-box.show {
  display: block;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
}

/* ================== MEDIA QUERIES ================== */
@media (min-width: 768px) {
  .navbar-desktop {
    display: flex;
  }
  .navbar-mobile {
    display: none;
  }
  .footer-nav {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .navbar-desktop {
    display: none;
  }
  .navbar-mobile {
    display: flex;
  }
}