@font-face {
  font-family: 'Yekan';
  src: url('Yekan.woff2') format('woff2'),
       url('Yekan.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Yekan', sans-serif;
  direction: rtl;
  margin: 0;
  background: #f9f9f9;
  color: #333;
}

.container {
  max-width: 600px;
  margin: 20px auto;
  border: 2px solid #a40b0b;
  padding: 20px;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  color: #a40b0b;
  margin-bottom: 20px;
}

.form-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group label {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.form-group select,
.form-group input {
  width: 100%;
  padding: 8px;
  font-family: 'Yekan';
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

button {
  background-color: #a40b0b;
  color: white;
  border: none;
  padding: 10px;
  font-size: 17px;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background-color: #870909;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 15px;
}

th, td {
  border: 1px solid #a40b0b;
  padding: 8px;
  text-align: center;
}

th {
  background-color: #a40b0b;
  color: white;
}

.highlight {
  background-color: #ffe5e5 !important;
  font-weight: bold;
  border: 2px solid #a40b0b !important;
}

.final-box {
  margin-top: 20px;
  padding: 10px;
  border: 2px dashed #a40b0b;
  background-color: #fff3f3;
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  color: #a40b0b;
}

@media (max-width: 600px) {
  .container {
    margin: 10px;
    padding: 15px;
  }

  .form-group select,
  .form-group input {
    font-size: 18px;
  }

  h1 {
    font-size: 22px;
  }
}
