/* =====================================================
   RENTALS MODULE HEADER – STANDOUT STYLE
===================================================== */
#rent-preview .module-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 1.2rem 1rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, rgba(255,140,50,0.08), transparent 80%);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15), 0 0 24px rgba(255,140,50,0.08);
  position: relative;
}

/* Neon outline glow */
#rent-preview .module-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--border-soft);
  box-shadow:
    0 0 6px rgba(255,140,50,0.25),
    0 0 20px rgba(255,140,50,0.15);
  pointer-events: none;
}

#rent-preview .module-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--orange-main);
  text-shadow:
    0 0 8px var(--orange-glow),
    0 0 20px var(--orange-glow-soft);
  margin-bottom: 0.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

#rent-preview .module-header p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  opacity: 0.85;
  margin-top: 0;
}

/* =====================================================
   RENTAL GRID – PRO
===================================================== */
.rental-listings {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-bottom: 1.5rem;
}

/* =====================================================
   RENTAL CARD
===================================================== */
.rental-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;

  display: flex;
  flex-direction: column;

  transition: transform 0.3s ease,
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.rental-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-orange);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.45),
    0 0 30px var(--orange-glow-soft);
}

.rental-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: #111;
}

/* =====================================================
   BADGES
===================================================== */
.rental-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;

  font-size: 0.65rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;

  background: rgba(0,0,0,0.6);
  border: 1px solid var(--border-orange);
  box-shadow: 0 0 14px var(--orange-glow-soft);
}

.rental-badge.hot { color: #ff6b6b; }
.rental-badge.new { color: #6bffb0; }
.rental-badge.deal { color: #ffd36b; }
.rental-badge.verified { color: #6bb7ff; }

/* =====================================================
   RENTAL INFO
===================================================== */
.rental-info {
  padding: 0.9rem 0.9rem 0.4rem;
}

.rental-info h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.rental-info .price {
  color: var(--orange-main);
  font-weight: 700;
  font-size: 1rem;
}

.rental-info .location {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* =====================================================
   META ROW (OWNER INFO)
===================================================== */
.rental-meta {
  padding: 0.2rem 0.9rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.owner-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.owner-avatar {
  display: block;
  width: 50px !important;
  height: 50px !important;
  min-width: 50px;
  min-height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: #111;

  border: 2px solid var(--border-orange);
  box-shadow: 0 0 8px rgba(255,140,0,0.35);
}

.owner-badge {
  position: absolute;
  top: -28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  pointer-events: none;
}

.owner-badge .years {
  font-size: 0.6rem;
  font-weight: 600;
  color: #6dff9f;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(109,255,159,0.4);
  backdrop-filter: blur(6px);
}

.owner-badge .verified-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #6bb7ff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  box-shadow: 0 0 6px rgba(107,183,255,0.6);
}

/* =====================================================
   ACTIONS (LIKE • VIEW DETAILS • RATING)
===================================================== */
.rental-actions {
  padding: 0.7rem 0.9rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rental-actions .like-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.rental-actions .like-btn:hover {
  transform: scale(1.15);
}

.rental-actions .view-details {
  font-size: 0.75rem;
  color: var(--orange-main);
  text-decoration: none;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border-orange);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rental-actions .view-details:hover {
  background: rgba(255,140,0,0.15);
  transform: translateY(-1px);
}

.rental-actions .rating {
  font-size: 0.8rem;
  font-weight: 600;
}

/* =====================================================
   RESPONSIVE GRID
===================================================== */
@media (max-width: 1200px) {
  .rental-listings { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .rental-listings { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .rental-listings { grid-template-columns: 1fr; }
}
