/* Index with data Styling */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.1));
  backdrop-filter: blur(15px);
  box-sizing: border-box;
}

/* Content Container */
.content-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Centered Heading */
.centered-heading {
  text-align: center;
  margin-top: 20px;
}

/* Renter Cards Container */
.renter-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* Spacing between cards */
  padding: 10px;
  gap: 20px; /* Adds space between cards */
}

/* Renter Card */
.renter-card {
  background-color: rgba(255, 255, 255, 0.8); /* Make the card stand out more */
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex: 1 1 30%; /* Adjust to fit 3 cards per row */
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  height: 450px;
  max-width: 100%;
}

.renter-card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Card Title */
.card-title {
  font-size: 1.2em;
  margin-bottom: 15px;
  font-weight: bold;
}

/* Card Details */
.card-details {
  font-size: 0.95em;
  margin-bottom: 15px;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  justify-content: space-between; /* Ensure buttons are spaced evenly */
  margin-top: auto; /* Push the buttons to the bottom */
}

.action-buttons .btn {
  padding: 10px 12px;
  font-size: 0.85em;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary {
  background-color: #1d2b53;
  color: white;
}

.btn-warning {
  background-color: #f0ad4e;
  color: white;
}

.btn-info {
  background-color: #5bc0de;
  color: white;
}

.btn-danger {
  background-color: #d9534f;
  color: white;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.filter-tab {
  padding: 10px 20px;
  margin: 0 5px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  color: #1d2b53;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.filter-tab:hover {
  background-color: #1d2b53;
  color: white;
}

.filter-tab.active {
  background-color: #1d2b53;
  color: white;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Search Bar */
.search-bar {
  text-align: center;
  margin: 20px 0;
}



.search-bar input {
  padding: 10px;
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.search-bar input:focus {
  border-color: #1d2b53;
  outline: none;
}

/* No Results Message */
#noResults {
  text-align: center;
  color: #d9534f;
  font-weight: bold;
  margin-top: 20px;
}

h2{
  text-align: center;
}
