.search-page {
  padding: 40px 0;
}

.search-page h1 {
  font-size: 32px;
  margin-bottom: 30px;
}

.search-form {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.search-form input,
.search-form select {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.search-form input:focus,
.search-form select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.search-form button {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  grid-column: 1 / -1;
}

.search-form button:hover {
  background-color: #0056b3;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.result-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.result-card h3 {
  margin-bottom: 10px;
  color: #333;
}

.result-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.result-card .price {
  font-size: 20px;
  font-weight: 600;
  color: #007bff;
  display: block;
  margin-bottom: 10px;
}

.result-card .location {
  font-size: 12px;
  color: #999;
  font-weight: 500;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #999;
}

@media (max-width: 768px) {
  .search-form {
    grid-template-columns: 1fr;
  }

  .search-form button {
    grid-column: 1;
  }
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 20px;
}

.auth-form {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
}

.auth-form h1 {
  margin-bottom: 30px;
  text-align: center;
  color: #333;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-group input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.auth-form button {
  width: 100%;
  background-color: #007bff;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.auth-form button:hover {
  background-color: #0056b3;
}

.auth-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-form p {
  text-align: center;
  margin-top: 20px;
  color: #666;
}

.auth-form a {
  color: #007bff;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid #f5c6cb;
}

@media (max-width: 480px) {
  .auth-form {
    padding: 20px;
  }
}

.navigation {
  background-color: #ffffff;
  padding: 1rem 0;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.nav-brand {
  text-decoration: none;
  color: #007bff;
  font-size: 1.5rem;
  font-weight: bold;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-brand:hover {
  color: #0056b3;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex: 1;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.nav-link:hover {
  color: #007bff;
  background-color: #f0f5ff;
}

.nav-link.active {
  color: #007bff;
  font-weight: 600;
}

.nav-link.add-listing-link {
  background-color: #007bff;
  color: white;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
}

.nav-link.add-listing-link:hover {
  background-color: #0056b3;
  color: white;
}

.user-email {
  color: #666;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-link.logout-button {
  background-color: #dc3545;
  color: white;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  border-radius: 4px;
}

.nav-link.logout-button:hover {
  background-color: #c82333;
  color: white;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .nav-container {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav-links {
    flex-basis: 100%;
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .nav-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.9rem;
  }

  .nav-link.add-listing-link {
    padding: 0.5rem 1rem;
  }

  .nav-link.logout-button {
    padding: 0.5rem 1rem;
  }

  .user-email {
    font-size: 0.85rem;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #333;
  background-color: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-size: 18px;
  color: #666;
}

main {
  min-height: calc(100vh - 80px);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 10px;
  }
}

html, body, #root {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* Reset */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  cursor: pointer;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.2s ease;
}

button:hover {
  opacity: 0.9;
}

input, textarea, select {
  font-family: inherit;
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}


/*# sourceMappingURL=main.css.map*/