html, body {
  scroll-behavior: smooth;
}

body::-webkit-scrollbar {
  display: none;
}

main::-webkit-scrollbar {
  display: none;
}

.input-error{
  border:2px solid #ef4444 !important;
  background:#fff5f5 !important;
}
 /*
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.toast {
  min-width: 260px;
  margin-bottom: 12px;
  padding: 14px 18px;
  border-radius: 8px;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  animation: slideIn 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
}

.toast.success {
  background: #16a34a; green *
}

.toast.error {
  background: #dc2626;  red *
}

.toast.info {
  background: #2563eb;  blue 
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  to { opacity: 0; transform: translateX(100%); }
}

*/

#loader {
  text-align: center;
}



p {
  font-size: 14px;
  letter-spacing: 1px;
  opacity: 0.8;
}



  .line {
    width: 24px;
    height: 3px;
    background: black;
    transition: all 0.3s ease;
  }

  .open .line1 {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .open .line2 {
    opacity: 0;
  }

  .open .line3 {
    transform: rotate(-45deg) translate(5px, -5px);
  }


#loader{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:white;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
	opacity: 0.6;
}

.spinner{
  width:50px;
  height:50px;
  border:3px solid #eee;
  border-top:6px solid #2563eb;
  border-radius:50%;
  animation:spin 1s linear infinite;
}

@keyframes spin{
  to{transform:rotate(360deg)}
}


/* --- Toast Container --- */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- The Toast Card --- */
.toast {
    min-width: 300px;
    padding: 14px 20px;
    background: #ffffff;
    color: #334155;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #cbd5e1; /* Default border */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(100%); /* Start off-screen right */
    animation: slideIn 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toast:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -3px rgba(0, 0, 0, 0.15);
}

/* --- Toast Variants --- */
.toast.success { border-left-color: #22c55e; background-color: #f0fdf4; color: #15803d; }
.toast.error   { border-left-color: #ef4444; background-color: #fef2f2; color: #b91c1c; }
.toast.info    { border-left-color: #3b82f6; background-color: #eff6ff; color: #1d4ed8; }

/* --- Animations --- */
@keyframes slideIn {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateX(20px); margin-top: -70px; /* Collapses space as it leaves */ }
}





/* auto suggestion  */

.dropdown-enter {
      animation: dropdownEnter 0.2s ease-out forwards;
    }
    
    @keyframes dropdownEnter {
      from {
        opacity: 0;
        transform: translateY(-8px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .fade-in-up {
      animation: fadeInUp 0.3s ease-out forwards;
    }
    
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .stagger-1 { animation-delay: 0.05s; }
    .stagger-2 { animation-delay: 0.1s; }
    .stagger-3 { animation-delay: 0.15s; }
    
    /* Custom scrollbar */
    .custom-scrollbar::-webkit-scrollbar {
      width: 6px;
    }
    
    .custom-scrollbar::-webkit-scrollbar-track {
      background: #f1f5f9;
      border-radius: 3px;
    }
    
    .custom-scrollbar::-webkit-scrollbar-thumb {
      background: #cbd5e1;
      border-radius: 3px;
    }
    
    .custom-scrollbar::-webkit-scrollbar-thumb:hover {
      background: #94a3b8;
    }
    
    /* Focus ring */
    .focus-ring:focus {
      outline: none;
      box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
    }
    
    /* Item highlight */
    .item-highlight {
      background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    }
    
    @media (prefers-reduced-motion: reduce) {
      .dropdown-enter,
      .fade-in-up {
        animation: none;
        opacity: 1;
        transform: none;
      }
    }
