/* Make the input group show red border when invalid */
.input-group.is-invalid {
	border: 1px solid #dc3545 !important; /* full red border */
	border-radius: 0.375rem;              /* match your input style */
	padding: 0;                            /* adjust if needed */
}

/* Optional: icon color */
.input-group.is-invalid .input-group-text i {
	color: #dc3545 !important;
}

/* Optional: ensure input inside still shows red border */
.input-group.is-invalid .form-control,
.input-group.is-valid .form-control {
	border-color: transparent; /* hide input border if input-group shows border */
	box-shadow: none;
}

/* Valid (green) */
.input-group.is-valid {
	border: 1px solid #198754 !important;
	border-radius: 0.375rem;
	background-color: #fff;
	padding: 0;
}

.input-group.is-valid .input-group-text i {
	color: #198754 !important;
}
/* ========== OPTIONAL: TOGGLE PASSWORD ICON ALSO CHANGES COLOR ========== */
.input-group.is-valid .toggle-password i {
	color: #198754 !important;
}

/* ========== OTP MODAL BUTTON STYLING ========== */
.btn-linear-primary {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-700) 100%);
	color: #fff !important;
	border: none;
	padding: 12px 24px;
	font-weight: 600;
	border-radius: 8px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(255, 165, 29, 0.2);
}

.btn-linear-primary:hover {
	background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-800) 100%);
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(255, 165, 29, 0.3);
}

.btn-linear-primary:focus {
	background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-800) 100%);
	color: #fff !important;
	box-shadow: 0 0 0 3px rgba(255, 165, 29, 0.3);
}

.btn-linear-primary:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(255, 165, 29, 0.2);
}

/* Fix text selection in OTP modals */
#otp-email-reg-modal,
#otp-reg-phone-modal {
	::selection {
		background: var(--primary) !important;
		color: #fff !important;
		text-shadow: none;
	}
	
	/* Fix white text on white background */
	.text-danger,
	.error-text {
		color: #dc3545 !important;
	}
	
	/* Fix button text visibility */
	.btn {
		color: inherit !important;
	}
	
	.btn-linear-primary {
		color: #fff !important;
	}
}

/* Fix OTP input styling */
.inputcontainerreg input,
.inputRegSMSContainer input {
	background: #fff !important;
	border: 2px solid var(--border-color) !important;
	color: var(--dark) !important;
	border-radius: 8px;
	text-align: center;
	font-weight: 600;
	transition: all 0.3s ease;
}

.inputcontainerreg input:focus,
.inputRegSMSContainer input:focus {
	border-color: var(--primary) !important;
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 165, 29, 0.1);
}

.inputcontainerreg input::selection,
.inputRegSMSContainer input::selection {
	background: var(--primary) !important;
	color: #fff !important;
}

/* OTP Input Invalid State */
.inputcontainerreg input.is-invalid,
.inputRegSMSContainer input.is-invalid {
	background: #fff !important;
	border: 2px solid #dc3545 !important;
	color: var(--dark) !important;
	box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.inputcontainerreg input.is-invalid:focus,
.inputRegSMSContainer input.is-invalid:focus {
	border-color: #dc3545 !important;
	outline: none;
	box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

#page-loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	transition: opacity 0.3s ease-in-out;
}

#page-loader.hidden {
	opacity: 0;
	pointer-events: none;
	display: none !important;
}

#page-loader .loader-content {
	text-align: center;
}

#page-loader .spinner-border {
	width: 3rem;
	height: 3rem;
	border-width: 0.25em;
}

#page-loader p {
	margin-top: 1rem;
	font-size: 1.1rem;
	font-weight: 500;
	color: #ffffff;
}

/* Ensure loader is above all other elements */
#page-loader {
	z-index: 99999;
}

