@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
  font-family: "icomoon";
  src: url("/assets/fonts/icomoon.eot");
  src: url("/assets/fonts/icomoon.eot?#iefix") format("embedded-opentype"),
    url("/assets/fonts/icomoon.woff") format("woff"),
    url("/assets/fonts/icomoon.ttf") format("truetype"),
    url("/assets/fonts/icomoon.svg#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "PlayfairDisplay-Regular";
  src: url("/assets/fonts/PlayfairDisplay-Regular.ttf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PlayfairDisplay-Medium";
  src: url("/assets/fonts/PlayfairDisplay-Medium.ttf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PlayfairDisplay-Semibold";
  src: url("/assets/fonts/PlayfairDisplay-SemiBold.ttf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PlayfairDisplay-Bold";
  src: url("/assets/fonts/PlayfairDisplay-Bold.ttf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.font-playfairBold {
  font-family: "PlayfairDisplay-Bold";
}

.font-playfairSemiBold {
  font-family: "PlayfairDisplay-SemiBold";
}

.font-playfairMedium {
  font-family: "PlayfairDisplay-Medium";
}

html,
body {
  background-color: white;
  font-family: "Inter", sans-serif;
}

#health-team {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

#health-team::-webkit-scrollbar {
  display: none;
}

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

#members::-webkit-scrollbar {
  display: none;
}

#new-list {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

#new-list::-webkit-scrollbar {
  display: none;
}

.box-shadow {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  overflow: auto;
  z-index: 1;
}

.show {
  display: block;
}

.sortshow {
  display: block;
}

.link-accordion:after {
  content: "\002B";
  color: white;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

.accordion > .title:after {
  content: "\2039";
  width: 20px !important;
  height: 20px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%; /* Use 50% for a circular shape */
  color: #024945;
  font-weight: bold; /* Ensure the plus sign is bold */
  font-size: 16px; /* Adjust font size as needed */
  transform: rotate(270deg);
}

.accordion.active > .title:after {
  content: "\2039";
  width: 20px !important;
  height: 20px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%; /* Use 50% for a circular shape */
  color: #024945;
  font-weight: bold; /* Ensure the plus sign is bold */
  font-size: 16px; /* Adjust font size as needed */
  transform: rotate(90deg);
  transition: all;
  animation-duration: 500ms;
}

#footer-bg {
  background: url("https://tulip-nocdn.sfo3.cdn.digitaloceanspaces.com/tulip-web/assets/svgs/expert-footer.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#flowerContainer .tooltip {
  position: absolute;
  background-color: #024945;
  text-align: center;
  width: 100%;
  top: 93%;
  z-index: 9999; /* Ensure tooltip is above everything else */
}

#flowerContainer .tooltip-top::before {
  content: "";
  position: absolute;
  display: block;
  width: 0px;
  left: 50%;
  border: 12px solid transparent;
  border-top: 0;
  border-bottom: 12px solid #024945;
  transform: translate(-50%, calc(-100% - 5px));
}

.slick-slide.slick-active {
  width: 80%;
  height: 100%;
}

#company-slider {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  overflow-x: hidden; /* Firefox */
}

#company-slider::-webkit-scrollbar {
  display: none;
}

#flowerSlider1 .slick-slide {
  max-height: 200px;
  margin: 0 0 24 24;
  max-width: 160px;
  display: grid;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  overflow: visible;
}

#flowerSlider2 .slick-slide {
  max-height: 250px;
  margin: 0 0 24 24;
  max-width: 160px;
  display: grid;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  overflow: visible;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 150%;
  left: 50%;
  margin-left: -60px;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.get-rec-spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #333;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hover-target:hover .tulip-arrow-up-right {
  transform: rotate(45deg);
  transition: transform 500ms ease-in-out;
}
