
html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1; 
  border-radius: 4px;
}
 
::-webkit-scrollbar-thumb {
  background: #319f0c; 
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #319f0c; 
}

.accordion-content {
  transition: max-height 0.36s ease-in-out, opacity 0.3s ease-in-out;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.accordion-content.open {
  max-height: 2000px;
  opacity: 1;
}

.accordion-icon {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-header.open .accordion-icon {
  transform: rotate(180deg);
}

.modal-enter {
  animation: fadeInScale 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.modal-leave {
  animation: fadeOutScale 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInScale {
  from { 
    opacity: 0; 
    transform: scale(0.95);
  }
  to { 
    opacity: 1; 
    transform: scale(1);
  }
}

@keyframes fadeOutScale {
  from { 
    opacity: 1; 
    transform: scale(1);
  }
  to { 
    opacity: 0; 
    transform: scale(0.95);
  }
}

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