body {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */
.navbar {
  height: 4rem;
  background-color: white;
  display: flex;
  align-items: center;
}

.navbar-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-name {
  font-size: 22px;
  font-family: "Poppins", sans-serif;
  margin-bottom: 0;
}

.fa-compass {
  color: #fe424d;
  font-size: 2rem;
}

.search-btn {
  background-color: #fe424d;
  color: white;
  border-radius: 25px;
  padding: 0 1rem;
  white-space: nowrap;
}

.search-btn:hover {
  background-color: #fe424d;
  color: white;
}

.search-btn i {
  margin-right: 0.5rem;
}

.search-input {
  border-radius: 25px;
  padding: 0.5rem 2rem;
  font-size: 1rem;
}

.user-btn {
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
}

.user-btn img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 50%;
}

.user-btn i {
  font-size: 1.2rem;
  color: gray;
}

/* Footer */
footer {
  background-color: #f8f9fa;
  padding: 20px 0;
}

footer ul {
  padding: 0;
  list-style: none;
}

footer ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

footer ul li b {
  font-size: 16px;
  font-weight: 600;
}

footer .d-flex span {
  cursor: pointer;
}

footer .d-flex span:hover {
  text-decoration: underline;
}

/* Index Page */
.listing-card {
  border: none !important;
  margin-bottom: 2rem;
  transition: transform 0.2s ease-in-out;
}

.listing-card:hover {
  transform: scale(1.02);
}

.card-img-top {
  border-radius: 1rem !important;
  width: 100% !important;
  object-fit: cover !important;
  height: 17rem;
}

.card-body {
  padding: 0 !important;
}

.card-text p {
  font-weight: 400 !important;
  margin: 0;
}

.listing-link {
  text-decoration: none;
  color: inherit;
}

.card-img-overlay {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.card-img-overlay:hover {
  opacity: 0.2;
  background-color: rgba(255, 255, 255, 0.5);
}

/* Show Page */
.listing-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

/* New & Edit Page*/

.preview-img {
  width: 250px !important;
  height: 150px !important;
}

.edit-btn,
.add-btn {
  background-color: #fe424d;
  color: white;
}

/* Login & Signup section */

.signup-container,
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px);
  padding: 20px;
  box-sizing: border-box;
}

.signup-box,
.login-box {
  width: 100%;
  max-width: 500px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.signup-box h1,
.login-box h1 {
  margin-bottom: 20px;
}

.signup-box h1 span,
.login-box h1 span {
  color: #fe424d;
}

/* Profile Page */

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.tab {
  background: #f5f5f5;
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: 0.3s;
}

.tab.active {
  background: #fe424d;
  color: white;
}

/* Tab Content */
.tab-content {
  width: 100%;
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

.tab-pane {
  display: none;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.tab-pane.active {
  display: block;
}

/* Logout Button */
.logout-btn {
  display: block;
  margin: 20px auto;
  background: #fe424d;
  color: white;
  padding: 12px 18px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
  width: 100%;
  max-width: 200px;
  transition: 0.3s;
}

.logout-btn:hover {
  background: #e13050;
}

/* Bookings & Listings */
.booking {
  cursor: pointer;
}

.booking,
.listing {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f8f8f8;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Image */
.booking img,
.listing img {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  object-fit: cover;
}

/* Info */
.booking-info,
.listing-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.booking-info h3,
.listing-info h3 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.booking-info p,
.listing-info p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* Buttons */
.buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.edit-btn,
.delete-btn {
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.edit-btn {
  background: #000000;
  color: white;
}

.delete-btn {
  background: #fe424d;
  color: white;
}

/* New Listing Button */
.new-listing {
  background: #fe424d;
  color: white;
  border: none;
  padding: 10px;
  margin-bottom: 2rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  max-width: 200px;
  transition: 0.3s;
}

.new-listing:hover {
  background: #e13050;
}
