/* Kütahya İş İlanları — özel stiller (Tailwind üstüne) */

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body { -webkit-tap-highlight-color: transparent; }

/* Mobil safety: uzun metinler taşmasın */
* { min-width: 0; }
img, svg, video { max-width: 100%; height: auto; }

/* iOS form zoom engelle (input font-size 16px minimum) */
@media (max-width: 767px) {
  input, textarea, select { font-size: 16px !important; }
}

/* Scrollbar gizleme yardımcısı */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton 1.4s infinite linear;
}
@keyframes skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Smooth glass effect */
.glass {
    background: rgba(255,255,255,0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

/* Fade-in */
.fade-in { animation: fadeIn .35s ease-out both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* iOS safe area */
@supports(padding: max(0px)) {
    nav.fixed.bottom-0 { padding-bottom: max(0px, env(safe-area-inset-bottom)); }
}

/* Form temel */
input[type="file"]::file-selector-button { cursor: pointer; }
