@font-face {
  font-family: 'IranSans';
  src: url('fonts/IranSans.woff2') format('woff2'),
       url('fonts/IranSans.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'IranSans', sans-serif;
  direction: rtl;
  background-color: #f5f5f5;
  padding: 40px;
  text-align: center;
}

form {
  display: inline-block;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  text-align: right;
}

label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  padding-right: 10px;
}

input, select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-align: left;
}

button {
  margin-top: 20px;
  background-color: #4CC9A6;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background-color: #38b093;
}

.required-star {
  color: red;
  font-weight: bold;
}

.gender-options {
  display: flex;
  gap: 20px; /* فاصله بین گزینه‌ها */
  margin-top: 5px;
  margin-bottom: 15px;
}

.gender-options label {
  font-size: 16px;
  font-family: 'IranSans', sans-serif;
  color: #333;
  cursor: pointer;
}
