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

:root {
   --foreground-rgb: 0, 0, 0;
   --background-start-rgb: 214, 219, 220;
   --background-end-rgb: 255, 255, 255;
}

@media (prefers-color-scheme: dark) {
   :root {
      --foreground-rgb: 255, 255, 255;
      --background-start-rgb: 0, 0, 0;
      --background-end-rgb: 0, 0, 0;
   }
}

/* Custom Fonts */


@font-face {
   font-family: "Causten";
   src: url("/fonts/Causten-ExtraLight.otf") format("opentype");
   font-weight: 100;
   font-style: normal;
}

@font-face {
   font-family: "Causten";
   src: url("/fonts/Causten-Light.otf") format("opentype");
   font-weight: 300;
   font-style: normal;
}


@font-face {
   font-family: "Causten";
   src: url("/fonts/Causten-Regular.otf") format("opentype");
   font-weight: normal;
   font-style: normal;
}

@font-face {
   font-family: "Causten";
   src: url("/fonts/Causten-Medium.otf") format("opentype");
   font-weight: 500;
   font-style: normal;
}

@font-face {
   font-family: "Causten";
   src: url("/fonts/Causten-SemiBold.otf") format("opentype");
   font-weight: 600;
   font-style: normal;
}


@font-face {
   font-family: "Causten";
   src: url("/fonts/Causten-Bold.otf") format("opentype");
   font-weight: bold;
   font-style: normal;
}

@font-face {
   font-family: "Causten";
   src: url("/fonts/Causten-ExtraBold.otf") format("opentype");
   font-weight: 800;
   font-style: normal;
}





input,
button {
   outline: none;
   border: none;
   background-color: transparent;
}

html {
   scroll-behavior: smooth;
}

body {
   font-family: "roboto", sans-serif;
}

.hero-bg {
   background-image: url(/img/hero-section-bg.jpg);
}

.radio-box:checked ~ label {
   opacity: 1;
}

.radio-box:checked ~ label .tick-img {
   display: block;
}

.radio-box:not(:checked) ~ label .tick-img > img {
   content: url("/img/unTick.png");
}

.scrollbar-hidden::-webkit-scrollbar {
   display: none;
}

.profile-sidebar-link:hover > div {
   background-color: #274c5b;
}
.profile-sidebar-link:hover > p {
   color: #274c5b;
}

.loader {
   width: 48px;
   height: 48px;
   border: 5px solid rgb(205, 6, 38);
   border-bottom-color: transparent;
   border-radius: 50%;
   display: inline-block;
   box-sizing: border-box;
   animation: rotation 1s linear infinite;
}

@keyframes rotation {
   0% {
      transform: rotate(0deg);
   }
   100% {
      transform: rotate(360deg);
   }
}

.Dropdown-root {
   width: 100%;
}

.Dropdown-root .Dropdown-control {
   background-color: transparent;
   min-height: 64px;

   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 12px;
   border-color: #7eb693;
   font-size: 18px;
   font-style: italic;
   align-items: center;
   justify-content: start;
}

.Dropdown-root.is-open .Dropdown-control {
   border-color: #efd372;
}

.Dropdown-root .Dropdown-menu {
   border-color: #7eb693;
   border-radius: 12px;
   font-size: 18px;
   font-style: italic;
   max-height: max-content;
}

.Dropdown-arrow {
   top: 50% !important;
   transform: translateY(-50%);
}

/* Address Input */
.css-13cymwt-control,
.css-t3ipsp-control {
   border: 1px solid rgba(156, 163, 175, 1) !important;
   min-height: 64px !important;
   border-radius: 12px !important;
   background-color: white !important;
   /* border-top-right-radius: 0px !important;
   border-bottom-right-radius: 0px !important;*/
}

@media (max-width: 1024px) {
   .css-13cymwt-control,
   .css-t3ipsp-control {
      min-height: 56px !important;
      height: 56px !important;
      max-height: 56px !important;
   }
}

.scrollbar-hidden::-webkit-scrollbar {
   display: none !important;
   /* background-color: red; */
}

/* Stars */

.star-rating {
   font-size: 24px;
   margin-bottom: 10px;
}

.star {
   cursor: pointer;
   color: #ccc;
}

.star.filled {
   color: #ffcc00;
}
.autocomplate-search-field-container {
   display: flex;
   flexdirection: column;
   width: 100%;
   position: relative;
}
.autocomplate-search-field-container div {
   flex: 1;
}
.autocomplate-search-field-container button {
   position: absolute;
   right: 0px;
   width: 70px;
   height: 100%;

   text-align: center;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-direction: row;
   align-content: center;

   border: 1px solid rgba(156, 163, 175, 1) !important;
   border-top-right-radius: 12px !important;
   border-bottom-right-radius: 12px !important;
   background-color: white !important;
}
input[type="password"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="text"],
optgroup,
select,
textarea {
   background-color: white !important;
}
.triangle-down {


      width: 0;
      height: 0;
      border-left:7px solid transparent;
      border-right: 7px solid transparent;
      border-top: 8px solid #000;

 }
 


 /* Hero cards adjustments */

 .hero-card-bg {
   background-position: "right";

 }

 @media (min-width: 768px) {
   .hero-card-bg {
      background-position: "center";
   }
   
 }