
body {
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.registration-form {
  background: #ffffff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 360px;
}

.registration-form fieldset {
  border: 1px solid #ddd;
  margin-bottom: 16px;
  padding: 12px 16px;
}

.registration-form legend {
  font-weight: bold;
  padding: 0 8px;
}

.registration-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.registration-form input[type="text"],
.registration-form input[type="email"],
.registration-form input[type="password"],
.registration-form input[type="number"],
.registration-form select,
.registration-form textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.gender-group {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.gender-group input {
  margin-right: 4px;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 1.2;
  gap: 0.3rem;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.checkbox-label input {
  margin-right: 3px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.btn-reset {
  flex: 1;
  padding: 10px;
  background: #6c757d;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.btn-reset:hover {
  background: #5a6268;
}

.btn-submit {
  flex: 1;
  padding: 10px;
  background: #28a745;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

.btn-submit:hover {
  background: #218838;
}
