/* Контейнер страницы */
.apply-page {
  max-width: 850px;
  margin: 50px auto;
  padding: 0 20px;
  font-family: "Times New Roman", Times, Georgia, serif;
  color: #000;
  box-sizing: border-box;
  text-align: center;
}

/* Верхний черный заголовок */
.header-banner {
  background-color: #000;
  color: #fff;
  font-size: 22px;
  letter-spacing: 2px;
  padding: 12px 0;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 30px auto;
  border-radius: 4px;
}

/* Рамка формы */
.apply-form-box {
  border: 4px solid #000;
  border-radius: 16px;
  padding: 35px 30px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
}

.form-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Стили полей ввода слева */
.left-col .field-group input[type="text"],
.left-col .field-group input[type="email"] {
  width: 100%;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 15px;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.left-col .field-group input::placeholder {
  color: #fff;
}

/* Текстовое поле Tell us about yourself */
.textarea-group {
  background-color: #000;
  color: #fff;
  border-radius: 12px;
  padding: 15px;
  box-sizing: border-box;
}

.textarea-group label {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.textarea-group label span {
  font-size: 11px;
  color: #aaa;
}

.textarea-group textarea {
  width: 100%;
  background: repeating-linear-gradient(
    transparent,
    transparent 21px,
    #555 22px
  ); /* Тонкие полоски внутри текста */
  line-height: 22px;
  border: none;
  color: #fff;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 14px;
  resize: none;
  outline: none;
}

/* Правая колонка */
.question-title {
  font-size: 16px;
  margin: 0 0 10px 0;
}

/* Чекбоксы */
.checkbox-box {
  background-color: #000;
  color: #fff;
  border-radius: 12px;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 25px;
}

.checkbox-box label {
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-box input[type="checkbox"] {
  accent-color: #fff; /* Белая галочка */
  width: 14px;
  height: 14px;
  cursor: pointer;
}

/* Поля с подчеркиванием справа */
.underline-field {
  margin-bottom: 20px;
}

.underline-field label {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}

.underline-field input {
  width: 100%;
  background-color: #000;
  color: #fff;
  border: none;
  border-bottom: 2px solid #000;
  border-radius: 4px;
  padding: 8px 10px;
  outline: none;
  box-sizing: border-box;
}

/* Серая кнопка SUBMIT APPLICATION */
.submit-container {
  margin-top: 35px;
}

.submit-btn {
  background-color: #7d7d7d; /* Серый цвет как на макете */
  color: #000;
  border: none;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 1.5px;
  padding: 14px 0;
  width: 100%;
  max-width: 480px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.submit-btn:hover {
  background-color: #666;
  color: #fff;
}

/* Завершающий текст */
.footer-note {
  font-style: italic;
  font-size: 22px;
  font-weight: bold;
  margin-top: 50px;
  letter-spacing: 0.5px;
}

/* Мобильная адаптивность */
@media (max-width: 700px) {
  .apply-form-box {
    flex-direction: column;
    padding: 20px;
  }
}