.mpc-calculator {
  max-width: 1200px;
  margin: 20px auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.mpc-header {
  background: #f8f9fa;
  padding: 30px;
  text-align: center;
  border-bottom: 1px solid #e9ecef;
}

.mpc-header h2 {
  color: #333;
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 600;
}

.mpc-header p {
  color: #666;
  font-size: 16px;
  margin: 0;
}

.mpc-selectors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px;
  background: #fff;
  border-bottom: 1px solid #e9ecef;
}

.mpc-selector-group {
  display: flex;
  flex-direction: column;
}

.mpc-selector-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mpc-selector-group select {
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  font-size: 16px;
  background: #fff;
  transition: border-color 0.3s;
}

.mpc-selector-group select:focus {
  outline: none;
  border-color: #007bff;
}

.mpc-selector-group select:disabled {
  background: #f8f9fa;
  color: #6c757d;
}

.mpc-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
}

.mpc-car-display {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mpc-car-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
}

.mpc-car-image {
  width: 100%;
  max-width: 500px;
}

.mpc-car-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.mpc-price-breakdown {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 30px;
}

.mpc-results {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  border: 1px solid #e9ecef;
}

.mpc-price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f3f4;
}

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

.mpc-price-item.mpc-total {
  border-top: 2px solid #007bff;
  margin-top: 15px;
  padding-top: 15px;
  font-size: 18px;
}

.price-value {
  font-weight: 600;
  color: #dc3545;
  font-size: 16px;
}

.total-value {
  font-size: 20px;
  color: #dc3545;
}

.mpc-loading {
  text-align: center;
  padding: 40px;
  color: #666;
}

.mpc-note {
  margin-top: 20px;
  padding: 15px;
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
}

.mpc-note p {
  margin: 0;
  font-size: 14px;
  color: #856404;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .mpc-selectors {
    grid-template-columns: repeat(2, 1fr);
  }

  .mpc-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .mpc-calculator {
    margin: 10px;
  }

  .mpc-selectors {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .mpc-content {
    padding: 20px;
  }

  .mpc-header {
    padding: 20px;
  }

  .mpc-header h2 {
    font-size: 20px;
  }

  .mpc-price-breakdown {
    padding: 20px;
  }
}

/* Animation */
.mpc-results {
  animation: fadeIn 0.5s ease-in;
}

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