@font-face {
  font-family: 'Pinar';
  font-style: normal;
  font-weight: 500;
  font-display: auto;
  src: url('https://iran.carkoshte.ir/wp-content/uploads/2023/11/Pinar-FD-SemiBold.woff2') format('woff2'),
       url('https://iran.carkoshte.ir/wp-content/uploads/2023/11/Pinar-FD-SemiBold.woff') format('woff');
}
@font-face {
  font-family: 'Pinar';
  font-style: normal;
  font-weight: 600;
  font-display: auto;
  src: url('https://iran.carkoshte.ir/wp-content/uploads/2023/11/Pinar-FD-Bold.woff2') format('woff2'),
       url('https://iran.carkoshte.ir/wp-content/uploads/2023/11/Pinar-FD-Bold.woff') format('woff');
}
@font-face {
  font-family: 'Pinar';
  font-style: normal;
  font-weight: 700;
  font-display: auto;
  src: url('https://iran.carkoshte.ir/wp-content/uploads/2023/11/Pinar-FD-ExtraBold.woff2') format('woff2'),
       url('https://iran.carkoshte.ir/wp-content/uploads/2023/11/Pinar-FD-ExtraBold.woff') format('woff');
}
@font-face {
  font-family: 'Pinar';
  font-style: normal;
  font-weight: normal;
  font-display: auto;
  src: url('https://iran.carkoshte.ir/wp-content/uploads/2023/11/Pinar-FD-Medium.woff2') format('woff2'),
       url('https://iran.carkoshte.ir/wp-content/uploads/2023/11/Pinar-FD-Medium.woff') format('woff');
}

body,
.car-service-wrapper,
.car-service-form,
.car-service-history,
.car-service-form h2,
.car-service-history h3,
.input-group,
.input-group label,
.input-group input,
.input-group select,
.toggle-group label,
.car-service-form button,
.car-service-history table,
.car-service-history th,
.car-service-history td {
  font-family: 'Pinar', sans-serif !important;
}

body {
  background-color: #000;
  color: #f5f5f5;
  margin: 0;
  padding: 0;
}

.car-service-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
}

.car-service-form,
.car-service-history {
  flex: 1 1 400px;
  background-color: #000;
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255,165,0,0.3);
  animation: fadeIn 0.6s ease-in-out;
  transition: transform 0.3s ease;
}

.car-service-form:hover,
.car-service-history:hover {
  transform: translateY(-4px);
}

.car-service-form h2,
.car-service-history h3 {
  color: #ffa726;
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.input-group label {
  margin-bottom: 6px;
  font-weight: bold;
  color: #fff;
  font-size: 14px;
}

.input-group input,
.input-group select {
  padding: 10px;
  border: 1px solid #ffa726;
  border-radius: 8px;
  background-color: #000;
  color: #fff;
  font-size: 14px;
  transition: border 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
  border-color: #ffcc80;
  outline: none;
}

.toggle-group {
  display: flex;
  gap: 20px;
  margin: 10px 0 20px;
}

.toggle-group label {
  color: #fff;
  font-size: 14px;
}

.car-service-form button {
  background-color: #ffa726;
  color: #000;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  font-size: 16px;
}

.car-service-form button:hover {
  background-color: #ffcc80;
}

.car-service-history table {
  width: 100%;
  border-collapse: collapse;
}

.car-service-history th,
.car-service-history td {
  padding: 10px;
  border-bottom: 1px solid #ffa726;
  text-align: center;
  font-size: 14px;
  color: #fff;
}

.car-service-history th {
  background-color: #222;
  color: #ffa726;
  font-weight: bold;
}

.car-service-history tr:hover td {
  background-color: #1c1c1c;
}

@media (max-width: 768px) {
  .car-service-wrapper {
    flex-direction: column;
  }

  .car-service-form,
  .car-service-history {
    width: 100%;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
