/* Your app custom styles here */
.swiper-container.pro-swiper {
  width: 100%;
  /* Adjust this value as needed */
  overflow: hidden;
  /* This will hide the horizontal scrollbar */
}

/* Ensure the Swiper slides are not wider than the container */
.swiper-container.pro-swiper .swiper-slide {
  width: auto;
  /* This allows the slides to be as wide as their content */
  max-width: 100%;
  /* This prevents the slides from being wider than the container */
}

.responsivepix {
  padding: 0px;
  width: 100%;
  height: auto;
  object-fit: cover;
  line-height: 0%;
  border-radius: 18px;
}

.displayed {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0px;
  padding-bottom: 0px;
}

.responsive {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
}

:root {
  --f7-list-chevron-icon-color: #5f8520;
}

.list ul li .item-inner {
  padding-top: 14px;
  padding-bottom: 14px;
  min-height: 48px;
  /* optional: ensures consistent height */
}

.list ul li .badge .color-primary {
  background-color: #214457;
  color: #ffffff;
}

.service-card {
  text-align: center;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  text-decoration: none;
  color: inherit;
}



.services-grid,
.service-card,
.card-content {
  box-sizing: border-box;
}

.link.block-strong {
  font-weight: 600;
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  color: #214457;
}

.toolbar .link.active i.f7-icons {
  color: #214457 !important;
}

:root {
  --f7-theme-color: #214457;
}

.fa-star {
  color: gray;
  /* Default empty star */
  font-size: 16px;
  /* Adjust as needed */
}

.fa-solid {
  color: #FFD700 !important;
  /* Yellow stars */
}

.fa-star-half-alt {
  color: #FFD700 !important;
  /* Yellow for half star */
}

.thumbnail {
  width: 60px;
  height: 60px;
  margin: 5px;
  cursor: pointer;
  border-radius: 5px;
}

.hidden-input {
  display: none;
  /* Hide default file input */
}


/* Image inside thumbnail */
.img-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

/* Remove button styling */
.remove-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 5px;
}

.remove-btn button {
  color: white;
  border: none;
  background: transparent;
  font-size: 14px;
}

#lblstarrating,
#lblnumreviews {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}


.card-header {
  display: flex;
  align-items: center;
  padding: 10px;
}

.item-inner {
  flex: 1;
}

.review-images img {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.2s;
}

.review-images img:hover {
  transform: scale(1.1);
}

.sub-rating-stars {
  display: flex;
  gap: 5px;
  cursor: pointer;
}

.star i {
  font-size: 24px;
  color: #ccc;
  transition: color 0.3s;
}

.star.selected i {
  color: gold;
  /* Change to gold when selected */
}

.item-content {
  align-items: flex-start !important;
  /* Align items to the top */
}

.item-media {
  align-self: flex-start !important;
  /* Ensure Gravatar is aligned to the top */
}

.time-picker-dropdown {
  font-size: 16px;
  padding: 5px;
  min-width: 100px;
  /* Ensure dropdown is wide enough */
}

.listing-title {
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
  /* ✅ Strong drop shadow */
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  /* Keep text color white */
}

.messages-content {
  padding: 10px;
  overflow-y: auto;
  max-height: 60vh;
     background-color: transparent;
}

.message {
  display: flex;
  align-items: flex-end;
  margin: 5px 0;
  max-width: 80%;
}

.message-sent {
  justify-content: flex-end;
  text-align: right;
}

.message-received {
  justify-content: flex-start;
  text-align: left;
}

.message-content {
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.message-sent .message-content {
  background-color: #afedc0;
  color: black;
}

.message-received .message-content {
  background-color: #d3dbd5;
  color: black;
}

.message-footer {
  font-size: 10px;
  color: #333333;
  margin-top: 3px;
}

.chat-media {
  max-width: 200px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 5px;
}

.chat-media-preview {
  max-width: 100px;
  border-radius: 8px;
  margin: 5px;
}

.message .message-text {
  margin-bottom: 4px;
}
.message-footer {
  font-size: 10px;
  color: #333333;
  margin-top: 3px;
  margin-bottom: 4px; /* ✅ Prevents it from sticking to the bubble edge */
}


/* My Profile Page
------------------------------------- */
.edit-profile-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 35px;
}

/* New wrapper for image */
.profile-photo-container {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 240px;
}

/* Ensure the image stays inside the wrapper */
.profile-photo-container img {
  border-radius: 10px;
  width: 100%;
  display: block;
}

/* Keep the button inside the image */
.change-photo-btn {
  font-weight: 600;
  padding: 5px 10px;
  color: #fff;
  background-color: #000;
  border-radius: 50px;
  display: inline-block;
  position: absolute;
  font-size: 13px;
  cursor: pointer;
  line-height: 20px;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  /* Center the button */
  transition: 0.3s;
  opacity: 0.7;
  /* Make it 50% transparent */
  /* Outer Glow Effect */
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8),
    0 0 10px rgba(255, 255, 255, 0.6),
    0 0 15px rgba(255, 255, 255, 0.4);
}

/* Ensure file input stays hidden */
.photoUpload input.upload {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  width: 100%;
  height: 100%;
}

/* Hover effect */
.change-photo-btn:hover {
  color: #fff;
  background-color: #66676b;
}

.change-photo-btn i {
  margin-right: 2px;
}

.my-profile label {
  margin-top: 27px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 9px;
}

.my-profile {
  display: block;
}

.my-profile label i {
  margin-right: 3px;
}

.my-profile textarea {
  height: 200px;
}



.list.media-list .item-content {
  background-color: rgba(255, 255, 255, 0.35) !important;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* optional subtle shadow */
}

.service-date-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  justify-items: center;
  margin: 16px;
}

.service-date-grid .card {
  width: 100%;
  max-width: 160px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
