/* Superchargers module styles */
/* Horizontální scroll pro tabulky na mobilech - přidat na konec superchargers.css */

/* Wrapper pro scrollable tabulky */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  position: relative;
}

/* Základní styling pro všechny tabulky */
.superchargers-table,
.nearest-superchargers-table,
.cheapest-superchargers-table,
.route-superchargers-table,
.analytics-table {
  min-width: 700px; /* Minimální šířka pro zachování čitelnosti */
  margin-bottom: 0; /* Odstraní default margin */
  width: 100%;
  border-collapse: collapse;
}

/* Analytics table má širší minimum */
.analytics-table {
  min-width: 800px;
}

/* Základní styling pro všechny tabulky - headers a cells */
.superchargers-table th,
.superchargers-table td,
.nearest-superchargers-table th,
.nearest-superchargers-table td,
.cheapest-superchargers-table th,
.cheapest-superchargers-table td,
.route-superchargers-table th,
.route-superchargers-table td,
.analytics-table th,
.analytics-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #dee2e6;
}

/* Headers pro všechny tabulky */
.superchargers-table th,
.nearest-superchargers-table th,
.cheapest-superchargers-table th,
.route-superchargers-table th,
.analytics-table th {
  background-color: #f8f9fa;
  font-weight: bold;
  border-bottom: 2px solid #dee2e6;
}

/* Hover effect pro všechny tabulky */
.superchargers-table tbody tr:hover,
.nearest-superchargers-table tr:hover,
.cheapest-superchargers-table tr:hover,
.route-superchargers-table tr:hover,
.analytics-table tr:hover {
  background-color: #f8f9fa;
}

/* Mobilní optimalizace */
@media (max-width: 768px) {
  .table-wrapper {
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin-left: -1rem;
    margin-right: -1rem;
  }
  
  .superchargers-table,
  .nearest-superchargers-table,
  .cheapest-superchargers-table,
  .route-superchargers-table {
    font-size: 0.875rem;
    min-width: 600px;
  }
  
  .analytics-table {
    font-size: 0.875rem;
    min-width: 700px;
  }
  
  .superchargers-table th,
  .superchargers-table td,
  .nearest-superchargers-table th,
  .nearest-superchargers-table td,
  .cheapest-superchargers-table th,
  .cheapest-superchargers-table td,
  .route-superchargers-table th,
  .route-superchargers-table td,
  .analytics-table th,
  .analytics-table td {
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
  }
  
  /* Zmenšit tlačítka na mobilech */
  .superchargers-table .button--small,
  .nearest-superchargers-table .button--small,
  .cheapest-superchargers-table .button--small,
  .route-superchargers-table .button--small {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
  }
}

/* Velmi malé obrazovky */
@media (max-width: 480px) {
  .superchargers-table,
  .nearest-superchargers-table,
  .cheapest-superchargers-table,
  .route-superchargers-table {
    font-size: 0.8rem;
    min-width: 550px;
  }
  
  .analytics-table {
    font-size: 0.8rem;
    min-width: 650px;
  }
  
  .superchargers-table th,
  .superchargers-table td,
  .nearest-superchargers-table th,
  .nearest-superchargers-table td,
  .cheapest-superchargers-table th,
  .cheapest-superchargers-table td,
  .route-superchargers-table th,
  .route-superchargers-table td,
  .analytics-table th,
  .analytics-table td {
    padding: 0.4rem 0.6rem;
  }
}

/* Scroll indikátor pomocí stínu */
.table-wrapper::before,
.table-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10px;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.table-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.8), transparent);
}

.table-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,0.8), transparent);
}

/* Scroll hint message */
.scroll-hint {
  display: none;
  text-align: center;
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 0.5rem;
  font-style: italic;
}

@media (max-width: 768px) {
  .scroll-hint {
    display: block;
  }
}

