/* General Styles */
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  background-color: #f7f7f7;
}

.container {
  max-width: 1400px;
}

/* Header Styles */
header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

header .navbar-brand,
nav .navbar-brand {
  font-weight: bold;
  color: #ff385c;
  font-size: 1.5rem;
}

header .nav-link {
  color: #484848;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 20px;
  transition:
    background-color 0.2s,
    color 0.2s;
}

header .nav-link:hover {
  background-color: #f0f0f0;
  color: #ff385c;
}

header .nav-link.active {
  color: #ff385c;
}

/* Listing Card Styles */
.listing-card {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumbnail-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.listing-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 8px 15px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
}

/* Card Body Styles */
.card-body {
  padding: 1.25rem;
}

.listing-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #181818;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  overflow: hidden;
}

/* Host Info Styles */
.host-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.host-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
}

.host-name {
  font-weight: 500;
  color: #232323;
  font-size: 0.9rem;
}

.superhost-badge {
  font-size: 0.7rem;
  padding: 2px 6px;
  margin-left: auto;
}

/* Rating Styles */
.rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating-stars {
  font-size: 1rem;
}

.rating-text {
  font-size: 0.85rem;
  color: #666;
}

/* Description Styles */
.description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  min-height: 60px;
}

/* Amenities Styles */
.amenities {
  font-size: 0.85rem;
}

.amenities strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
}

.amenities-list {
  color: #666;
  line-height: 1.6;
}

/* Listing Details */
.listing-details {
  padding-top: 0.75rem;
  border-top: 1px solid #e0e0e0;
}

/* Actions */
.actions .btn {
  margin-top: 0.5rem;
  background-color: #ff385c;
  border-color: #ff385c;
  font-weight: 500;
}

.actions .btn:hover {
  background-color: #e61e4d;
  border-color: #e61e4d;
}

/* Footer */
footer {
  margin-top: 3rem;
  padding: 2rem 0;
  text-align: center;
  color: #666;
  border-top: 1px solid #e0e0e0;
}

/* Form Styles */
#form-create-listing {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#form-create-listing h2 {
  color: #333;
  margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .listing-card {
    margin-bottom: 1.5rem;
  }

  .thumbnail-container {
    height: 200px;
  }
}
