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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #dee2e6;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.nav-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.nav-btn {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: 1px solid #2980b9;
  padding: 8px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.nav-btn:hover {
  background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
  border-color: #21618c;
}

/* Alternative outlined button style (uncomment to use):
.nav-btn {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #3498db;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52,152,219,0.3);
}
*/

/* Main Container */
.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Search Section */
.search-section {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  transition: all 0.3s ease;
}

.search-section.has-filters {
  border-top: 3px solid #3498db;
}

.search-section h1 {
  color: #2c3e50;
  margin-bottom: 25px;
  font-size: 32px;
}

.search-section.has-filters h1 {
  margin-bottom: 10px;
}

.filter-status {
  color: #3498db;
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 500;
}

.filters {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 20px;
  margin-bottom: 25px;
  align-items: end;
}

.filters .button-group {
  align-self: end;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
}

.filter-group select,
.filter-group input[type="text"] {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.filter-group select:focus,
.filter-group input[type="text"]:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-help {
  display: block;
  margin-top: 5px;
  color: #6c757d;
  font-size: 13px;
  line-height: 1.4;
}

.button-group {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.button-group > * {
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-btn {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 46px;
  min-width: 140px;
  box-sizing: border-box;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.reset-btn {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  height: 46px;
  min-width: 140px;
  text-align: center;
  box-sizing: border-box;
}

.reset-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
  background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
}

/* Quick Search Buttons */
.quick-searches {
  border-top: 1px solid #e0e0e0;
  padding-top: 25px;
}

.quick-searches h3 {
  color: #555;
  margin-bottom: 15px;
  font-size: 18px;
}

.quick-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.quick-btn {
  opacity: 0.8;
  background: #27b1a1;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1.5;
}

.quick-btn:hover {
  transform: scale(1.01);
  //box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.review-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.review-card.has-quote {
  border-top: 3px solid #3498db;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 80px;
  color: rgba(52, 152, 219, 0.1);
  font-family: Georgia, serif;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.review-header {
  margin-bottom: 15px;
}

.reviewer-name {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 5px;
}

.review-meta {
  font-size: 14px;
  color: #7f8c8d;
}

.review-snippet {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.review-quote {
  font-style: italic;
  color: #2c3e50;
  font-size: 17px;
  margin-bottom: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #2980b9;
  transform: translateX(5px);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination a {
  background: white;
  color: #3498db;
  border: 2px solid #e0e0e0;
}

.pagination a:hover {
  background: #3498db;
  color: white;
  border-color: #3498db;
}

.pagination .current {
  background: #3498db;
  color: white;
  border: 2px solid #3498db;
}

/* Review Count */
.review-count {
  text-align: center;
  color: #666;
  font-size: 16px;
  margin-top: 20px;
  padding: 15px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Full Review Page */
.review-full {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  max-width: 800px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.back-link:hover {
  transform: translateX(-5px);
}

.review-full-header {
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.review-full-header h1 {
  color: #2c3e50;
  margin-bottom: 10px;
}

.review-full-content {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
}

.review-full-content p {
  margin-bottom: 20px;
}

.review-full-content p:last-child {
  margin-bottom: 0;
}

/* Review Highlight Quote */
.review-highlight {
  margin: 30px 0;
  padding: 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 4px solid #3498db;
  border-radius: 8px;
}

.review-highlight blockquote {
  margin: 0;
  font-size: 22px;
  font-style: italic;
  color: #2c3e50;
  line-height: 1.6;
  font-weight: 500;
}

/* No Results Message */
.no-results {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.no-results p {
  font-size: 18px;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .filters {
    grid-template-columns: 1fr;
  }

  .button-group {
    flex-direction: column;
    width: 100%;
  }

  .button-group > * {
    width: 100%;
    text-align: center;
    white-space: normal;
    min-width: 100%;
    min-height: 46px;
  }

  .nav-buttons {
    justify-content: center;
  }

  .header-content {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-full {
    padding: 25px;
  }

  .quick-btn-group {
    justify-content: center;
  }

  .search-help {
    font-size: 12px;
  }
}
