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

body {
  color: "#1a1a1a";
  background-color: "white";
  /*font-family: "Nunito", sans-serif;*/
  /*font-family: "Roboto", sans-serif;*/
  font-family: "Rubik", sans-serif;
}
.chat_height {
  height: calc(100vh - 80px);
}
.content {
  overflow: hidden;
  max-height: 0;
  padding: 10px;
  margin-top: 0;
  transition:
    max-height 0.8s ease,
    padding 0.8s ease;
  font-size: 0.75rem;
}
.collapsible {
  font-size: 0.9rem;
}
.result_card {
  transition: transform 0.3s ease;
}
.collapsible:after {
  content: "\02795"; /* Unicode character for "plus" sign (+) */
  font-size: 10px;
  float: right;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}

.desc_box {
  height: 5.7rem;
  overflow: hidden;
  line-height: 1.5;
  position: relative;
  transition: transform 0.3s ease;
}

.desc_button {
  position: absolute;
  content: "";
  width: 100%;

  left: 0px;
  bottom: -2rem;
  height: 5rem;
  background: linear-gradient(180deg, #ffffffa1, #fff, #fff);
}

.expanded {
  height: auto;
}
.expanded_button {
  position: unset;
  width: 100%;
}

.expanded_button:after {
  background: transparent;
}

/* Carousel Styles */
.fade {
  animation-name: fade;
  animation-duration: 0.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.slideshow-container {
  position: relative;
  margin: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.mySlides {
  display: none;
  position: relative;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 15px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  user-select: none;
  transition: background-color 0.3s ease;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.numbertext {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
}
.download-fade-step {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
}
.download-fade-step.step-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@keyframes download-pop {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }
  60% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

.download-check-icon {
  animation: download-pop 0.4s ease-out;
}
/* For smaller screens */
@media (max-width: 768px) {
  .prev,
  .next {
    padding: 8px 12px;
    font-size: 16px;
  }
}
