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

/* @font-face {
  font-family: "Exo";
  src: url("/fonts/exo.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
} */
@font-face {
  font-family: "Exo";
  src: url("/fonts/Exo-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900; /* Defines the available weight range */
  font-style: normal;
}
.flash-message-container {
  position: fixed;
  bottom: 50px;
  right: 20px;
  z-index: 1000;
}

.flash-message {
  background-color: #333;
  color: #fff;
  padding: 12px 18px;
  margin-top: 10px;
  border-radius: 8px;
  min-width: 220px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  animation: fadeInOut 4s forwards;
}

.flash-notice {
  background-color: #28a745;
}

.flash-alert {
  background-color: #dc3545;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(20px); }
  10% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateY(20px); }
}

.star-rating {
  direction: rtl; /* reverse order of stars visually */
  unicode-bidi: bidi-override; /* makes RTL apply to characters, not layout */
}

.star-rating input[type="radio"] {
  display: none;
}

.star-label {
  font-size: 2rem;
  color: lightgray;
  cursor: pointer;
  display: inline-block;
}

.star-rating input[type="radio"]:checked ~ .star-label {
  color: gold;
}

/* You can add this CSS in your main stylesheet */
.flex::-webkit-scrollbar {
  height: 8px;
}

.flex::-webkit-scrollbar-thumb {
  background-color: rgba(100, 100, 100, 0.3);
  border-radius: 4px;
}

.flex::-webkit-scrollbar-track {
  background: transparent;
}

.favorite-active {
  color: #F928A3 !important;
}

.no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

#burst-8 {
  background: white;
  width: 40px;
  height: 40px;
  position: relative;
  text-align: center;
  transform: rotate(45deg);
  border-radius: 4px;
}

#burst-8::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 40px;
  width: 40px;
  background: white;
  transform: rotate(135deg);
  border-radius: 4px;
  z-index: -1;
}

.navbar-shadow {
 box-shadow: 0px 1px 3px 0px #0000001A, 0px 1px 2px 0px #0000000F;
}

#subcategory-container.cursor-grabbing {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

.gradient-bg {
  background: linear-gradient(135deg, #FF37BB 0%, #FF2E87 100%);
  color: white;
  transition: all 0.3s ease;
}

.gradient-bg:hover {
  background: linear-gradient(135deg, #e72a9e 0%, #e02470 100%);
}


/* Smooth U-shape cutout for bottom navigation */
.clip-u-shape {
  clip-path: path('M 0% 0% L 35% 0% Q 38.75% 0% 40.5% 18.75% Q 42.5% 37.5% 50% 50% Q 57.5% 37.5% 60% 18.75% Q 62.5% 0% 67.5% 0% L 100% 0% L 100% 100% L 0% 100% Z');
}
