body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.food-trucks-container {
  flex: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
}

.page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.page-header h2 {
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  color: #6b7280;
  font-size: 1.125rem;
}

.filters {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.search-box {
  flex: 1;
  min-width: 250px;
}

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.search-box input:focus {
  outline: none;
  border-color: #667eea;
}

.filter-options {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.filter-options label {
  font-weight: 600;
  color: #1f2937;
}

.filter-options select {
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  background: white;
  min-width: 200px;
}

.filter-options select:focus {
  outline: none;
  border-color: #667eea;
}

.filter-submit-btn {
  padding: 0.75rem 1.5rem;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-submit-btn:hover {
  background: #5568d3;
  transform: translateY(-1px);
}

.trucks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.truck-card-full {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

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

.truck-image {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.truck-icon {
  font-size: 4rem;
}

.open-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #10b981;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.truck-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.truck-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.truck-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #667eea;
}

.truck-info .truck-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.truck-description-container {
  margin-bottom: 1rem;
}

.truck-description {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.truck-description.truncated {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-btn {
  background: none;
  border: none;
  color: #667eea;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color 0.2s;
}

.read-more-btn:hover {
  color: #5568d3;
}

.truck-cuisines {
  margin-bottom: 1rem;
}

.truck-cuisine {
  display: inline-block;
  background: #667eea;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.truck-location,
.truck-address,
.truck-hours {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.truck-location .icon,
.truck-address .icon,
.truck-hours .icon {
  flex-shrink: 0;
}

.today-toggle-btn {
  width: 100%;
  background: #10b981;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0.75rem 0 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.today-toggle-btn:hover {
  background: #059669;
}

.today-toggle-btn .toggle-icon {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.today-toggle-btn.expanded .toggle-icon {
  transform: rotate(180deg);
}

.today-info {
  background: #f0fdf4;
  border: 2px solid #10b981;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.5rem;
  max-height: 500px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease, padding 0.3s ease;
  opacity: 1;
}

.today-info.collapsed {
  max-height: 0;
  opacity: 0;
  padding: 0 1rem;
  margin: 0;
  border-width: 0;
}

.today-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #10b981;
  flex-wrap: wrap;
}

.truck-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  flex-wrap: wrap;
}

.btn-small {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.btn-directions {
  background: #667eea;
  color: white;
}

.btn-directions:hover {
  background: #5568d3;
}

.btn-view-map {
  background: #f3f4f6;
  color: #1f2937;
  border: 1px solid #e5e7eb;
}

.btn-view-map:hover {
  background: #e5e7eb;
}

.btn-website {
  background: #764ba2;
  color: white;
}

.btn-website:hover {
  background: #5f3a82;
}

.truck-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.social-link {
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #6b7280;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.social-link.facebook:hover {
  background: #1877f2;
  color: white;
}

.social-link.twitter:hover {
  background: #000000;
  color: white;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
  font-size: 1.125rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 3rem 0;
  padding: 1rem;
}

.pagination-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  background: #667eea;
  color: white;
  font-weight: 600;
  transition: all 0.2s;
  border: 2px solid #667eea;
}

.pagination-btn:hover:not(.disabled) {
  background: #5568d3;
  border-color: #5568d3;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.pagination-btn.disabled {
  background: #e5e7eb;
  color: #9ca3af;
  border-color: #e5e7eb;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.pagination-number {
  min-width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
  color: #1f2937;
  font-weight: 600;
  background: white;
  border: 2px solid #e5e7eb;
  transition: all 0.2s;
}

.pagination-number:hover:not(.active) {
  border-color: #667eea;
  color: #667eea;
  transform: translateY(-2px);
}

.pagination-number.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

.pagination-ellipsis {
  color: #6b7280;
  font-weight: 600;
  padding: 0 0.25rem;
}

@media (max-width: 768px) {
  .food-trucks-container {
    padding: 1rem;
  }

  .page-header h2 {
    font-size: 2rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

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

  .filters {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }

  .filter-options {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-options select {
    width: 100%;
  }

  .pagination {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .pagination-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .pagination-numbers {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .pagination-number {
    min-width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
  }
}
