/* Parent Scope Root */
.VendorDashboard {
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  padding: 16px 0 40px;
}

.VendorDashboard .vd_container {
  max-width: 1100px;
}

/* Send Inquiry */
.VendorDashboard .vd_send_inquiry {
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 24px;
  background-color: #f97316;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  cursor: pointer;
}

/* Banner */
.VendorDashboard .vd_banner {
  width: 100%;
  height: 260px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #e0f2fe;
  margin-bottom: 18px;
}

.VendorDashboard .vd_banner .swiper {
  width: 100%;
  height: 100%;
}

.VendorDashboard .vd_banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.VendorDashboard .vd_banner .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  opacity: 0.7;
}

.VendorDashboard .vd_banner .swiper-pagination-bullet-active {
  width: 16px;
  border-radius: 4px;
  background-color: #1e3a8a;
  opacity: 1;
}

/* Section tabs */
.VendorDashboard .vd_section_tabs {
  margin-bottom: 18px;
}

.VendorDashboard .vd_section_tab {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background-color: #ffffff;
  padding: 10px 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.VendorDashboard .vd_section_tab .tab_title {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
}

.VendorDashboard .vd_section_tab .tab_subtitle {
  font-size: 13px;
  color: #000000;
}

.VendorDashboard .vd_section_tab.active {
  background-color: #1e3a8a;
  border-color: #1e3a8a;
}

.VendorDashboard .vd_section_tab.active .tab_title,
.VendorDashboard .vd_section_tab.active .tab_subtitle {
  color: #ffffff;
}

.VendorDashboard .vd_login_note {
  font-size: 13px;
  color: #92400e;
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 14px;
}

/* New / Old toggle */
.VendorDashboard .vd_list_toggle {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.VendorDashboard .toggle_btn {
  flex: 1;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 8px 8px 0 0;
  background-color: #e5e7eb;
  color: #9ca3af;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.VendorDashboard .toggle_btn.active {
  background-color: #e8eefc;
  color: #1e3a8a;
  border-bottom-color: #f4511e;
}

/* Count + filter */
.VendorDashboard .vd_list_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.VendorDashboard .vd_count {
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  margin: 0;
}

.VendorDashboard .vd_filter {
  position: relative;
}

.VendorDashboard .vd_filter_btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background-color: #ffffff;
  padding: 7px 12px;
  font-size: 14px;
  color: #000000;
  cursor: pointer;
}

.VendorDashboard .vd_filter_btn .chevron {
  font-size: 11px;
}

.VendorDashboard .vd_filter_menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 5;
  min-width: 150px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.VendorDashboard .vd_filter_menu button {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 9px 12px;
  font-size: 13px;
  color: #000000;
  cursor: pointer;
}

.VendorDashboard .vd_filter_menu button.active,
.VendorDashboard .vd_filter_menu button:hover {
  background-color: #e8eefc;
  color: #1e3a8a;
}

.VendorDashboard .vd_empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0 24px;
}

.VendorDashboard .vd_empty_icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #94a3b8;
  font-size: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.VendorDashboard .vd_empty p {
  font-size: 14px;
  font-weight: 600;
  color: #1e3a8a;
  margin: 0;
}

/* Free delivery promo */
.VendorDashboard .vd_promo_holder {
  margin-top: 18px;
}

.VendorDashboard .vd_promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 10px;
  background: linear-gradient(120deg, #e8eefc 0%, #f1f5ff 60%, #dbe7ff 100%);
}

.VendorDashboard .vd_promo_text {
  min-width: 0;
}

.VendorDashboard .vd_promo_text h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e3a8a;
  line-height: 1.3;
  margin: 0 0 6px 0;
}

.VendorDashboard .vd_promo_text p {
  font-size: 12px;
  color: #374151;
  margin: 0 0 10px 0;
}

.VendorDashboard .vd_promo_text button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border: none;
  border-radius: 5px;
  background-color: #1e3a8a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.VendorDashboard .vd_promo_visual {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #ffffff;
  color: #f97316;
  font-size: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.12);
}

@media (min-width: 0px) and (max-width: 485px) {
  .VendorDashboard .vd_send_inquiry {
    height: 42px;
    font-size: 15px;
  }

  .VendorDashboard .vd_banner {
    height: 170px;
  }

  .VendorDashboard .vd_section_tab .tab_title {
    font-size: 15px;
  }

  .VendorDashboard .vd_section_tab .tab_subtitle {
    font-size: 10.5px;
  }

  .VendorDashboard .toggle_btn {
    height: 40px;
    font-size: 13px;
  }

  .VendorDashboard .vd_count {
    font-size: 16px;
  }

  .VendorDashboard .vd_filter_btn {
    font-size: 12px;
    padding: 6px 10px;
  }

  .VendorDashboard .vd_promo {
    padding: 14px;
  }

  .VendorDashboard .vd_promo_text h3 {
    font-size: 15px;
  }

  .VendorDashboard .vd_promo_visual {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }

  .VendorDashboard .vd_empty_icon {
    width: 96px;
    height: 96px;
    font-size: 36px;
  }
}

@media (min-width: 486px) and (max-width: 767.98px) {
  .VendorDashboard .vd_banner {
    height: 210px;
  }
}
