/* Shared tile card styles for realestate list/grid views */

.tile-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.tile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}
[data-theme="dark"] .tile-card,
[data-bs-theme="dark"] .tile-card {
  background: #1f2937;
  border-color: #374151;
}
.tile-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f3f4f6;
}
[data-theme="dark"] .tile-card-image,
[data-bs-theme="dark"] .tile-card-image {
  background: #374151;
}
.tile-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.tile-card:hover .tile-card-image img {
  transform: scale(1.05);
}
.tile-no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}
[data-theme="dark"] .tile-no-image,
[data-bs-theme="dark"] .tile-no-image {
  background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
}
.tile-star-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}
.tile-star-btn:hover {
  background: rgba(0,0,0,0.5);
}
.tile-card-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tile-card-address {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-theme="dark"] .tile-card-address,
[data-bs-theme="dark"] .tile-card-address {
  color: #d1d5db;
}
.value-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
  color: #0f5132 !important;
  background: #d1e7dd;
  font-size: 0.85rem;
  cursor: pointer;
}
[data-theme="dark"] .value-chip,
[data-bs-theme="dark"] .value-chip {
  color: #bbf7d0 !important;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.4);
}

/* Gated / Locked tile cards */
.gated-card-locked {
  position: relative;
}
.gated-card-body {
  position: relative;
  min-height: 160px;
  overflow: hidden;
}
.gated-fake-content {
  filter: blur(5px);
  -webkit-filter: blur(5px);
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}
.gated-upgrade-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  padding: 1rem 1.25rem;
  background: var(--bs-body-bg);
  border-radius: 0.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  max-width: 90%;
}
