@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Code css */
/* @import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap"); */
/* Custom Code css */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");

:root {
  --theme-white: #ffffff;
  --theme-color: #000000;
  --sub-text: #ffffffcc;
  --border: 1px solid #ebebeb;
  --ff-inter: "Inter", sans-serif;
  --ff-plusJakarta: "Plus Jakarta Sans", sans-serif;
  --border-gradient: linear-gradient(90deg, #1c37d1 0%, #0e1c6b 100%);
}
html {
  scroll-behavior: smooth;
}
body {
  position: relative;
  background-color: var(--theme-white);
  color: var(--theme-color);
  font-weight: 400;
  font-family: "Inter", sans-serif !important;
}
.container {
  width: 100%;
  max-width: 1440px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding-left: 16px;
  padding-right: 16px;
}
button,
a {
  outline: none;
}
.font-plusJakarta {
  font-family: var(--ff-plusJakarta);
}
.sectionPadding {
  padding-top: 40px;
  padding-bottom: 40px;
}
.sectionPaddingBottom {
  padding-bottom: 40px;
}
.sectionWidth {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.sectionwidthWizard {
  width: 100%;
  max-width: 890px;
  margin-left: auto;
  margin-right: auto;
}
.minusIcon,
.plusIcon {
  transform: rotate(180deg);
}
[aria-expanded="true"] .plusIcon {
  opacity: 0;
  transform: rotate(-180deg);
}
[aria-expanded="false"] .minusIcon {
  opacity: 0;
  transform: rotate(-180deg);
}

/* -------- ------------------------------------------
                Filter show hidden 
 ---------- ------------------------------------------*/
#leftSidebarLg .itemContainer {
  opacity: 0;
  transition: all 1.5s ease-in-out;
  visibility: hidden;
}
#leftSidebarLg.active .itemContainer {
  opacity: 1;
  visibility: visible;
}

/* Slider Top */
@keyframes vertical-loop {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-80%);
  }
}
.animate-vertical-loop {
  animation: vertical-loop 56s linear infinite;
}
.groupHoverStop:hover .animate-vertical-loop {
  animation-play-state: paused;
}

/* -------- ------------------------------------------
                    faq Css Start 
  -------- ------------------------------------------*/
.homeFAQWPSearch [data-accordion-target][aria-expanded="true"] {
  background-color: #ffffff !important;
  color: #000000;
  border-radius: 24px 24px 0 0;
  padding: 33px 24px 9px;
  border-bottom: 1px solid #d1d1d1;
}
.homeFAQWPSearch [data-accordion-target][aria-expanded="false"] {
  color: #ffffff;
}
.homeFAQWPSearch [id^="accordion-flush-body-"]:not(.hidden) {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-radius: 0 0 24px 24px;
  border-top: none;
  padding: 12px 14px 24px;
  box-shadow: 0px 0px 42px 0px #0000001f;
}
.homeFAQWPSearch [data-accordion-target],
.homeFAQWPSearch [id^="accordion-flush-body-"] {
  transition: all 0.3s ease;
}
.homeFAQWPSearch [data-accordion-target][aria-expanded="true"] .plusIcon {
  opacity: 0;
}
.homeFAQWPSearch [data-accordion-target][aria-expanded="true"] .minusIcon {
  opacity: 1;
}
.homeFAQWPSearch [data-accordion-target][aria-expanded="false"] .plusIcon {
  opacity: 1;
}
.homeFAQWPSearch [data-accordion-target][aria-expanded="false"] .minusIcon {
  opacity: 0;
}

/* -------- ------------------------------------------
         faq Accordion Comparison Css Start 
 ---------- ------------------------------------------*/
#faqAccordionComparison .faq_item.open {
  background: linear-gradient(
    180deg,
    #f2f5fa 0%,
    rgba(248, 249, 249, 0.5) 100%
  );
}
#faqAccordionComparison .faq_icon {
  color: #000 !important;
}
/* icon rotate animation */
#faqAccordionComparison .faq_icon.rotate {
  transform: rotate(180deg);
}