.spinner-loader {
	border: 5px solid #f3f3f3;
	border-radius: 50%;
	border-top: 5px solid var(--primary);
	width: 2.5rem;
	height: 2.5rem;
	-webkit-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;
	margin: 20px auto;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.time-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.time-slot.selected {
    border-color: #393cc6;
    color: #393cc6;
    background-color: #eaeefc;
}

.error{
  color: #ff0000;
}

.content-loader .spinner-border {
	width: 2.5rem;
	height: 2.5rem;
	border-width: 0.25em;
}

.recent-list {
    min-height: 315px;   /* enough for 5 rows */
    max-height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.recent-list .empty-state {
    flex: 1; /* take full height */
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically */
    text-align: center;
}

.product-color-code {
	display: inline-block;
    width: 30px;        /* adjust size */
    height: 30px;
    border-radius: 50%; /* makes it a circle */
    border: 1px solid #ccc;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;   /* limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

}
.line-clamp-3 p span {
 	font-size: 14px;
}
.wishlist-service-title{
	font-size: 18px;
}

.checkout-product-color-code {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #ccc;
}

.quantity-control-checkout {
  padding: 8px 10px;
  width: 100px;
}
.quantity-control-checkout .quantity-input {
  width: 30px;
  text-align: center;
  background: transparent;
  border: none;
  outline: none;
}
.quantity-control-checkout a {
  font-size: 16px;
}

.show-cursor-pointer {
  cursor: pointer;
}

/* Text utilities */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-item {
    position: relative;
    display: inline-block;
}
.gallery-thumbnail {
    width: 170px;
    height: 170px;
    object-fit: cover;
}
.remove-gallery-item-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    line-height: 10px;
    border-radius: 50%;
    padding: 0;
    font-size: 14px;
    font-weight: bold;
}

#recent-bookings{
  min-height: 437px;
}

#highly-booked{
  min-height: 430px;
}

.product-item .product-content {
  padding: 10px;
}
.bg-success .text-body {
  color:#fff !important;
}
/* Main cookie consent container */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  color: #fff;
  padding: 15px 20px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Archivo", sans-serif;
  font-size: 15px;
}

/* Text styling */
.cookie-consent__message {
  margin: 0;
  padding: 0;
  flex: 1;
  font-weight: 500;
  color: #242B3A;
  line-height: 1.5;
}

.message {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Button styling */
.cookie-consent__agree {
  background-color: #4caf50;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
  margin-left: 15px;
}

.cookie-consent__agree:hover {
  background-color: #45a049;
}

.cookie-consent__decline {
  background-color: #f44336; /* Red */
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
  margin-left: 10px;
}

.cookie-consent__decline:hover {
  background-color: #d32f2f; /* Darker red on hover */
}

/* Responsive behavior */
@media (max-width: 768px) {
  .cookie-consent {
    flex-direction: column;
    text-align: center;
  }

  .cookie-consent__message {
    margin-bottom: 10px;
  }
  ul.footer-menu {
    margin-bottom: 25px;
}
}

/* Initially hidden */
.cookie-consent.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

/* Visible state */
.cookie-consent.visible {
  opacity: 1;
  visibility: visible;
}

.message.outgoing {
    justify-content: flex-end;
    align-items: end !important;
}

.message.outgoing p, .message.outgoing a {
    background-color: rgb(209, 247, 196);
    color: rgb(51, 51, 51);
    text-align: right;
}

.message p, .message a {
    max-width: 60%;
    overflow-wrap: break-word;
    padding: 10px 15px;
    border-radius: 15px;
}

.message.incoming p, .message.incoming a {
    background-color: rgb(241, 240, 240);
    color: rgb(51, 51, 51);
    text-align: left;
}
.search-icon-right {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 0;
}
#chatsidebar {
    max-height: 591px !important;
    overflow-y: auto;
}
.custom-chat-height{
  padding-bottom: 10px;
}

.spinner-border-md {
  width: 1.5rem;
  height: 1.5rem;
}

#middle {
  min-height: 600px;
}

.about-company-customer-badge-rtl {
  background: var(--orange);
  padding: 12px 24px 12px 10px;
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  display: inline-block;
  position: absolute;
  left: -75px !important;
  top: 190px;
  color: #ffffff;
  font-weight: 600;
}


@media (max-width: 991.98px) {

  header .header-nav .main-menu-wrapper {
    bottom: unset;
    height: 100vh;
  }
  header .header-nav .main-menu-wrapper > div:first-child {
    width: 100%;
    max-width: 100%;
  }
  .about-img {
    padding: 0 0px 0 27px;
  }
  .about-img .about-01 {
    display: none !important;
  }
  .about-img .about-02 {
    display: none !important;
  }
  .about-img .video-wrap {
    position: unset !important;
    width: 100%;
    max-width: 100%;
  }
  .about-img .customer-badge {
    top: 168px;
  }
  .about-bg {
    display: none !important;
  }
  footer.footer.footer-one::before {
    top: -1px;
  }
}
/* Toast notification styles */
.toast-header strong, .toast-body {
  color: #fff;
}
.toast-body {
  background: #030508;
}
.toast-header .btn-close
{
  filter: invert(1);
  opacity: 1;
}
@media (max-width: 991.98px) {
  .user-menu-items {
    display: flex !important;
    position: absolute;
    right: 52px;
    top: 20px;
  }
}

