.business-card {
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  border: 1px solid #eee;
}

.open-now {
  background: #d4f8d4;
  color: #1c7c1c;
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 20px;
}

.social-icons a {
  margin-right: 10px;
  font-size: 18px;
  color: #555;
}

.breadcrumb {
  font-size: 14px;
}

.nav-link {
  color: white;
  font-weight: bold;
}

.container {
  margin-left: 10px;
  margin-right: 35px;
  max-width: 100%;
  color: black;
  font-size: 16px;
}

li a:hover {
  color: #025dab;
}

li.breadcrumb-item a,
li.breadcrumb-item {
  font-weight: bold;
  color: black;
  text-decoration: none;
}

.open-now {
  background: #d4f8d4;
  color: #1c7c1c;
  padding: 4px 12px;
  font-size: 13px;
  border-radius: 25px;
  cursor: pointer;
}

.timing-popup {
  display: none;
  width: 260px;
  position: absolute;
  top: 40px;
  left: 0;
  z-index: 10;
}

.qr-box {
  border: 1px solid #e1e1e1;
  padding: 20px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.qr-box img {
  max-width: 180px;
}

.nav-tabs .nav-link {
  font-weight: 500;
}

.map-container {
  width: 100%;
  height: 350px;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
}

#myTab > .nav-item > .nav-link {
  background-color: white;
  color: black;
  margin-right: 10px;
  margin-left: 10px;
  border-radius: 30px;
  border: 1px solid #e5e7eb;
}

.nav-item {
  margin-right: 10px;
}

#myTabContent {
  margin-left: 15px;
  margin-right: 15px;
}

.rating-number {
  font-size: 48px;
  font-weight: 700;
  color: #000;
}

.progress {
  height: 8px;
  border-radius: 20px;
}

.review-card {
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 18px;
  background: #fff;
  transition: 0.2s;
  min-height: 200px;
}

.review-card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #0d6efd;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
}

.nav-item > .active {
  background-color: #025dab !important;
  color: white !important;
}

.custom-width {
  flex: 0 0 30%;
  /* new width */
  max-width: 30%;
}

#myTab1 > .nav-item > .nav-link {
  background-color: #e5e7eb;
  color: #374151;
  margin-right: 10px;
}

#myTab1 > .nav-item > .nav-link.active {
  background-color: #025dab;
  color: white;
}

.contact-us {
  background-color: #fff;
  color: #000;
}

/* Form validation styles */
.form-control.is-invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid {
  border-color: #198754;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
}

.was-validated :invalid ~ .invalid-feedback,
.is-invalid ~ .invalid-feedback {
  display: block;
}

label {
  font-weight: 500;
}

.equal-row {
  display: flex;
  align-items: stretch;
}

.equal-row .col-md-4 {
  display: flex;
  flex-direction: column;
  margin-bottom: 5px;
}

.content {
  flex-grow: 1;
  min-height: 70px;
}

.review-text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* show max 3 lines */
  -webkit-box-orient: vertical;
}

/* Limit text to 3 lines */
.post-text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.fb-text-container {
  position: relative;
  max-width: 100%;
}

.fb-text-content {
  display: block;
  line-height: 1.4em;
  max-height: 4.2em;
  overflow: hidden;
  position: relative;
}

/* Fade effect at the bottom to indicate overflow */
.fb-text-content::after {
  content: "";
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 0.5em;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), white 100%);
}

/* See more button styled as small inline text */

.fb-see-more-btn {
  background: none;
  border: none;
  color: #57585aff;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 2px;
  display: inline-block;
}

.text-container {
  position: relative;
  min-height: 94px;
}

.text-content {
  overflow: hidden;
  display: block;
  /* MUST be block */
  line-height: 1.4em;
  max-height: 4.2em;
  /* 3 lines x 1.4em */
}

.see-more-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  color: #007bff;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 4px;
  display: none;
  /* initially hidden */
}

ul.pagination {
  display: flex;
  justify-content: center;
  /* Center pagination */
  margin: 10px 0;
  list-style: none;
  padding-left: 0;
}

/* Pagination items */
ul.pagination li {
  margin: 0 3px;
}

/* Pagination links and spans */
ul.pagination li a,
ul.pagination li span {
  display: block;
  /* clickable area */
  border-radius: 6px;
  border: 1px solid #025dab;
  color: #025dab;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 30px;
  text-align: center;
}

/* Hover effect */
ul.pagination li a:hover {
  background-color: #025dab;
  color: #fff;
  border-color: #025dab;
}

ul.pagination li span:hover {
  background-color: #025dab;
  color: #fff;
  border-color: #025dab;
}

/* Active page */
ul.pagination li.active span {
  background-color: #025dab;
  color: #fff;
  border-color: #025dab;
  cursor: default;
}

ul.pagination li span {
  border: 0px solid #025dab;
}

/* Disabled page */
ul.pagination li.disabled span {
  color: #6c757d;
  background-color: #f8f9fa;
  border-color: #dee2e6;
  cursor: not-allowed;
}

/* Optional: smaller pagination */
ul.pagination.pagination-sm li a,
ul.pagination.pagination-sm li span {
  padding: 1px 4px;
  font-size: 0.875rem;
}

/* Optional: rounded pill style */
ul.pagination.pagination-pill li a,
ul.pagination.pagination-pill li span {
  border-radius: 50px;
}

ul.pagination li.active a {
  background-color: #025dab;
  color: white;
}

html,
body {
  overflow-x: hidden;
}

.rating-scroll {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  /* smooth scrolling on mobile */
}

.rating-scroll::-webkit-scrollbar {
  display: none;
  /* optional: hide scrollbar */
}

.nav-scroll {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-scroll::-webkit-scrollbar {
  display: none;
  /* optional: hides scrollbar */
}

.nav-scroll .nav {
  flex-wrap: nowrap;
  /* keep all tabs on one line */
}

/* Scrollable wrapper */
.breadcrumb-scroll {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

/* Hide scrollbar */
.breadcrumb-scroll::-webkit-scrollbar {
  display: none;
}

/* Breadcrumb list styling */
.breadcrumb-list {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
}

/* Items styling */
.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  white-space: nowrap;
}

/* Separator using CSS (no manual slash needed) */
/* .breadcrumb-item::after {
            content: "/";
            margin: 0 6px;
            color: black;
        } */

/* Remove slash from last item */
.breadcrumb-item:last-child::after {
  content: "";
}