/* -------- ------------------------------------------
                  Scrollbar Hide Css Start 
 ---------- ------------------------------------------*/
.scrollbarHide::-webkit-scrollbar {
  display: none;
}
.scrollbarHide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* -------- ------------------------------------------
  Search Result Sort By Destop And Mobil Css Start 
 ---------- ------------------------------------------*/
.sortItem {
  border: 1px solid #f2f2f2;
  transition: all 360ms ease;
  background: #f8f8f8;
  color: #727c89;
  display: flex;
  align-items: center;
}
.sortItem:hover {
  border: 1px solid #c2c2c2;
}
.sortItem.active {
  border: 1px solid #1a2dc9;
  background: white;
  color: black;
}
.sortItem img {
  display: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.sortItem.active img {
  margin-right: 6px;
  opacity: 1;
  display: inline-block;
}

/* -------- ------------------------------------------
                  Dashboard Css Start 
 ---------- ------------------------------------------*/
.yellow_filter {
  filter: brightness(0) saturate(100%) invert(83%) sepia(17%) saturate(6370%)
    hue-rotate(360deg) brightness(103%) contrast(97%);
}
.white_filter,
.black_filter {
  filter: brightness(0) saturate(100%) invert(100%);
  transition: 0.3s;
}
.group:hover .black_filter {
  filter: brightness(0) saturate(100%);
}

/* -------- ------------------------------------------
                  wizard link Css Start 
 ---------- ------------------------------------------*/
.wizard-link.active {
  background: linear-gradient(to right, #1c37d1, #0e70dd);
  color: white;
}

#leftSidebarLg .active,
#leftSidebarMd .active {
  color: #000000;
  border: 1px solid #1a2dc9;
}

/* -------- ------------------------------------------
              Auto fill Bg Css Start 
 ---------- ------------------------------------------*/
.noAutofillBg:-webkit-autofill,
.noAutofillBg:-webkit-autofill:hover,
.noAutofillBg:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: var(--theme-color) !important;
  background-clip: content-box !important;
}

.noAutofillBg {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-color: #fff !important;
  color: var(--theme-color) !important;
}

/* -------- ------------------------------------------
        Filters leftSidebar animation Css Start 
 ---------- ------------------------------------------*/
.sidebar-slide-in {
  animation: sidebarIn 0.3s ease forwards;
}
.sidebar-slide-out {
  animation: sidebarOut 0.3s ease forwards;
}
@keyframes sidebarIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes sidebarOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