/* //Home Page Spacing */

.productCatSection
{
  padding: 80px 0px 0px 0px;
}

.productSection
{
  padding: 0px 0px 80px 0px;
}

.srviceCatSection
{
  padding: 0px 0px 80px 0px;
}

.factsSections
{
  padding: 0px 0px 0px 0px;
}
 
.trendingServiceSection
{
  padding: 0px 0px 0px 0px;
}

.faqsSection
{
  padding: 80px 0px 0px 0px;
}

.blogsSections
{
  padding: 0px 0px 80px 0px;
}

.time-slot.selected {
    border-color: #393cc6;
    color: #393cc6;
    background-color: #eaeefc;
}

.blog-image {
  width : 1076px !important;
  height: 356px !important;
}

/* Language top header */
.topbar-lang > a img {
    width: 16px;
    height: 16px;
    border-radius: 0;
}

/* Skeleton Loader Base Styles */
.skeleton {
  background-color: #dbd9d4;
  border-radius: 5px;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Label Skeleton Loader */
.label-skeleton {
  width: 150px; /* Adjust based on label size */
  height: 16px;
  margin-bottom: 5px;
}

/* Input Skeleton Loader */
.input-skeleton {
  width: 100%;
  height: 38px; /* Adjust based on input field height */
}

.location-skeleton {
  height: 10.2rem;
}

.review-skeleton {
  height: 8rem;
}

.subscription-skeleton {
  height: 28rem;
}

.chat-skeleton {
  width: 50%;
  height: 1rem;
}

.chat2-skeleton {
  width: 25%;
  height: 1rem;
}
.rectangle-md-skeleton {
  width: 90px;
  height: 50px;
}
.rectangle-lg-skeleton {
  width: auto;
  min-width: 150px;
  max-width: 100%;
  height: 150px;
}
.rectangle-xl-skeleton {
  width: auto;
  min-width: 150px;
  max-width: 100%;
  height: 325px;
}

/* Pulsing Animation */
@keyframes pulse {
  0% {
      opacity: 1;
  }
  50% {
      opacity: 0.6;
  }
  100% {
      opacity: 1;
  }
}

.booking-card {
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* Highlight ONLY booking-card when checked */
.booking-card:has(input.additionalService-radio:checked) {
    border: 2px solid #28a745;
    box-shadow: 0 0 0 2px rgba(40,167,69,0.15);
}

/* Optional hover */
.additional_service_container.booking-card:hover {
    border-color: #28a745;
}

/* Promoted Services Styles */
.promoted-service {
    border: 3px solid #f4b400 !important;
    border-radius: 4px !important;
    position: relative;
    /* box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3) !important; */
    background: #fff;
    /* overflow: hidden; */
}

/* Ensure promoted shop cards also get the styling */
.card.promoted-service {
    border: 3px solid #f4b400 !important;
    border-radius: 4px !important;
    position: relative;
    /* box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3) !important; */
    background: #fff;
    /* overflow: hidden; */
}

/* More specific selector for shop cards */
.card.promoted-service .card-body {
    position: relative;
    padding: 1.5rem;
}

/* Ensure recommended tag appears above shop card elements */
.card.promoted-service .recommended-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #f4b400;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    border: 2px solid #f4b400; /* yellow border */
    z-index: 10;
    line-height: 1;
}

.recommended-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #f4b400;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    border: 2px solid #f4b400; /* yellow border */
    z-index: 10;
    line-height: 1;
}

.promoted-service .service-img {
    border-radius: 5px 5px 0 0;
}

/* Ensure Recommended tag appears above other elements */
.promoted-service .recommended-tag {
    z-index: 15;
}
.m-20{
  margin:20px;
}
.left-0{
  left:0px;
}

/* Add hover effect for promoted shops */
/* .promoted-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4) !important;
    transition: all 0.3s ease;
} */

/* Ensure the shop image in promoted cards has proper styling */
.promoted-service .avatar img {
    border: 3px solid #ffc107;
    padding: 2px;
    background: #fff;
}
.header.header-one:not(.fixed) .btn-secondary {
    color: #000;
    border: 1px solid var(--white);
    background: var(--white);
}