@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

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

@layer base {
  * {
    outline: none !important;
  }

  html {
    font-family: Poppins, sans-serif;
  }
}

@font-face {
  font-family: proxima_nova;
  src: url(../src/assets/fonts/proxima_nova_regulars.otf);
}

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

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

.model {
  @apply backdrop-blur-sm bg-black/40 flex items-center justify-center w-full fixed top-0 left-0 right-0 z-[9999] mx-auto h-screen !my-0;
}

::-webkit-scrollbar {
  @apply w-2.5 h-2.5;
}

::-webkit-scrollbar-track {
  background-color: rgba(241, 91, 41, 0.1);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(241, 91, 41, 0.3);
  border-radius: 9999px;
}

.scrollbar-track {
  background-color: rgba(255, 0, 0, 0.1);
  border-radius: 9999px;
}

.css-v2woy3-MuiStack-root > :not(style) ~ :not(style) {
  margin-top: 4px !important;
}

.css-1dune0f-MuiInputBase-input-MuiOutlinedInput-input {
  padding: 8px !important;
}

.css-19qnlrw-MuiFormLabel-root-MuiInputLabel-root {
  top: -8px !important;
}

.react-datepicker-wrapper {
  width: 100%;
}

/* Style for selected date */
.react-datepicker__day--selected {
  background-color: #f15b29 !important;
  color: white !important;
}

/* Style for in-range dates */
.react-datepicker__day--in-range {
  background-color: rgba(241, 91, 41, 0.5) !important;
  color: white !important;
}

/* Hover effect for in-range dates */
.react-datepicker__day--in-range:not([aria-disabled="true"]):hover {
  background-color: #f15b29 !important;
  color: white !important;
}

/* Style for keyboard-selected date */
.react-datepicker__day--keyboard-selected {
  background-color: rgba(241, 91, 41, 0.3) !important;
  color: white !important;
}

/* Hover effect for selected date */
.react-datepicker__day--selected:hover {
  background-color: #f15b29 !important;
  color: white !important;
}

/* Hover effect for all days */
.react-datepicker__day:hover {
  background-color: rgba(241, 91, 41, 0.2) !important;
  color: white !important;
}

.react-datepicker__close-icon::after {
  background-color: #f15b29 !important;
  color: white !important;
}

.css-pxbvt-control {
  padding: 0 !important;
}

.css-16wblaj-MuiInputBase-input-MuiOutlinedInput-input {
  border: #f15b29 !important;
  padding: 8px !important;
  align-items: center;
  justify-content: center !important;
  display: flex;
}

.css-1ld5aff-MuiFormLabel-root-MuiInputLabel-root {
  top: -8px !important;
}

.css-hvjq6j-MuiFormLabel-root-MuiInputLabel-root.Mui-focused {
  color: #f15b29 !important;
}
.css-1dybbl5-MuiChip-label {
  padding-left: 6px !important;
  padding-right: 6px !important;
}
.css-24xtk8-MuiInputBase-root-MuiOutlinedInput-root-MuiSelect-root.Mui-disabled
  .MuiOutlinedInput-notchedOutline {
  border-color: rgba(0, 0, 0, 0.26);
  border-width: 0px !important;
}
.css-1ve8x53-MuiInputBase-root-MuiOutlinedInput-root-MuiSelect-root.Mui-disabled
  .MuiOutlinedInput-notchedOutline {
  border-color: rgba(0, 0, 0, 0.26);
  border-width: 0px !important;
}
.css-phs6im.Mui-focused {
  color: #f15b29 !important;
}
.truncate-lines-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  max-width: 250px;
}