/* Sticky první sloupec s pozadím - PRO VŠECHNY TABULKY */
.superchargers-table th:first-child,
.superchargers-table td:first-child,
.nearest-superchargers-table th:first-child,
.nearest-superchargers-table td:first-child,
.cheapest-superchargers-table th:first-child,
.cheapest-superchargers-table td:first-child,
.route-superchargers-table th:first-child,
.route-superchargers-table td:first-child,
.analytics-table th:first-child,
.analytics-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  box-shadow: 2px 0 4px rgba(0,0,0,0.1);
}

/* Pozadí pro první sloupec - header - PRO VŠECHNY TABULKY */
.superchargers-table th:first-child,
.nearest-superchargers-table th:first-child,
.cheapest-superchargers-table th:first-child,
.route-superchargers-table th:first-child,
.analytics-table th:first-child {
  background: #f8f9fa;
  z-index: 3;
}

/* Pozadí pro první sloupec - buňky - PRO VŠECHNY TABULKY */
.superchargers-table td:first-child,
.nearest-superchargers-table td:first-child,
.cheapest-superchargers-table td:first-child,
.route-superchargers-table td:first-child,
.analytics-table td:first-child {
  background: white;
}

/* Pozadí pro hover stav - PRO VŠECHNY TABULKY */
.superchargers-table tr:hover td:first-child,
.nearest-superchargers-table tr:hover td:first-child,
.cheapest-superchargers-table tr:hover td:first-child,
.route-superchargers-table tr:hover td:first-child,
.analytics-table tr:hover td:first-child {
  background: #f8f9fa;
}

/* Gradient na kraji sticky sloupce - PRO VŠECHNY TABULKY */
.superchargers-table th:first-child::after,
.superchargers-table td:first-child::after,
.nearest-superchargers-table th:first-child::after,
.nearest-superchargers-table td:first-child::after,
.cheapest-superchargers-table th:first-child::after,
.cheapest-superchargers-table td:first-child::after,
.route-superchargers-table th:first-child::after,
.route-superchargers-table td:first-child::after,
.analytics-table th:first-child::after,
.analytics-table td:first-child::after {
  content: '';
  position: absolute;
  top: 0;
  right: -8px;
  bottom: 0;
  width: 8px;
  background: linear-gradient(to right, rgba(0,0,0,0.1), transparent);
  pointer-events: none;
}

/* Mobilní optimalizace sticky sloupce s word wrapping - PRO VŠECHNY TABULKY */
@media (max-width: 768px) {
  .superchargers-table th:first-child,
  .superchargers-table td:first-child,
  .nearest-superchargers-table th:first-child,
  .nearest-superchargers-table td:first-child,
  .cheapest-superchargers-table th:first-child,
  .cheapest-superchargers-table td:first-child,
  .route-superchargers-table th:first-child,
  .route-superchargers-table td:first-child,
  .analytics-table th:first-child,
  .analytics-table td:first-child {
    min-width: 120px; /* Zmenšit minimální šířku */
    max-width: 150px; /* Maximální šířka */
    width: 140px; /* Pevná šířka */
    white-space: normal; /* Povolit zalamování */
    word-wrap: break-word; /* Zalamovat dlouhá slova */
    word-break: break-word; /* Zlomit dlouhá slova */
    overflow-wrap: break-word; /* Moderní verze word-wrap */
    hyphens: auto; /* Automatické spojovníky */
    line-height: 1.3; /* Menší řádkování */
    padding: 0.4rem 0.6rem; /* Zmenšit padding */
  }
  
  /* Všechny ostatní sloupce mají white-space: nowrap - PRO VŠECHNY TABULKY */
  .superchargers-table th:not(:first-child),
  .superchargers-table td:not(:first-child),
  .nearest-superchargers-table th:not(:first-child),
  .nearest-superchargers-table td:not(:first-child),
  .cheapest-superchargers-table th:not(:first-child),
  .cheapest-superchargers-table td:not(:first-child),
  .route-superchargers-table th:not(:first-child),
  .route-superchargers-table td:not(:first-child),
  .analytics-table th:not(:first-child),
  .analytics-table td:not(:first-child) {
    white-space: nowrap;
  }
}

