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

li:focus-visible {
  outline: none;
}
li:hover {
  cursor: pointer;
}
.css-1g9ek8d {display: none;}

@layer base {
  :root {
    /*------Color variables------*/
    --black_900: #000000;
    --black_900_a0: #000000a0;
    --blue_500: #1797fd;
    --blue_800: #0257d6;
    --blue_gray_300: #8b9bc3;
    --blue_gray_600: #4f5b8f;
    --blue_gray_900: #0d2345;
    --blue_gray_900_01: #062a41;
    --blue_gray_900_02: #0e2a52;
    --blue_gray_900_03: #0e2446;
    --blue_gray_900_04: #1a2f4f;
    --deep_purple_300: #8a72dd;
    --gray_900: #081b3a;
    --gray_900_01: #7472fe;
    --gray_900_02: #071329;
    --light_blue_a400: #02bff9;
    --light_blue_a400_01: #09baf7;
    --light_blue_a700: #007aff;
    --red_500: #e95656;
    --teal_400: #35be7a;
    --teal_400_01: #38c87d;
    --teal_900: #02234e;
    --white_a700_99: #ffffff99;
    --black_600: #656d76;
    --gray_shadow: #00000029;

    /*------Shadow variables------*/
    --shadow-xs: 0 4px 4px 0 #000000a0;
    --shadow-sm: 2px 3px 10px 0 #000000a0;
    --shadow-md: 0 0 13px 5px #00000029;

    /*------Border radius variables------*/
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
    --radius-2xl: 14px;
    --radius-3xl: 44px;

    /*------Spacing variables------*/
    --space-xs: 2px;
    --space-sm: 4px;
    --space-md: 6px;
    --space-lg: 8px;
    --space-xl: 10px;
    --space-2xl: 11px;
    --space-3xl: 12px;
    --space-4xl: 14px;
    --space-5xl: 16px;
    --space-6xl: 20px;
    --space-7xl: 21px;
    --space-8xl: 30px;
    --space-9xl: 34px;
    --space-10xl: 40px;
    --space-11xl: 48px;
    --space-12xl: 50px;
    --space-13xl: 54px;
  }
  [type="text"],
  input:where(:not([type])),
  [type="email"],
  [type="url"],
  [type="password"],
  [type="number"],
  [type="date"],
  [type="datetime-local"],
  [type="month"],
  [type="search"],
  [type="tel"],
  [type="time"],
  [type="week"],
  [multiple],
  textarea,
  select {
    appearance: none;
    background-color: transparent;
    border-color: unset;
    border-width: 0;
    border-radius: unset;
    padding: unset;
    font-size: unset;
    line-height: unset;
  }
  /* Override default focus colors for tailwindcss-forms https://github.com/tailwindlabs/tailwindcss-forms */
  [type="text"]:focus,
  [type="email"]:focus,
  [type="url"]:focus,
  [type="password"]:focus,
  [type="number"]:focus,
  [type="date"]:focus,
  [type="search"]:focus,
  [multiple]:focus,
  textarea:focus,
  select:focus {
    --tw-ring-color: transparent;
    border-color: transparent;
  }
  [type="radio"]:focus,
  [type="checkbox"]:focus {
    --tw-ring-color: transparent;
  }
}
@layer components {
  /*-------------------------------------
  Container CSS
--------------------------------------*/
  .container-xs {
    @apply w-full mx-auto max-w-[1232px];
  }

  .container-sm {
    @apply w-full mx-auto max-w-[1450px];
  }
}

/* global.css or Tailwind config */
@layer utilities {
  .animate-shimmer {
    background: linear-gradient(
      90deg,
      rgba(75, 85, 99, 0) 0%,
      rgba(107, 114, 128, 0.2) 50%,
      rgba(75, 85, 99, 0) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
  }

  @keyframes shimmer {
    0% {
      background-position: -200% 0;
    }
    100% {
      background-position: 200% 0;
    }
  }
}


body {
  margin: 0;
  padding: 0;
  font-family: Lexend;
}

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

* {
  box-sizing: border-box;
  line-height: normal;
  font-family: inherit;
  margin: unset;
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
}

a {
  text-decoration: none;
  display: block;
}

ul {
  margin: 0;
  margin-inline: unset !important;
  padding: 0;
  list-style: none;
}

input:focus {
  outline: none;
}

.react-datepicker-wrapper,
.react-datepicker-wrapper input {
  background-color: transparent;
  border: none;
  width: 100%;
  padding: 0px;
}

.react-datepicker-popper {
  z-index: 100000 !important;
}

input {
  background-color: transparent;
  width: 100%;
}

.tab-panel--selected {
  animation-name: tabPanel;
  animation-duration: 300ms;
  animation-timing-function: linear;
}

.title-font {font-family: "Geometos", sans-serif;}

@keyframes tabPanel {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


.main-all {
  justify-content: space-between;
  min-height: 100vh;
}

select {
  background-image: url("../../public/images/icon/arrow-down.svg");
  background-size: 1em;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield; /* Firefox */
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: spin 1s linear infinite;
}


/* Target the scrollbar */
::-webkit-scrollbar {
  width: 0.3em;
  height: 0.3em;
}

/* Track */
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-track {
  background-color: #2c3349;
  /* Set the background color of the track */
}

/* Handle */
::-webkit-scrollbar-thumb {
  background-color: #8896c2;
  /* Set the color of the scrollbar handle */
  border-radius: 10rem;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}