/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Montserrat:wght@400;600;700&family=Poppins:wght@400;600;700&display=swap');

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* Navbar */
.navbar {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.nav-brand {
  flex-shrink: 0;
}

.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0 0 2px 0;
}

.nav-subtitle {
  font-size: 0.75rem;
  color: #666;
  margin: 0;
  font-weight: 300;
  line-height: 1;
}

.nav-search {
  flex: 1;
  max-width: 600px;
  position: relative;
}

.nav-search #car-search {
  width: 100%;
  padding: 12px 20px;
  font-size: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: border-color 0.3s ease;
  outline: none;
}

.nav-search #car-search:focus {
  border-color: #3498db;
}

.mod-part-gray {
  color: #444;
}

.bible-part-blue {
  color: #3498db;
}

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px 0;
  text-align: center;
  margin-bottom: 0;
}

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

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 30px 0;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-feature {
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.hero-feature h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: white;
}

.hero-feature p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  font-size: 0.9rem;
}

/* Highlights Section */
.highlights-section {
  background: #f8f9fa;
  padding: 30px 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.highlight-card {
  background: white;
  padding: 25px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.highlight-header {
  margin-bottom: 12px;
}

.highlight-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: #667eea;
  line-height: 1;
  margin-bottom: 6px;
}

.highlight-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.highlight-card p {
  color: #666;
  line-height: 1.4;
  font-size: 0.85rem;
}

.header h1 {
  font-size: 3rem;
  font-weight: 300;
  color: #222;
  margin-bottom: 5px;
  letter-spacing: -1px;
}

.subtitle {
  font-size: 1.1rem;
  color: #666;
  font-weight: 300;
}

/* Footer */
.footer {
  margin-top: 40px;
  padding: 24px 0;
  border-top: 1px solid #e1e5e9;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

/* Search */
.search-container {
  position: relative;
  margin-bottom: 30px;
}

#car-search {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.1rem;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  background: white;
  transition: all 0.2s ease;
  outline: none;
}

#car-search:focus {
  border-color: #007aff;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* Autocomplete for navbar */
.nav-search .autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Autocomplete */
.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e1e5e9;
  border-top: none;
  border-radius: 0 0 12px 12px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.autocomplete-item {
  padding: 12px 24px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.1s ease;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
  background-color: #f8f9fa;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

/* Results */
.results {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

#car-info {
  background: white;
  padding: 0;
  border-radius: 20px;
  border: 1px solid #f0f0f0;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.car-header {
  position: relative;
  margin-bottom: 0;
}

.car-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0;
  border: none;
  display: block;
}

.car-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 40px 24px 24px 24px;
}

.car-header.has-placeholder .car-overlay {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.95));
}

.car-header.has-placeholder .car-overlay .car-info-text h2 {
  color: white !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 1) !important;
}

.car-header.has-placeholder .car-overlay .car-mods-count {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 1) !important;
}

.car-info-text {
  color: white;
}

#car-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.car-mods-count {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.car-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.car-card-content {
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.car-info {
  flex: 1;
}

