/* Carenest Custom Styles */
@tailwind base;
@tailwind components;
@tailwind utilities;
@font-face {
  font-family: "WF Visual Sans";
  src: url("https://dhygzobemt712.cloudfront.net/Fonts/VF/WFVisualSansVF.woff2")
    format("woff2");
  font-style: normal;
  font-display: swap;
}
/* Root variables inherited from Tailwind's config */
:root {
  --primary-50: #f8fafc;
  --primary-100: #eef1f6;
  --primary-200: #e4e7ed;
  --primary-300: #d7dce4;
  --primary-400: #c2c8d2;
  --primary-500: #92a1b0;
  --primary-600: #75879a;
  --primary-700: #647484;
  --primary-800: #4c5c7c;
  --primary-900: #3c4c64;

  --secondary-50: #fafbfd;
  --secondary-100: #f3f6f9;
  --secondary-200: #e7eaef;
  --secondary-300: #d5d9e0;
  --secondary-400: #b8c0cc;
  --secondary-500: #919ba9;
  --secondary-600: #6b798b;
  --secondary-700: #4c5c74;
  --secondary-800: #2c3c5c;
  --secondary-900: #1c3454;
}

/* Global Styles for body to handle scrollbars */
html,
body {
  overflow-x: hidden;
  font-family: "WF Visual Sans", Arial, sans-serif;
}

body {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

/* Modal backdrop styling */
[modal-backdrop] {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

/* Spinner animation for loading states */
@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  animation: spinner 1s linear infinite;
}

/* Enhanced focus styles for accessibility */
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Custom styles for carousel card containers */
.offers-card-container,
.most-booked-card-container,
.service-card-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Hide scrollbar for all carousels */
.offers-card-container::-webkit-scrollbar,
.most-booked-card-container::-webkit-scrollbar,
.service-card-container::-webkit-scrollbar {
  display: none;
}

/* Hide the scrollbar specifically for the main content area */
#main-scrollable-content {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#main-scrollable-content::-webkit-scrollbar {
  display: none;
}

/* Responsive card widths for carousels */
.offers-card-item {
  flex-shrink: 0;
  min-width: 300px;
  width: calc((100% - 3rem) / 3);
  /* 3 cards per row, with gaps on larger screens */
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  .offers-card-item {
    width: 100%;
    min-width: 90%;
  }
}

.most-booked-card,
.service-card {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  min-width: 250px;
  width: calc((100% - 3rem) / 5);
  /* 5 cards per row, with gaps */
  scroll-snap-align: start;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

@media (max-width: 1024px) {
  .most-booked-card,
  .service-card {
    width: calc((100% - 1.5rem) / 3);
    /* 3 cards per row on tablets */
  }
}

@media (max-width: 768px) {
  .most-booked-card,
  .service-card {
    width: calc((100% - 0.75rem) / 2);
    /* 2 cards per row on mobile */
  }
}

/* Custom add button for products */
.add-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--primary-400);
  color: var(--primary-500);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

/* Carousel control buttons */
.carousel-control-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: white;
  border-radius: 9999px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.carousel-control-btn:hover {
  background-color: var(--primary-50);
}

.carousel-control-btn.left-0 {
  left: 0;
  margin-left: -1.25rem;
}

.carousel-control-btn.right-0 {
  right: 0;
  margin-right: -1.25rem;
}

/* Footer specific styles */
.footer a {
  color: var(--primary-300);
}

.footer a:hover {
  color: white;
}

