/* Page layout */
html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f3f4f6;
  /*background-image: url("background_logo.png");*/
  background-color: #cccccc;
  margin: 0;
  padding: 0;
  color: #111827;
  padding-bottom: 60px; /* space for footer */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Wraps all content except footer */
.page-wrapper {
  flex: 1 0 auto;
}
header {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  padding: 50px 20px;
  text-align: center;
}
header h1 {
  font-size: 36px;
  margin-bottom: 10px;
}
header p {
  font-size: 16px;
  opacity: 0.9;
}
a {
  text-decoration: none;
}
.container {
  max-width: 1100px;
  margin: -40px auto 40px;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  flex: 1; /* this makes the container take remaining space */
}
.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}
select, button {
  padding: 12px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
}
button {
  background: #2563eb;
  color: white;
  border: none;
  font-weight: 600;
  cursor: pointer;
}
button:hover {
  background: #1d4ed8;
}

.results {
  display: flex !important;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}


.submit-btn {
  display:inline-block;
  background:#2563eb;
  color:white;
  padding:14px 22px;
  border-radius:8px;
  font-weight:600;
  text-decoration:none;
  font-size: 14px;
}
.submit-btn:hover {
  background: #1d4ed8;
}
/* Footer */
footer {
  flex-shrink: 0;
  background: #f1f5f9;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
}
footer a {
  color: #2563eb;
  text-decoration: none;
}


/* CARD LINK */
.listing-card-link {
  text-decoration: none;
  color: inherit; /* Keep text color */
}

.listing-card {
  background: #ffffff;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  margin-bottom: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.listing-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
.listing-card h3.name {
  margin: 0 0 6px;
  font-size: 1.1rem;
  text-decoration: none;
  color: #111827;
}

.listing-card p.meta {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 6px;
  margin-top: 0;
  text-decoration: none;
}

.listing-card p.link {
  display: inline-block;
  margin-top: 10px;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.listing-card.paid {
  border: 2px solid #2563eb;
  background: #f8fbff;
  position: relative;
}
.listing-card.paid::before {
  content: 'FEATURED';
  position:absolute;
  top:-10px;
  right:-10px;
  background:#2563eb;
  color: white;
  font-size:12px;
  font-weight:700;
  padding:6px 10px;
  border-radius:999px;
}
