/* 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;
}

#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;
  }
}
