/* Satır içi SVG ikonlar (Font Awesome webfontunun yerini alır).
   height:1em sayesinde boyut font-size'tan gelir, genişlik viewBox oranından
   türer; böylece Tailwind'in text-sm/text-xl sınıfları eskisi gibi çalışır. */
.zmk-icon {
  display: inline-block;
  height: 1em;
  overflow: visible;
  vertical-align: -0.125em;
}

.zmk-icon-spin {
  animation: zmk-icon-spin 2s linear infinite;
}

@keyframes zmk-icon-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .zmk-icon-spin { animation-duration: 6s; }
}

/* İlan kartı görsel yükleme — metinsiz spinner */
.property-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e5e7eb;
}

.dark .property-thumb {
  background: #374151;
}

.property-thumb-loader {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.property-thumb-loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.property-spinner {
  width: 1.75rem;
  height: 1.75rem;
  border: 2.5px solid rgba(200, 148, 36, 0.25);
  border-top-color: #c89424;
  border-radius: 50%;
  animation: property-spin 0.7s linear infinite;
}

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

.property-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.5s ease;
}

.property-thumb-img.is-loaded {
  opacity: 1;
}

.property-thumb-video-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.property-card-title-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.property-card-title-link:hover {
  color: #c89424;
}
