/* JobHire - Custom styles (from static reference) */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Prevent iOS zoom on focus for inputs (16px avoids auto-zoom) */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  textarea {
    font-size: 16px;
  }
}

/* Tap highlight for mobile touch feedback (accent-500 at 15% opacity) */
a, button {
  -webkit-tap-highlight-color: rgba(37, 99, 235, 0.15);
  tap-highlight-color: rgba(37, 99, 235, 0.15);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.5s ease-out forwards; }

.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Sidebar utility from static templates */
.border-l-4 {
  border-left-width: 4px;
}

/* Hide validation summary container when it has no errors (no list items) */
.validation-summary-box:not(:has(li)) {
  display: none;
}