.car-make {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.car-model {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px 0;
  line-height: 1.1;
}

.car-generation {
  font-weight: 500;
  color: #6b7280;
}

.car-card .car-mods-count {
  font-size: 16px;
  color: #6b7280;
  font-weight: 500;
  text-shadow: none;
}

.car-actions {
  margin-left: 24px;
  display: flex;
  gap: 12px;
}

.car-actions .add-button,
.car-actions .share-button {
  background: #f8fafc;
  color: #374151;
  border: 1px solid #e5e7eb;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.car-actions .add-button svg,
.car-actions .share-button svg {
  width: 18px;
  height: 18px;
}

.car-actions .add-button:hover,
.car-actions .share-button:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.car-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Image Placeholder */
.car-image-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.car-image-placeholder::before {
  content: "";
}

/* Airbnb-style Tag Filters */
.tag-filters {
  padding: 20px 24px;
  margin-top: 0;
  border-top: 1px solid #e8e8e8;
  background: #ffffff;
  border-radius: 0 0 16px 16px;
}

.filter-label {
  font-weight: 600;
  color: #222;
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: block;
}

.filter-toggles {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-toggle {
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #ddd;
  background: #ffffff;
  color: #717171;
  transition: all 0.15s ease;
  user-select: none;
  text-transform: capitalize;
  min-width: fit-content;
  white-space: nowrap;
}

.filter-toggle:hover {
  border-color: #222;
  background: #f7f7f7;
}

.filter-toggle.active {
  background: #222;
  color: #ffffff;
  border-color: #222;
}

/* Subtle category styling - all use same black/white theme */
.filter-toggle.handling.active,
.filter-toggle.performance.active,
.filter-toggle.sound.active,
.filter-toggle.aesthetic.active,
.filter-toggle.reliability.active {
  background: #222;
  color: #ffffff;
  border-color: #222;
}

/* Mods */
#mods-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 12px;
}

.mod-card {
  background: white;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #e1e5e9;
  transition: all 0.2s ease;
}

.mod-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.mod-header {
  margin-bottom: 6px;
}

.mod-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
}

.mod-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #007aff;
  margin-bottom: 10px;
}

.mod-description {
  color: #666;
  margin-bottom: 12px;
  line-height: 1.5;
}

.mod-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  background: #f0f4f8;
  color: #334155;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.tag.handling { background: #e7f3ff; color: #0066cc; }
.tag.performance { background: #fff0e7; color: #cc4400; }
.tag.sound { background: #f0e7ff; color: #6600cc; }
.tag.aesthetic { background: #e7fff0; color: #00aa44; }
.tag.reliability { background: #f5f5f5; color: #666666; }

/* Mod Popup */
.mod-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.mod-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.mod-popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 16px;
  max-width: 960px;
  width: 95%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: popupFadeIn 0.2s ease;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.mod-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mod-popup-close:hover {
  background: #f0f0f0;
  color: #333;
}

#mod-popup-body {
  padding: 32px;
}

.mod-popup .mod-header {
  margin-bottom: 24px;
}

.mod-popup .mod-name {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px 0;
  line-height: 1.1;
}

.mod-popup .mod-share {
  display: flex;
  justify-content: flex-start;
}

.mod-popup .mod-share .share-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mod-popup .mod-share .share-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.mod-popup .mod-share .share-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
}

.mod-popup .mod-share .share-button svg {
  width: 14px;
  height: 14px;
}

.mod-popup .mod-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #007aff;
  margin-bottom: 24px;
  padding: 8px 16px;
  background: rgba(0, 122, 255, 0.08);
  border-radius: 8px;
  display: inline-block;
}

.mod-popup .mod-description {
  color: #444;
  margin-bottom: 32px;
  line-height: 1.7;
  font-size: 1.05rem;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #007aff;
}

.mod-popup .mod-sources {
  margin-bottom: 32px;
}

.mod-popup .sources-label {
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  display: block;
  font-size: 1.1rem;
}

.mod-popup .sources-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mod-popup .source-link {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid #28a745;
}

.mod-popup .source-link:hover {
  background: #e9ecef;
  transform: translateX(2px);
}

.mod-popup .source-link-icon {
  width: 24px;
  height: 24px;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  flex-shrink: 0;
  overflow: hidden;
}

.mod-popup .source-favicon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.mod-popup .source-favicon-fallback {
  font-size: 12px;
  color: #28a745;
}

.mod-popup .source-name {
  color: #28a745;
  font-weight: 600;
  font-size: 0.9rem;
}

.mod-popup .mod-community {
  margin-bottom: 32px;
}

.mod-popup .community-label {
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  display: block;
  font-size: 1.1rem;
}

.mod-popup .community-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mod-popup .community-link {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
  position: relative;
  overflow: hidden;
}

.mod-popup .community-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mod-popup .community-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
}

.mod-popup .community-link:hover::before {
  opacity: 1;
}

.mod-popup .community-link-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 18px;
  color: white;
  flex-shrink: 0;
  overflow: hidden;
}

.mod-popup .favicon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.mod-popup .favicon-fallback {
  font-size: 16px;
}

