@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");

.rocketrent {
  font-family: "Plus Jakarta Sans", sans-serif;

  a {
    text-decoration: none !important;
  }
}

.rocketrent .property-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.rocketrent .property-card {
  width: 100%;
  background-color: white;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  position: relative;
}

.rocketrent .property-card:hover {
  border-color: #d1d5db;
}

.rocketrent .property-card-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.rocketrent .property-card-content {
  display: flex;
  flex-direction: column;
  padding: 8px;
  height: 100%;
}

.rocketrent .property-image {
  width: 100%;
  aspect-ratio: 4/3;
  margin-bottom: 10px;
  border-radius: 4px;
}

.rocketrent .property-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: #f3f4f6;
  margin-bottom: 10px;
  border-radius: 4px;
  display: flex;
  flex-shrink: 0;
}

.rocketrent .placeholder-icon {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rocketrent .property-type {
  font-size: 14px;
  color: #6b7280;
  text-transform: capitalize;
}

.rocketrent .property-details {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rocketrent .property-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.rocketrent .property-rent {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.rocketrent .property-info {
  margin-top: 8px;
}

.rocketrent .specs {
  font-size: 14px;
  color: #6b7280;
}

.rocketrent .spec-value {
  font-weight: 500;
  color: #111827;
}

.rocketrent .property-address {
  font-size: 14px;
  font-weight: normal;
  color: #6b7280;
  line-height: 1.25rem;
  text-transform: capitalize;
}

/* Media Queries */
@media (min-width: 768px) {
  .rocketrent .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .rocketrent .property-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Skeleton Loading Styles */
.rocketrent .skeleton {
  position: relative;
  overflow: hidden;
}

.rocketrent .skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.5) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 2s infinite;
  transform: translateX(-100%);
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.rocketrent .skeleton-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #eee;
  margin-bottom: 10px;
  border-radius: 4px;
  display: flex;
  flex-shrink: 0;
}

.rocketrent .skeleton-text {
  height: 20px;
  background-color: #eee;
  margin: 8px 0;
  border-radius: 4px;
}

.rocketrent .skeleton-title {
  width: 70%;
}

.rocketrent .skeleton-price {
  width: 40%;
}

.rocketrent .skeleton-specs {
  width: 60%;
}

.rocketrent .skeleton-address {
  width: 80%;
}

/* Pagination Styles */
.rocketrent .rental-units-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 16px 0;
}

.rocketrent .pagination-button {
  padding: 8px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background-color: white;
  color: #1a202c;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rocketrent .pagination-button:hover:not([disabled]) {
  background-color: #f7fafc;
  border-color: #cbd5e0;
}

.rocketrent .pagination-button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f7fafc;
}

.rocketrent .pagination-info {
  color: #4a5568;
  font-size: 16px;
}
