* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.navbar {
    height: 150px;
    background-color: #00BCD5;
    color: white;
    display: flex;
    align-items: flex-end; /* Align items to the bottom */
    justify-content: space-between;
  
}

.nav-logo {
    height: 40px;
    width: 100px;
    margin-right: 1rem;
    margin-bottom: 7rem;
}

.logo {
    height: 38px;
    width: 125px;
    font-size: 4cap;
    margin-right: 1rem;
}

.nav-links {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    align-items: flex-end; /* Align items to the bottom */
    margin-top: 6rem;
    

}

.nav-link {
    text-decoration: none;
    color: white;
    font-size: 18px;
    margin-left: 20px;
}
#authbutton{
    height: 29px;
    width: 29px;
    border-radius: 50%;
    margin-right: 1rem;
    margin-bottom: 7rem;
    cursor: pointer;
    border: 1px solid #ccc;
}
#appointment-btn{
   width: 203px;
    height: 50px;
    font-size: 20px;
    border-radius: 25px;
    margin-bottom: 6rem; /* Adjust margin as needed */
    cursor: pointer;
    
}
  
  /* Button Styles */
 #appointment-btn,
  .search-icon {
    background: white;
    
    font-size: 20px;
    cursor: pointer;
  }
  
  /* Search Bar Styles */
  /* Overlay background */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  display: none;
}

/* Slide-in search bar (right to left) */
.search-bar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: white;
  z-index: 999;
  padding: 20px;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.search-bar.active {
  right: 0;
}

.search-bar input {
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
}

#searchResults {
  max-height: 300px;
  overflow-y: auto;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: black;
  background-color: whitesmoke;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}
.search-result:hover {
  background: #f5f5f5;
}
.search-result img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.search-icon {
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  align-self: flex-end;
}

  
  #dashboard-icon img {
    transition: transform 0.2s ease;
}

#dashboard-icon img:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
}
.taskbar {
  position: fixed;
  bottom: 0;
  margin-bottom: 5px;
  border-radius: 25px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.86);
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
}
.taskbar-icon {
  color: #8e8e8e;
  text-align: center;
  text-decoration: none;
}
.taskbar-icon i {
  display: block;
  font-size: 24px;
}
.taskbar-icon span {
  font-size: 12px;
}

/* ========== ✅ Global Mobile Responsiveness ========== */

/* === CURABOOK MOBILE NAV — PINNED LAYOUT === */
@media (max-width: 768px){
  .navbar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 135px; /* your desired height */
    position: relative;
  }

  /* TOP: logo (left), Book (right-40px), auth (right) */
  .nav-logo, .logo{
    position: absolute !important;
    top: 3px; left: 1px;
    margin: 0 !important;
    line-height: 1.1 !important;
    font-size: 37px !important;           /* shrink giant desktop size */
  }
  .nav-logo img, .logo img{ height: 26px !important; width: auto !important; display:block; object-fit:contain; }

   #authbutton{
    position: relative !important;
    bottom: 113px; right: 150px;
    width: 32px !important; height: 32px !important; border-radius: 50% !important;
    margin: 0 !important; display:inline-flex !important; align-items:center; justify-content:center;
  }
  #appointment-btn{
    position: absolute !important;
    top: 2px; right: 1px;               /* = 12px padding + 32px avatar + 8px gap */
    height: 36px !important; width: auto !important;
    padding: 0 12px !important; border-radius: 20px !important;
    font-size: 14px !important; white-space: nowrap; margin: 0 !important;
  }
.nav-links {
  
  justify-content: center !important; /* equal spacing between links */
  gap: 7px !important;
   }
