.up-profile-submit-wrap {
  max-width: 980px;
  margin: 42px auto 72px;
  padding: 0 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.up-profile-submit-inner {
  background: #ffffff;
  border: 1px solid #e2e8f2;
  border-radius: 16px;
  box-shadow: 0 14px 42px rgba(0, 50, 120, 0.09);
  padding: 34px;
}

.up-profile-submit-head {
  margin: 0 0 26px;
}

.up-profile-submit-kicker {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8f2ff;
  color: #005bbb;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.up-profile-submit-head h2 {
  margin: 0 0 8px;
  color: #002c5e;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 900;
}

.up-profile-submit-head p {
  margin: 0;
  max-width: 720px;
  color: #52627a;
  font-size: 15px;
  line-height: 1.6;
}

.up-profile-submit-form {
  display: grid;
  gap: 16px;
}

.up-profile-submit-grid {
  display: grid;
  gap: 16px;
}

.up-profile-submit-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.up-profile-submit-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.up-profile-submit-field {
  display: grid;
  gap: 7px;
  color: #1a1a2e;
  font-size: 14px;
  font-weight: 800;
}

.up-profile-submit-field b {
  color: #c62828;
}

.up-profile-submit-field small {
  color: #7d90aa;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
}

.up-profile-submit-field input,
.up-profile-submit-field select,
.up-profile-submit-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #ffffff;
  color: #141c2e;
  padding: 12px 13px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.up-profile-submit-field textarea {
  resize: vertical;
  min-height: 118px;
}

.up-profile-submit-field input:focus,
.up-profile-submit-field select:focus,
.up-profile-submit-field textarea:focus {
  outline: none;
  border-color: #005bbb;
  box-shadow: 0 0 0 3px rgba(0, 91, 187, 0.12);
}

.up-profile-submit-field input[type="file"] {
  padding: 10px;
  background: #f8fbff;
}

.up-profile-submit-hp {
  position: absolute;
  left: -10000px;
  height: 0;
  overflow: hidden;
}

.up-profile-submit-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #52627a;
  font-size: 13px;
  line-height: 1.5;
}

.up-profile-submit-consent input {
  margin-top: 3px;
  flex: 0 0 auto;
}

.up-profile-submit-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
  margin-top: 4px;
}

.up-profile-submit-btn {
  border: 0;
  border-radius: 10px;
  background: #005bbb;
  color: #ffffff;
  padding: 14px 22px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.up-profile-submit-btn:hover {
  background: #004c9d;
  box-shadow: 0 10px 22px rgba(0, 91, 187, 0.24);
  transform: translateY(-1px);
}

.up-profile-submit-btn:disabled {
  background: #8da7c8;
  box-shadow: none;
  cursor: wait;
  transform: none;
}

.up-profile-submit-msg {
  min-height: 20px;
  color: #52627a;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.up-profile-submit-msg.is-ok {
  color: #15784e;
}

.up-profile-submit-msg.is-err {
  color: #b71c1c;
}

.up-profile-submit-after-content {
  max-width: 900px;
  margin: 0 auto 72px;
  padding: 0 24px;
  color: #24324a;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.up-profile-submit-after-content h1,
.up-profile-submit-after-content h2,
.up-profile-submit-after-content h3 {
  color: #002c5e;
  line-height: 1.25;
}

.up-profile-submit-after-content a {
  color: #005bbb;
}

@media (max-width: 820px) {
  .up-profile-submit-inner {
    padding: 24px;
  }

  .up-profile-submit-grid--two,
  .up-profile-submit-grid--three {
    grid-template-columns: 1fr;
  }

  .up-profile-submit-head h2 {
    font-size: 25px;
  }
}

@media (max-width: 520px) {
  .up-profile-submit-wrap {
    margin: 28px auto 56px;
    padding: 0 14px;
  }

  .up-profile-submit-inner {
    padding: 18px;
    border-radius: 12px;
  }

  .up-profile-submit-btn {
    width: 100%;
  }
}