.mod-popup .community-link-content {
  flex: 1;
  min-width: 0;
}

.mod-popup .community-link-title {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  margin-bottom: 2px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mod-popup .community-link-forum {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mod-popup .community-link-arrow {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.mod-popup .community-link:hover .community-link-arrow {
  transform: translateX(3px);
}

.mod-popup .no-community-links {
  color: #999;
  font-style: italic;
  font-size: 0.9rem;
}


.mod-popup .mod-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.mod-popup .tag {
  font-size: 0.9rem;
  padding: 6px 14px;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 30px 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .hero-features {
    gap: 20px;
  }
  
  .feature-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }
  
  .hero-feature h3 {
    font-size: 1.1rem;
  }
  
  .highlights-section {
    padding: 25px 0;
  }
  
  .highlight-grid {
    gap: 20px;
  }
  
  .highlight-card {
    padding: 20px 15px;
  }
  
  .highlight-number {
    font-size: 2rem;
  }
  
  .car-image {
    height: 250px;
  }
  
  .car-overlay {
    padding: 32px 20px 20px 20px;
  }
  
  #car-info h2 {
    font-size: 1.8rem;
  }
  
  .car-badge {
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .car-image-placeholder {
    height: 250px;
  }
  
  .car-image-placeholder::before {
    font-size: 3rem;
  }
  
  .tag-filters {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 25px 0;
  }
  
  .hero-content {
    padding: 0 16px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .hero-features {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .feature-icon {
    font-size: 1.6rem;
  }
  
  .hero-feature h3 {
    font-size: 1rem;
  }
  
  .hero-feature p {
    font-size: 0.85rem;
  }
  
  .highlights-section {
    padding: 20px 0;
  }
  
  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .highlight-card {
    padding: 20px 15px;
  }
  
  .highlight-number {
    font-size: 1.8rem;
  }
  
  .highlight-label {
    font-size: 0.9rem;
  }
  
  .container {
    padding: 20px 16px;
  }
  
  .header h1 {
    font-size: 2.5rem;
  }
  
  #car-search {
    padding: 16px 20px;
    font-size: 1rem;
  }
  
  .car-image {
    height: 200px;
  }
  
  .car-overlay {
    padding: 24px 16px 16px 16px;
  }
  
  #car-info h2 {
    font-size: 1.6rem;
  }
  
  .car-mods-count {
    font-size: 0.9rem;
  }
  
  .car-image-placeholder {
    height: 200px;
  }
  
  .car-image-placeholder::before {
    font-size: 2.5rem;
  }
}

/* Merchants Admin Page */
.merchants-table-container {
  background: #fff;
  border: 1px solid #ddd;
  overflow: hidden;
  margin-bottom: 40px;
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

.merchants-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.merchants-table th {
  background: #f5f5f5;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #ddd;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.merchants-table th:nth-child(2) {
  text-align: left;
}

.merchants-table th:last-child {
  text-align: right;
}

.merchants-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.merchants-table tr:last-child td {
  border-bottom: none;
}

.merchants-table tr:hover {
  background: #f9f9f9;
}

.merchants-table tr:nth-child(odd) {
  background: #fafafa;
}

.merchants-table tr:nth-child(odd):hover {
  background: #f5f5f5;
}

.merchants-table .merchant-name {
  font-weight: 500;
  color: #333;
  font-size: 13px;
}

.merchants-table .merchant-website {
  text-align: left;
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

.merchants-table .website-link {
  color: #0066cc;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  transition: color 0.2s ease;
  word-break: break-all;
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

.merchants-table .website-link:hover {
  color: #004499;
  text-decoration: underline;
}

.merchants-table .no-website {
  color: #999;
  font-style: italic;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.merchants-table .mod-count {
  text-align: right;
  font-weight: 600;
  color: #666;
  font-size: 13px;
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

/* Responsive adjustments for merchants table */
@media (max-width: 640px) {
  .merchants-table th,
  .merchants-table td {
    padding: 12px 16px;
  }
  
  .merchants-table th {
    font-size: 0.8rem;
  }
}
