* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Times New Roman", Times, serif;
}

body {
  background-color: white;
  color: #1f2937;
}

.registration-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1rem 1rem;
}

.form-header {
  text-align: center;
  margin-bottom: 60px;
}

.form-header h1 {
  color: #b81818;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}

.form-header p {
  color: #4b5563;
  font-size: 1.1rem;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

label {
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 10px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.important {
  color: #b81818;
  margin-left: 5px;
  font-size: 1.2rem;
  line-height: 0;
}

input,
select,
textarea {
  border: 1.5px solid #e5e7eb;
  padding: 14px;
  border-radius: 6px;
  background-color: #f9fafb;
  font-size: 1rem;
  transition: all 0.2s ease;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #b81818;
  background-color: #ffffff;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: #b81818;
  cursor: pointer;
}

.radio-group {
  display: flex;
  gap: 30px;
  height: 100%;
  align-items: center;
}

.radio-group label {
  text-transform: none;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  cursor: pointer;
}

optgroup {
  font-weight: 700;
  color: #1e40af;
  background: #f1f5f9;
  font-style: normal;
}

option {
  color: #1f2937;
  background: #ffffff;
  font-weight: 400;
}

.button-group {
  margin-top: 50px;
  display: flex;
  justify-content: flex-start;
  gap: 20px;
}

.btn-submit,
.btn-exit {
  padding: 14px 40px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
}

.btn-submit {
  background-color: #b81818;
  /* Red */
  color: white;
}

.btn-submit:hover {
  background-color: #931313;
  transform: translateY(-2px);
}

.btn-exit {
  background-color: #1e40af;
  /* Blue */
  color: white;
}

.btn-exit:hover {
  background-color: #152d7c;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }
}
