/* Vehicle Compare Styles */

.compare-container {
  margin-top: 30px;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 255, 204, 0.2);
}

.compare-table th {
  background-color: rgba(0, 0, 0, 0.5);
  color: #00ffcc;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

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

.compare-table tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.2);
}

.compare-table tr:hover {
  background-color: rgba(0, 255, 204, 0.1);
}

.compare-feature-name {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.compare-vehicle-column {
  min-width: 200px;
}

.compare-vehicle-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
}

.compare-vehicle-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #00ffcc;
  margin-bottom: 5px;
}

.compare-vehicle-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.compare-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 20px;
}

.compare-toggle {
  display: inline-flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 204, 0.5);
  border-radius: 4px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.compare-toggle:hover {
  background-color: rgba(0, 255, 204, 0.1);
}

.compare-toggle input {
  margin-right: 8px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .compare-table {
    font-size: 0.9rem;
  }
  
  .compare-table th,
  .compare-table td {
    padding: 8px 10px;
  }
  
  .compare-vehicle-column {
    min-width: 150px;
  }
}
