/* bottom nav */
.qs-bottom-nav{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.08);
  z-index: 1030;
}
.qs-bottom-nav .nav-link{
  padding: .55rem 0;
  font-size: .9rem;
  color: #6c757d;
  text-decoration: none;
}
.qs-bottom-nav .nav-link.active{
  color: #0d6efd;
  font-weight: 600;
}
.qs-bottom-nav i{
  font-size: 1.2rem;
  display: block;
  line-height: 1;
}

.gradient-text{
  background:linear-gradient(90deg,#007bff,#00c6ff,#28a745);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  font-size:1.6rem;
  font-weight:700;
}

.navbar .btn.btn-sm.rounded-pill{
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
}

/* search icon sizing (now link) */
.qs-search-link{
  width: 42px;
  height: 34px;
  padding: 0;
}
.qs-search-link i{
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  display: inline-block;
}

.nav-profile-img{
  width:40px;
  height:40px;
  object-fit:cover;
  border-radius:50%;
  border:2px solid #ddd;
  cursor:pointer;
  transition:transform .15s ease;
}
.nav-profile-img.active{ transform:scale(1.1); }
.custom-dropdown{ position:relative; display:inline-block; }
.custom-dropdown-menu{
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:all .25s ease;
  position:absolute; right:0; top:115%;
  background:#fff; min-width:200px;
  box-shadow:0 .5rem 1rem rgba(0,0,0,.15);
  border-radius:.5rem; overflow:hidden;
  z-index:1000; list-style:none; margin:0; padding:0;
}
.custom-dropdown-menu.show{ opacity:1; visibility:visible; transform:translateY(0); }
.custom-dropdown-menu::before{
  content:""; position:absolute; top:-8px; right:16px;
  border-width:0 8px 8px 8px; border-style:solid;
  border-color:transparent transparent #fff transparent;
  filter:drop-shadow(0 -2px 2px rgba(0,0,0,0.1));
}
.custom-dropdown-menu a{ display:block; padding:8px 15px; text-decoration:none; color:#333; }
.custom-dropdown-menu a:hover{ background:#f8f9fa; }
.custom-dropdown-divider{ height:1px; margin:.25rem 0; background-color:#e9ecef; }

.step { display:none; }
.step.active { display:block; }

#qsLocationLabel{
  font-size: 0.75rem;
  line-height: 1.1;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ✅ Sticky install banner like navbar */
#qsInstallSticky{
  position: sticky;
  top: 56px; /* adjust if your navbar height differs */
  z-index: 1029;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* ✅ Mini install card (same as before) */
.qs-install-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(13,110,253,.20);
  background:#f7faff;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}
.qs-install-left{ min-width:0; }
.qs-install-title{
  font-weight:800;
  font-size:14px;
  color:#0d6efd;
  line-height:1.1;
}
.qs-install-sub{
  margin-top:2px;
  font-size:12px;
  color:#445;
  opacity:.95;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width: 52vw;
}
.qs-install-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-shrink:0;
}
.qs-install-btn{
  border:0;
  background:#0d6efd;
  color:#fff;
  font-weight:800;
  padding:8px 12px;
  border-radius:12px;
  cursor:pointer;
  font-size:13px;
}
.qs-install-btn:active{ transform:translateY(1px); }
.qs-install-close{
  width:30px;
  height:30px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#6c757d;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  flex:0 0 30px;
  transition:background .15s ease,color .15s ease,transform .15s ease;
}
.qs-install-close:hover{
  background:rgba(13,110,253,.10);
  color:#0d6efd;
}
.qs-install-close:active{ transform:scale(.94); }
.qs-install-close:focus-visible{
  outline:2px solid rgba(13,110,253,.45);
  outline-offset:2px;
}

.qs-bottom-nav-spacer{
  height: calc(66px + env(safe-area-inset-bottom, 0px));
}