/* Velmi malé obrazovky - ještě menší první sloupec - PRO VŠECHNY TABULKY */
@media (max-width: 480px) {
  .superchargers-table th:first-child,
  .superchargers-table td:first-child,
  .nearest-superchargers-table th:first-child,
  .nearest-superchargers-table td:first-child,
  .cheapest-superchargers-table th:first-child,
  .cheapest-superchargers-table td:first-child,
  .route-superchargers-table th:first-child,
  .route-superchargers-table td:first-child,
  .analytics-table th:first-child,
  .analytics-table td:first-child {
    min-width: 100px;
    max-width: 120px;
    width: 110px;
    font-size: 0.8rem;
    line-height: 1.2;
  }
}

/* Styling pro odkazy v první sloupci - PRO VŠECHNY TABULKY */
.superchargers-table td:first-child a,
.nearest-superchargers-table td:first-child a,
.cheapest-superchargers-table td:first-child a,
.route-superchargers-table td:first-child a,
.analytics-table td:first-child a {
  display: block;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.3;
}

/* General layout */
.superchargers-filters {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.superchargers-filters .form--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: end;
}

.superchargers-filters .form--inline .form-item {
  margin-bottom: 0;
  flex: 0 0 auto;
}

.superchargers-filters .form--inline .form-item label {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.action-links {
  margin-bottom: 1rem;
}

.action-links a {
  margin-right: 0.5rem;
}

/* Supercharger detail page */
.supercharger-basic-info {
  margin-bottom: 2rem;
}

.supercharger-basic-info h2 {
  margin-bottom: 0.5rem;
  color: #333;
}

.supercharger-address {
  margin-bottom: 1rem;
  color: #666;
}

.supercharger-technical ul {
  list-style: none;
  padding: 0;
}

.supercharger-technical li {
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  background: #f8f9fa;
  border-radius: 4px;
}

.supercharger-actions {
  margin-top: 2rem;
}

.supercharger-actions a {
  margin-right: 1rem;
}

/* Pricing display */
.pricing-details {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.pricing-group {
  margin-bottom: 1.5rem;
}

.pricing-group:last-child {
  margin-bottom: 0;
}

.pricing-group h4 {
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 1.1rem;
}

.pricing-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-group li {
  padding: 0.5rem;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  margin-bottom: 0.25rem;
}

.pricing-group li:last-child {
  margin-bottom: 0;
}

/* Analytics page */
.analytics-summary {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  text-align: center;
}

.stat-item {
  background: white;
  padding: 1rem;
  border-radius: 4px;
  border: 1px solid #dee2e6;
}

.stat-item strong {
  font-size: 1.5rem;
  color: #007bff;
  display: block;
}

/* Reports summary */
.reports-summary {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* Map container */
#supercharger-map {
  height: 400px;
  width: 100%;
  border: 1px solid #dee2e6;
  border-radius: 4px;
}

/* Forms */
.form-item {
  margin-bottom: 1rem;
}

.form-item label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.form-item .description {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.25rem;
}

.form-actions {
  margin-top: 1.5rem;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.button:hover {
  background-color: #191838;
  text-decoration: none;
  color: white;
}

.button--primary {
  background-color: #28a745;
}

.button--primary:hover {
  background-color: #218838;
}

.button--secondary {
  background-color: #6c757d;
}

.button--secondary:hover {
  background-color: #5a6268;
}

/* Button styles */
.button--small {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.2;
  border-radius: 3px;
  display: inline-block;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
}

.button--small:hover {
  text-decoration: none;
}

.button--small.button--secondary {
  background-color: #6c757d;
  border-color: #6c757d;
  color: white;
}

.button--small.button--secondary:hover {
  background-color: #5a6268;
  border-color: #545b62;
  color: white;
}

.button--small:not(.button--secondary) {
  background-color: #007bff;
  border-color: #007bff;
  color: white;
}

.button--small:not(.button--secondary):hover {
  background-color: #191838;
  border-color: #004085;
  color: white;
}

/* Responsive design */
@media (max-width: 768px) {
  .superchargers-filters .form--inline {
    flex-direction: column;
    align-items: stretch;
  }
  
  .superchargers-filters .form--inline .form-item {
    flex: 1 1 auto;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .action-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .action-links a {
    margin-right: 0;
    text-align: center;
  }
}

/* Print styles */
@media print {
  .superchargers-filters,
  .action-links,
  .supercharger-actions,
  .form-actions {
    display: none;
  }
  
  .superchargers-table {
    border: 1px solid #000;
  }
  
  .superchargers-table th,
  .superchargers-table td {
    border: 1px solid #000;
  }
}

/* Pager styles */
.pager {
  margin: 20px 0;
  text-align: center;
}

.pager-items {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
}

.pager-item {
  display: inline-block;
  padding: 8px 12px;
  text-decoration: none;
  border: 1px solid #ddd;
  color: #333;
  background: #fff;
  border-radius: 4px;
  transition: all 0.2s ease;
  min-width: 20px;
  text-align: center;
}

.pager-item:hover {
  background: #f5f5f5;
  text-decoration: none;
  color: #333;
}

.pager-item.is-active {
  background: #0073aa;
  color: #fff;
  border-color: #0073aa;
  font-weight: bold;
}

.pager-ellipsis {
  border: none;
  background: none;
  padding: 8px 4px;
  color: #666;
}

.pager-prev,
.pager-next {
  font-weight: bold;
}

@media (max-width: 768px) {
  .pager-items {
    flex-wrap: wrap;
    gap: 3px;
  }
  
  .pager-item {
    padding: 6px 8px;
    font-size: 14px;
  }
}

/* Location-based functionality */
.user-location-info {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  border-left: 4px solid #007bff;
}

.smart-suggestion {
  background: #e8f5e8;
  border: 1px solid #28a745;
}

.smart-suggestion .fieldset-legend {
  background: #28a745;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.recommendation-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.nearest-option,
.cheapest-option,
.savings-info {
  background: white;
  padding: 1rem;
  border-radius: 4px;
  border: 1px solid #dee2e6;
}

.nearest-option {
  border-left: 4px solid #007bff;
}

.cheapest-option {
  border-left: 4px solid #28a745;
}

.savings-info {
  border-left: 4px solid #ffc107;
  background: #fff3cd;
}

.savings-info strong {
  color: #856404;
}

.route-cheapest-highlight {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.route-cheapest-highlight h4 {
  color: #155724;
  margin-top: 0;
}

/* Geolocation buttons */
.geolocation-btn,
.geolocation-nearest-btn {
  background: #17a2b8;
  border-color: #17a2b8;
  color: white;
  margin-left: 0.5rem;
}

.geolocation-btn:hover,
.geolocation-nearest-btn:hover {
  background: #138496;
  border-color: #138496;
}

.geolocation-btn:disabled,
.geolocation-nearest-btn:disabled {
  background: #6c757d;
  border-color: #6c757d;
  cursor: not-allowed;
}

/* Address input enhancements */
.address-input {
  width: 100%;
  max-width: 400px;
  margin-bottom: 0.5rem;
}

.geocode-btn {
  margin-left: 0.5rem;
}

/* Price calculator */
.price-calculator {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 1rem;
  margin-top: 1rem;
}

.price-calculator h3 {
  margin-top: 0;
  color: #495057;
}

.price-calculator .form-item {
  margin-bottom: 1rem;
}

.price-calculator label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.price-calculator input {
  width: 100px;
  padding: 0.375rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

.price-result {
  margin-top: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 4px;
  border: 1px solid #dee2e6;
}

.price-result h4 {
  margin-top: 0;
  color: #495057;
}

.price-result ul {
  margin: 0;
  padding-left: 1.5rem;
}

.price-result li {
  margin-bottom: 0.5rem;
}

/* Form enhancements */
.location-form,
.route-form {
  background: white;
  padding: 1rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  margin-top: 1rem;
}

.location-form fieldset,
.route-form fieldset {
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.location-form legend,
.route-form legend {
  padding: 0 0.5rem;
  font-weight: 600;
}

.location-form .form-item,
.route-form .form-item {
  margin-bottom: 1rem;
}

.location-form label,
.route-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.location-form input,
.location-form select,
.route-form input,
.route-form select {
  width: 100%;
  max-width: 300px;
  padding: 0.375rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Status indicators */
.status-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.status-indicator.available {
  background: #28a745;
}

.status-indicator.busy {
  background: #ffc107;
}

.status-indicator.offline {
  background: #dc3545;
}

/* Distance indicators */
.distance-indicator {
  font-size: 0.875rem;
  color: #6c757d;
  font-weight: 500;
}

.distance-indicator.near {
  color: #28a745;
}

.distance-indicator.medium {
  color: #ffc107;
}

.distance-indicator.far {
  color: #dc3545;
}

/* Recommendation cards styling */
.smart-suggestion .recommendation-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.smart-suggestion .recommendation-comparison > div {
  background: white;
  padding: 1rem;
  border-radius: 4px;
  border-left: 4px solid;
}

.smart-suggestion .recommendation-comparison > div:first-child {
  border-left-color: #007bff;
}

.smart-suggestion .recommendation-comparison > div:nth-child(2) {
  border-left-color: #28a745;
}

.smart-suggestion .recommendation-comparison > div:last-child {
  border-left-color: #ffc107;
}

.smart-suggestion .recommendation-comparison h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.smart-suggestion .recommendation-comparison p {
  margin: 0.5rem 0;
}

.smart-suggestion .recommendation-comparison a {
  text-decoration: none;
}

.smart-suggestion .recommendation-comparison a:hover {
  text-decoration: underline;
}

/* Table action buttons */
.nearest-superchargers-table .button--small,
.cheapest-superchargers-table .button--small {
  margin-right: 0.25rem;
}

.nearest-superchargers-table .button--small:last-child,
.cheapest-superchargers-table .button--small:last-child {
  margin-right: 0;
}

/* Responsive design for recommendation cards */
@media (max-width: 768px) {
  .smart-suggestion .recommendation-comparison {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .smart-suggestion .recommendation-comparison > div {
    padding: 0.75rem;
  }
  
  .recommendation-comparison {
    grid-template-columns: 1fr;
  }
}

/* block */
/* Random Superchargers Block Styles */
.random-superchargers-title {
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
  color: #333;
  border-bottom: 2px solid #191838;
  padding-bottom: 0.5rem;
}

.random-superchargers-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.random-supercharger-item {
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  transition: all 0.2s ease;
}

.random-supercharger-item:hover {
  border-color: #007bff;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
  transform: translateY(-1px);
}

.random-supercharger-item:last-child {
  margin-bottom: 0;
}

.supercharger-info {
  display: block;
}

.supercharger-link {
  font-weight: 600;
  color: #191838;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.3;
}

.supercharger-link:hover {
  color: #191838;
  text-decoration: underline;
}

.supercharger-location {
  display: block;
  color: #666;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  font-style: italic;
}

.supercharger-quick-info {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid #f0f0f0;
}

.random-superchargers-footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.view-all-link {
  font-size: 0.9rem;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.view-all-link:hover {
  color: #191838;
  text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
  .random-supercharger-item {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .random-superchargers-title {
    font-size: 1.1rem;
  }
  
  .supercharger-link {
    font-size: 0.9rem;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .random-superchargers-title {
    color: #f0f0f0;
    border-bottom-color: #4a90e2;
  }
  
  .random-supercharger-item {
    background: #2a2a2a;
    border-color: #444;
    color: #f0f0f0;
  }
  
  .random-supercharger-item:hover {
    border-color: #4a90e2;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.2);
  }
  
  .supercharger-link {
    color: #4a90e2;
  }
  
  .supercharger-link:hover {
    color: #6ba3f0;
  }
  
  .supercharger-location {
    color: #ccc;
  }
  
  .supercharger-quick-info {
    color: #aaa;
    border-top-color: #444;
  }
  
  .random-superchargers-footer {
    border-top-color: #444;
  }
  
  .view-all-link {
    color: #4a90e2;
  }
  
  .view-all-link:hover {
    color: #6ba3f0;
  }
}