/* -------- ------------------------------------------
      home plugins animation Css Start 
 ---------- ------------------------------------------*/
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}
.animate_float {
  animation-name: floatY;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.float-slow {
  animation-duration: 6s;
}
.float-medium {
  animation-duration: 4.5s;
}
.float-fast {
  animation-duration: 3.5s;
}

.delay-1 {
  animation-delay: 0s;
}
.delay-2 {
  animation-delay: 0.6s;
}
.delay-3 {
  animation-delay: 1.2s;
}
.delay-4 {
  animation-delay: 1.8s;
}

/* -------- ------------------------------------------
      Personalize Table column sticky Css Start 
 ---------- ------------------------------------------*/
.personalizeTable table th:first-child,
.personalizeTable table td:first-child {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  border-right: 1px solid #eeeeee !important;
  background-color: #fff;
  z-index: 3;
}
.personalizeTable table th {
  background-color: #f9f9f9;
  z-index: 3;
}

/* -------- ------------------------------------------
      Comparison Nav Css Start 
 ---------- ------------------------------------------*/
.comparisonNav a.active {
  border-color: #1a2dc9;
  font-weight: 600;
  color: #000;
}

/* -------- ------------------------------------------
      Accordion Content Footer Css Start 
 ---------- ------------------------------------------*/
.accordionContentFooter {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

/* -------- ------------------------------------------
      Mobile drawer open Css Start = 72px
 ---------- ------------------------------------------*/
.mobileDrawerOpen {
  top: 72px !important;
}

@media (min-width: 1024px) {
  .accordionContentFooter {
    max-height: none !important;
    overflow: visible !important;
  }
}
.iconRotateFooter {
  display: inline-block;
  transition: transform 0.3s ease;
}
.iconRotateFooter.active {
  transform: rotate(180deg);
}

@media only screen and (width >= 48rem) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
  .sectionPadding {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .sectionPaddingBottom {
    padding-bottom: 60px;
  }
  .homeFAQWPSearch [id^="accordion-flush-body-"]:not(.hidden) {
    padding: 12px 24px 24px;
    box-shadow: 0px 0px 42px 0px #0000001f;
  }
}
@media only screen and (width >= 64rem) {
  .container {
    padding-left: 48px;
    padding-right: 48px;
  }
  .sectionPadding {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .sectionPaddingBottom {
    padding-bottom: 80px;
  }
}
@media only screen and (width >= 80rem) {
  .container {
    padding-left: 60px;
    padding-right: 60px;
  }
  .sectionPadding {
    padding-top: 120px;
    padding-bottom: 120px;
  }
  .sectionPaddingBottom {
    padding-bottom: 120px;
  }
}

/* slider 2 : Everyone was happy section */
.slide {
  flex: 0 0 25%;
  min-width: 25%;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}
.slider-wrapper2 .slide {
  flex: 0 0 20%;
  min-width: 20%;
}
@media (max-width: 1280px) {
  .slide {
    flex: 0 0 33.3333%;
    min-width: 33.3333%;
  }
  .slider-wrapper2 .slide {
    flex: 0 0 30%;
    min-width: 30%;
  }
}
@media (max-width: 1024px) {
  .slide {
    flex: 0 0 50%;
    min-width: 50%;
  }
  .slider-wrapper2 .slide {
    flex: 0 0 40%;
    min-width: 40%;
  }
  /* -------- ------------------------------------------
      Result Sort By Destop And Mobil Css Start 
  ---------- ------------------------------------------*/
  .bodyNoScrollSortBy {
    overflow: hidden;
    height: 100vh;
    touch-action: none;
  }
  #sortMenu {
    position: fixed !important;
    bottom: 0;
    left: 0;
    animation: slideUp 0.35s ease;
    transform: translateY(0);
    transition: transform 0.35s ease;
  }
  #mobileOverlay {
    position: fixed;
    inset: 0;
    height: 100vh;
    background: rgba(0, 0, 0, 0.45);
    z-index: 40 !important;
    display: none;
  }
  body [drawer-backdrop]:not(:last-child) {
    display: none;
  }
  @keyframes slideUp {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }

  @keyframes slideDown {
    from {
      transform: translateY(0);
    }
    to {
      transform: translateY(100%);
    }
  }

  /* -------- ------------------------------------------
      Personalize Table column sticky Css Start 
  ---------- ------------------------------------------*/
  .personalizeTable table th:first-child::after,
  .personalizeTable table td:first-child::after {
    content: "";
    position: absolute;
    width: 42px;
    height: 100%;
    right: -42px;
    top: 0;
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.12) 0%,
      rgba(0, 0, 0, 0) 100%
    );
    z-index: -1;
  }
}
@media (max-width: 768px) {
  .slide {
    flex: 0 0 60%;
    min-width: 60%;
  }
  .slider-wrapper2 .slide {
    flex: 0 0 50%;
    min-width: 50%;
  }
}
@media (max-width: 568px) {
  .slide {
    flex: 0 0 80%;
    min-width: 80%;
  }
  .slider-wrapper2 .slide {
    flex: 0 0 75%;
    min-width: 75%;
  }
}
