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

.shadow-custom {
  box-shadow: "0px 1px 3px 0px #606C800D";
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f4f3f9;
  color: #060721;
}

/* typography */

.heading {
  font-weight: 600;
  font-size: 20px;
  line-height: 18px;
}

.bodyText {
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
}

.smallText {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
}

.customContainer {
  max-width: 3000px;
  margin-left: auto;
  margin-right: auto;
}

.noOutline:focus {
  outline: none;
}

.messageCardContainer ::-webkit-scrollbar {
  height: 0;
}

button {
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
}

input::placeholder {
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
}

textarea::placeholder {
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
}

.bg-primaryComponentBg {
  background-color: #ffffff;
}

.bg-secondaryComponentBg {
  background-color: #f6f6f6;
}

.text-primary {
  color: #006aff;
}

.text-secondaryText {
  color: #5c7187;
}

.border-primary {
  border-color: #006aff;
}

.bg-primary {
  background-color: #006aff;
}

.switch {
  --button-width: 1.75em;
  /* 50% of 3.5em */
  --button-height: 1em;
  /* 50% of 2em */
  --toggle-diameter: 0.75em;
  /* 50% of 1.5em */
  --button-toggle-offset: calc((var(--button-height) - var(--toggle-diameter)) / 2);
  --toggle-shadow-offset: 5px;
  /* 50% of 10px */
  --toggle-wider: 1.5em;
  /* 50% of 3em */
  --color-grey: #cccccc;
  --color-green: #4296f4;
  display: flex;
}

.slider {
  display: inline-block;
  width: var(--button-width);
  height: var(--button-height);
  background-color: var(--color-grey);
  border-radius: calc(var(--button-height) / 2);
  position: relative;
  transition: 0.3s all ease-in-out;
}

.slider::after {
  content: "";
  display: inline-block;
  width: var(--toggle-diameter);
  height: var(--toggle-diameter);
  background-color: #fff;
  border-radius: calc(var(--toggle-diameter) / 2);
  position: absolute;
  top: var(--button-toggle-offset);
  transform: translateX(var(--button-toggle-offset));
  box-shadow: var(--toggle-shadow-offset) 0 calc(var(--toggle-shadow-offset) * 4) rgba(0, 0, 0, 0.1);
  transition: 0.3s all ease-in-out;
}

.switch input[type="checkbox"]:checked+.slider {
  background-color: var(--color-green);
}

.switch input[type="checkbox"]:checked+.slider::after {
  transform: translateX(calc(var(--button-width) - var(--toggle-diameter) - var(--button-toggle-offset)));
  box-shadow: calc(var(--toggle-shadow-offset) * -1) 0 calc(var(--toggle-shadow-offset) * 4) rgba(0, 0, 0, 0.1);
}

.switch input[type="checkbox"] {
  display: none;
}

.switch input[type="checkbox"]:active+.slider::after {
  width: var(--toggle-wider);
}

.switch input[type="checkbox"]:checked:active+.slider::after {
  transform: translateX(calc(var(--button-width) - var(--toggle-wider) - var(--button-toggle-offset)));
}

.text-error {
  color: #d02626;
}

.text-success {
  color: #28a745;
}

.bg-secondary {
  background-color: #8b8b8b;
}

select>option {
  padding-top: 12px !important;
}

.textarea-invalid {
  border: 1px solid #d02626;
}

/* Toast Container and Toast Styling */
.toast-container {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  background-color: #333;
  color: white;
  padding: 16px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.hide {
  opacity: 0;
  transform: translateY(-50px);
}

/* Optional: Customize the colors for error, success, or other types */
.toast.error {
  background-color: #e74c3c;
}

.toast.success {
  background-color: #2ecc71;
}

/* .message-card-button{
  width: 100%;
}

swiper-slide{
  min-width: 150px !important;
} */

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 16px !important;
}

.customSwiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto !important;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-slide button {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.select-wrapper select {
  width: 100%;
  padding: 12px 40px 12px 16px;
  /* Adjust padding to make space for the custom icon */
  appearance: none;
  /* Removes the default arrow */
  background: white;
  border: 1px solid #e8edf3;
  border-radius: 4px;
  font-size: 16px;
}

select option:disabled {
  color: #5c7187;
  /* Gray color for placeholder text */
}

/* Applying styling to the selected option */
select option:not(:disabled) {
  color: #060721;
  /* Black color for selected options */
}

.customSwiper-container swiper-slide {
  height: auto !important;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.pagination-dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.pagination-dot.pagination-dot-customPaginationDots.pagination-dot-customSecondaryPaginationDots {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #006aff33;
  /* Default color */
  margin: 0 5px;
  cursor: pointer;
}

.pagination-dot.active.pagination-dot-customPaginationDots.active.pagination-dot-customSecondaryPaginationDots.active {
  background-color: #006aff;
}

.pagination-dot-customPaginationDots {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #006aff33;
  /* Default color */
  margin: 0 5px;
  cursor: pointer;
}

.pagination-dot-customPaginationDots.active {
  background-color: #006aff;
}

.pagination-dot-customSecondaryPaginationDots {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #006aff33;
  /* Default color */
  margin: 0 5px;
  cursor: pointer;
}

.pagination-dot-customSecondaryPaginationDots.active {
  background-color: #006aff;
}



.TopMenu {
  width: 100%;
  display: flex;
  justify-content: right;
  padding-top: 2px;
  padding-right: 20px;
}

.menuitems {
  display: inline-block;
  margin: 10px;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #007bff;
  /* Text color for links */
}

a.menuitems {
  background-color: transparent;
  /* Removes the button background */
  color: #007bff;
  /* Keeps the text color */
  border: none;
  /* Removes the border */
  padding: 0;
  /* Removes the padding to eliminate button-like appearance */
  cursor: pointer;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

a.menuitems:hover {
  color: #0056b3;
  /* Darkens the color on hover */
  text-decoration: underline;
  /* Adds underline on hover */
}

.faq {
  border-radius: 0;
  /* Removes border-radius */
}

.Floatingwdw {
  position: absolute;
  right: 0px;
  top: 57px;
  height: 510px;
  width: 450px;
  z-index: 4;
  border: 2px solid;
  max-height: 569px;
  overflow-y: auto;
  border: 1px solid;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(255, 253, 253, 0.1),
    /* Horizontal, vertical, blur, spread */
    0 2px 4px rgba(255, 252, 252, 0.1);
  /* Creates a smooth, elegant shadow */
  background-color: white;
  /* Optional: adds background to the box */
  border-radius: 8px;
  /* Optional: rounds the corners for a smoother appearance */
  margin-top: 20px;
  margin-bottom: 50px;
  margin-right: auto;
  margin-left: auto;
}

.visible {
  display: block;
}

.invisible {
  display: none;
}

.intro-textbox {
  width: 90%;
  /* Make the text box adapt to the container width */
  max-width: 100%;
  /* Prevent overflow */
  padding: 10px;
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 10px;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #ccc;
  resize: none;
  /* Prevents resizing the box */
  box-sizing: border-box;
  /* Ensures padding is included in width calculation */
  height: auto;
  min-height: 120px;
  /* Ensures enough space for 4 to 7 lines */
}

.release-details-list {
  margin-top: 10px;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.5;
  list-style: none;
  font-size: 14px;
}

.release-details-list li::before {
  content: ">";
  margin-right: 8px;
  color: #007bff;
  font-weight: bold;
}

.amodal {
  right: 0px;
  transition: 0.6s cubic-bezier(0.37, 0.61, 0.25, 1);
  overflow: hidden;
}

.rmodal {
  right: -1000px;
  transition: 0.6s cubic-bezier(0.37, 0.61, 0.25, 1);
}