/* Product Page Specific Styles */
.service-option-card {
  background-color: #fff;
  border: 1px solid var(--primary-200);
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.service-option-image-container {
  position: relative;
  width: 150px;
  height: 100px;
  flex-shrink: 0;
}

.service-option-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

.add-button-product-page {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background-color: white;
  color: var(--secondary-700);
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  font-weight: 600;
}

.review-card {
  background-color: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: 0.5rem;
  padding: 1rem;
}

/* Utility class for hiding scrollbars on elements */
.no-scrollbar {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

/* OTP Input Styles */
.otp-input {
  font-size: 1.25rem;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.otp-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(146, 161, 176, 0.2);
  border-color: var(--primary-500);
}

/* OTP Step Animation */
#otpStep {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* New checkout layout styles */
.right-panel-scrollable {
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.right-panel-scrollable::-webkit-scrollbar {
  display: none;
}

.checkout-page main {
  min-height: calc(100vh - 8rem);
  /* Adjust based on header height */
}

/* New styles for tip selection buttons */
.tip-option {
  background-color: white;
  border: 1px solid var(--primary-200);
  color: var(--secondary-700);
  transition: all 0.2s ease-in-out;
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.tip-option.selected {
  background-color: var(--secondary-600);
  color: white;
  border-color: var(--secondary-600);
}

.tip-option:hover {
  background-color: var(--primary-100);
  color: var(--secondary-800);
  border-color: var(--secondary-300);
}

/* custom css for infographics in landing page  */

:root {
  --gap: -200px;
  --circle-size: 200px;
  --circle-size-small: 130px;
  --color-1: #73cd93;
  --color-2: #55a571;
  --color-3: #8790f2;
  --color-4: #5863d3;
  --color-5: #4a55b7;
  --color-6: #2c3691;
}

.graphic-container {
  width: 100%;
  min-height: 80vh;
  display: grid;
  place-items: center;
}
.center-circles-container {
  display: flex;
  justify-content: center;
  align-items: center;
  grid-gap: 20px;
  height: 100%;
  width: 100%;
}

.single {
  gap: 20px;
}
.double {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.double:nth-child(even) {
  flex-direction: column-reverse;
}
.circle {
  width: var(--circle-size);
  height: var(--circle-size);
  background: #fff;
  border-radius: 50%;

  display: grid;
  place-items: center;
  position: relative;
}

.icon i {
  font-size: 3rem;
}
.content-container {
  position: absolute;
  max-width: 225px;
  min-width: 225px;
  width: 100%;
}
.content p {
  font-size: 12px;
}
.content-container h2 {
  position: relative;
  padding: 0 10px;
}
/* arrow heading border */
.one .content-container h2::before,
.one .content-container h2::after,
.two .content-container h2::before,
.two .content-container h2::after,
.five .content-container h2::before,
.five .content-container h2::after {
  position: absolute;
  content: "";
  width: 2px;
  height: 16px;
  background: teal;
  left: -6px;
}
.one .content-container h2::before,
.two .content-container h2::before,
.five .content-container h2::before {
  top: -2px;
  transform: rotate(30deg);
}
.one .content-container h2::after,
.two .content-container h2::after,
.five .content-container h2::after {
  bottom: -2px;
  transform: rotate(-30deg);
}
.three .content-container h2::before,
.three .content-container h2::after,
.four .content-container h2::before,
.four .content-container h2::after,
.six .content-container h2::before,
.six .content-container h2::after {
  position: absolute;
  content: "";
  width: 2px;
  height: 16px;
  background: teal;
  right: -6px;
}
.three .content-container h2::before,
.four .content-container h2::before,
.six .content-container h2::before {
  top: -2px;
  transform: rotate(-30deg);
}
.three .content-container h2::after,
.four .content-container h2::after,
.six .content-container h2::after {
  bottom: -2px;
  transform: rotate(30deg);
}

/* different content elements */
.two,
.four {
  width: var(--circle-size-small);
  height: var(--circle-size-small);
}
.two i,
.four i {
  color: #fff;
  font-size: 2.5rem;
}
.one .content-container {
  left: 0;
  bottom: -100px;
  text-align: left;
}
.two .content-container {
  left: 80px;
  bottom: -100px;
  text-align: left;
}
.three .content-container {
  right: 200px;
  top: -30px;
  text-align: right;
}
.four .content-container {
  right: 20px;
  top: -100px;
  text-align: right;
}
.five .content-container {
  left: 200px;
  bottom: -100px;
  text-align: left;
}
.six .content-container {
  left: 0;
  top: -100px;
  text-align: right;
}

/* lines */
/* bottom layer */
.one .line {
  position: absolute;
  width: 2px;
  height: 187px;
  background-color: var(--color-1);
  top: -172px;
  left: -30px;
}
.one .line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 2px;
  background: var(--color-1);
}
.one .line::after,
.two .line::after,
.five .line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 20px;
  height: 2px;
}
.one .line::after {
  background: var(--color-1);
}
.two .line::after {
  background: var(--color-2);
}
.five .line::after {
  background: var(--color-5);
}
.two .line {
  position: absolute;
  width: 2px;
  height: 90px;
  background-color: var(--color-2);
  top: -75px;
  left: -30px;
}
.five .line {
  position: absolute;
  width: 2px;
  height: 110px;
  background-color: var(--color-5);
  top: -95px;
  left: -30px;
}
/* top layer */
.three .line {
  position: absolute;
  width: 2px;
  height: 53px;
  background-color: var(--color-3);
  bottom: 2px;
  right: -30px;
}
.three .line::after,
.four .line::after,
.six .line::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
  height: 2px;
}
.three .line::after {
  background: var(--color-3);
}
.four .line::after {
  background: var(--color-4);
}
.six .line::after {
  background: var(--color-6);
}
.four .line {
  position: absolute;
  width: 2px;
  height: 151px;
  background-color: var(--color-4);
  bottom: -100px;
  right: -30px;
}
.four .line::before {
  content: "";
  position: absolute;
  right: 0px;
  bottom: 0;
  width: 20px;
  height: 2px;
  background: var(--color-4);
}
.six .line {
  position: absolute;
  width: 2px;
  height: 193px;
  background-color: var(--color-6);
  bottom: -160px;
  right: -30px;
}
.six .line::before {
  content: "";
  position: absolute;
  right: 0px;
  bottom: 0;
  width: 35px;
  height: 2px;
  background: var(--color-6);
}

/* dots */
.one .dot {
  position: absolute;
  top: 110px;
  right: -30px;
  width: 20px;
  height: 20px;
  background: var(--color-1);
  border-radius: 50%;
  box-shadow:
    -20px -110px 0 6px var(--color-1),
    -30px 80px 0 4px var(--color-1);
}
.four .dot {
  position: absolute;
  top: 130px;
  left: 0px;
  width: 20px;
  height: 20px;
  background: var(--color-4);
  border-radius: 50%;
  box-shadow:
    -22px -138px 0 10px var(--color-4),
    -70px 70px 0 0px var(--color-4);
}
.six .dot {
  position: absolute;
  top: -30px;
  left: 10px;
  width: 10px;
  height: 10px;
  background: var(--color-6);
  border-radius: 50%;
  box-shadow:
    -50px 50px 0 25px var(--color-6),
    150px 250px 0 10px var(--color-6);
}
/* circle colors */
.one {
  box-shadow:
    inset 0 0 0 6px var(--color-1),
    inset 0px 0px 12px 6px #989898;
}
.two {
  background-color: var(--color-2);
  transform: translateX(-20px);
}
.three {
  box-shadow:
    inset 0 0 0 6px var(--color-3),
    inset 0px 0px 12px 6px #989898;
  transform: translateX(10px);
}
.four {
  background-color: var(--color-4);
  transform: translateX(-20px);
}
.five {
  box-shadow:
    inset 0 0 0 6px var(--color-5),
    inset 0px 0px 12px 6px #989898;
  transform: translateX(10px);
}
.six {
  box-shadow:
    inset 0 0 0 6px var(--color-6),
    inset 0px 0px 12px 6px #989898;
}

/* h2 border colors */
.one .content-container h2 {
  border-top: 2px solid var(--color-1);
  border-bottom: 2px solid var(--color-1);
  font-size: 16px;
  font-weight: 700;
  color: #2c2c2c;
}
.two .content-container h2 {
  border-top: 2px solid var(--color-2);
  border-bottom: 2px solid var(--color-2);
  font-size: 16px;
  font-weight: 700;
  color: #2c2c2c;
}
.three .content-container h2 {
  border-top: 2px solid var(--color-3);
  border-bottom: 2px solid var(--color-3);
  font-size: 16px;
  font-weight: 700;
  color: #2c2c2c;
}
.four .content-container h2 {
  border-top: 2px solid var(--color-4);
  border-bottom: 2px solid var(--color-4);
  font-size: 16px;
  font-weight: 700;
  color: #2c2c2c;
}
.five .content-container h2 {
  border-top: 2px solid var(--color-5);
  border-bottom: 2px solid var(--color-5);
  font-size: 16px;
  font-weight: 700;
  color: #2c2c2c;
}
.six .content-container h2 {
  border-top: 2px solid var(--color-6);
  border-bottom: 2px solid var(--color-6);
  font-size: 16px;
  font-weight: 700;
  color: #2c2c2c;
}

.one .content-container h2::before,
.one .content-container h2::after {
  background: var(--color-1);
}
.two .content-container h2::before,
.two .content-container h2::after {
  background: var(--color-2);
}
.five .content-container h2::before,
.five .content-container h2::after {
  background: var(--color-5);
}

.three .content-container h2::before,
.three .content-container h2::after {
  background: var(--color-3);
}
.four .content-container h2::before,
.four .content-container h2::after {
  background: var(--color-4);
}
.six .content-container h2::before,
.six .content-container h2::after {
  background: var(--color-6);
}

/* media */
@media (max-width: 992px) {
  .graphic-container {
    margin: 50px 0;
  }
  .center-circles-container {
    overflow: hidden;
    overflow-x: scroll;
    width: 1300px;
  }
  .double {
    flex-direction: row;
  }
  .double:nth-child(even) {
    flex-direction: row;
  }
  .two {
    transform: translateX(0px);
  }
  .three {
    transform: translateX(0px);
  }
  .four {
    transform: translateX(0px);
  }
  .five {
    transform: translateX(0px);
  }
}

/* Base styles for scrollbar-hide */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* Custom styles for active/selected elements */

/* Selected Tip Option */
.tip-option input[type="radio"]:checked + .tip {
  background-color: #0d9488;
  /* Teal-600 */
  color: white;
  border-color: #0d9488;
}

.tip.selected {
  background-color: #0d9488;
  /* Teal-600 */
  color: white;
  border-color: #0d9488;
}

/* Selected Time Slot */
.time-slot.selected {
  background-color: #ccfbf1;
  /* Teal-100 */
  color: #0d9488;
  /* Teal-600 */
  border-color: #0d9488;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(13, 148, 136, 0.1);
  /* Subtle teal shadow */
  transform: scale(1.05);
  /* subtle pop effect */
}

/* Selected Address Radio Button (visually enhanced radio) */
input[type="radio"]:checked + label {
  color: #0d9488;
  /* Teal-600 */
  font-weight: 700;
}

/* Primary Color Classes */
.bg-primary {
  background-color: #2c3691 !important;
}
.bg-primary-50 {
  background-color: #f8fafc !important;
}
.bg-primary-100 {
  background-color: #eef1f6 !important;
}
.bg-primary-200 {
  background-color: #e4e7ed !important;
}
.bg-primary-300 {
  background-color: #d7dce4 !important;
}
.bg-primary-400 {
  background-color: #c2c8d2 !important;
}
.bg-primary-500 {
  background-color: #92a1b0 !important;
}
.bg-primary-600 {
  background-color: #75879a !important;
}
.bg-primary-700 {
  background-color: #647484 !important;
}
.bg-primary-800 {
  background-color: #4c5c7c !important;
}
.bg-primary-900 {
  background-color: #3c4c64 !important;
}

.text-primary {
  color: #2c3691 !important;
}
.text-primary-50 {
  color: #f8fafc !important;
}
.text-primary-100 {
  color: #eef1f6 !important;
}
.text-primary-200 {
  color: #e4e7ed !important;
}
.text-primary-300 {
  color: #d7dce4 !important;
}
.text-primary-400 {
  color: #c2c8d2 !important;
}
.text-primary-500 {
  color: #92a1b0 !important;
}
.text-primary-600 {
  color: #75879a !important;
}
.text-primary-700 {
  color: #647484 !important;
}
.text-primary-800 {
  color: #4c5c7c !important;
}
.text-primary-900 {
  color: #3c4c64 !important;
}

/* Secondary Color Classes */
.bg-secondary {
  background-color: #1c3454 !important;
}
.bg-secondary-50 {
  background-color: #fafbfd !important;
}
.bg-secondary-100 {
  background-color: #f3f6f9 !important;
}
.bg-secondary-200 {
  background-color: #e7eaef !important;
}
.bg-secondary-300 {
  background-color: #d5d9e0 !important;
}
.bg-secondary-400 {
  background-color: #b8c0cc !important;
}
.bg-secondary-500 {
  background-color: #919ba9 !important;
}
.bg-secondary-600 {
  background-color: #6b798b !important;
}
.bg-secondary-700 {
  background-color: #4c5c74 !important;
}
.bg-secondary-800 {
  background-color: #2c3c5c !important;
}
.bg-secondary-900 {
  background-color: #1c3454 !important;
}

.text-secondary {
  color: #1c3454 !important;
}
.text-secondary-50 {
  color: #fafbfd !important;
}
.text-secondary-100 {
  color: #f3f6f9 !important;
}
.text-secondary-200 {
  color: #e7eaef !important;
}
.text-secondary-300 {
  color: #d5d9e0 !important;
}
.text-secondary-400 {
  color: #b8c0cc !important;
}
.text-secondary-500 {
  color: #919ba9 !important;
}
.text-secondary-600 {
  color: #6b798b !important;
}
.text-secondary-700 {
  color: #4c5c74 !important;
}
.text-secondary-800 {
  color: #2c3c5c !important;
}
.text-secondary-900 {
  color: #1c3454 !important;
}

/* Antiquewhite Classes */
.bg-antiquewhite {
  background-color: #faebd7 !important;
}
.bg-antiquewhite-500 {
  background-color: #f3eee8 !important;
}
.bg-antiquewhite-600 {
  background-color: #dddddd !important;
}

.text-antiquewhite {
  color: #faebd7 !important;
}
.text-antiquewhite-500 {
  color: #f3eee8 !important;
}
.text-antiquewhite-600 {
  color: #dddddd !important;
}

/* Font */
.font-inter {
  font-family: "Inter", sans-serif !important;
}

/* select2 styles   */
.select2-container .select2-selection--single {
  height: 40px !important;
  border-radius: 10px !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 40px !important;
  padding-left: 15px !important;
}

/*CARENEST COLOR CLASSES*/

