/* 基础样式 */
.main {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.main > header {
  z-index: 2;
}

/* Section-2 样式调整 */
.main > .section-2 {
  width: 100%;
  min-height: 100vh;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.section-2 > .content {
  width: 543px;
  height: 820px;
  margin: 0 auto;
  position: relative;
}

.main-apply {
  position: relative;
  width: 100%;
  height: 100%;
  background: #ffffff;
  box-shadow: 0px 1px 4px 0px rgba(213, 213, 213, 0.5);
  border-radius: 8px;
  overflow: hidden;
}

.apply-form {
  display: flex;
  width: 100%;
  height: 100%;
}

.apply-form > .left {
  display: none; /* 隐藏左侧图片 */
}

.apply-form > .right {
  flex: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
}

/* 成功页面样式 */
.success-page {
  padding: 34px 0 0 0;
  display: none;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.success-page > .row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.icon-success {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
}

.icon-success img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.success-page .text {
  color: #d81e06;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
}

.bottom-row {
  padding-top: 60px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 400px;
}

.bottom-row > .col {
  flex: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.icon-weixin {
  width: 120px;
  height: 120px;
  margin-bottom: 15px;
}

.icon-weixin img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icon-login {
  width: 150px;
  height: 120px;
  margin-bottom: 15px;
  display: block;
}

.icon-login img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bottom-row .text {
  color: #d81e06;
  font-size: 14px;
  text-align: center;
  line-height: 1.4;
}

.bottom-row .text a {
  color: #d81e06;
  text-decoration: none;
  transition: color 0.3s;
}

.bottom-row .text a:hover {
  color: #b53434;
  text-decoration: underline;
}

/* 表单样式 */
.form {
  padding: 34px 0 0 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.form > .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  flex-wrap: wrap;
}

.form .title {
  font-size: 20px;
  color: #1A1A1A;
  line-height: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}

.login-text {
  text-align: right;
  font-size: 14px;
}

.login-text a {
  font-size: 14px;
  color: #666666;
  text-decoration: none;
  transition: color 0.3s;
}

.login-text a:hover {
  color: #b53434;
  text-decoration: underline;
}

.mb10 {
  margin-bottom: 10px;
}

/* 表单行样式 - 根据图片调整 */
.form-row {
  margin-bottom: 20px;
  width: 100%;
}

.form-label {
  display: block;
  font-size: 14px;
  color: #1A1A1A;
  margin-bottom: 8px;
  font-weight: 500;
  line-height: 1;
}

.input-container {
  width: 100%;
}

/* 输入框样式 - 根据图片精确尺寸 */
.form-input {
  width: 447px;
  height: 32px;
  padding: 6px 12px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  transition: border-color 0.3s;
  outline: none;
}

.form-input:focus {
  border-color: #b53434;
}

.form-input::placeholder {
  color: #999999;
  font-size: 14px;
}

/* 短信验证码特殊样式 */
.sms-row .sms-container {
  position: relative;
  width: 447px;
}

.sms-input {
  width: 100%;
  padding-right: 100px;
}

.sms-code {
  position: absolute;
  right: 8px;
  top: 4px;
  width: 87px;
  height: 24px;
  background: #b53434;
  font-size: 12px;
  color: #ffffff;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 3px;
  border: none;
  outline: none;
}

.sms-code:hover {
  background: #d81e06;
}

/* 文本域样式 - 业务诉求特殊高度 */
.form-textarea {
  width: 447px;
  height: 71px;
  padding: 6px 12px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  transition: border-color 0.3s;
  outline: none;
  resize: none;
  line-height: 1.5;
  font-family: inherit;
}

.form-textarea:focus {
  border-color: #b53434;
}

.form-textarea::placeholder {
  color: #999999;
  font-size: 14px;
}

/* 提交按钮 */
.form-submit {
  margin-top: 20px;
  width: 447px;
}

.btn {
  width: 100%;
  height: 40px;
  background: #b53434;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: #ffffff;
  transition: all 0.3s;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
}

.btn:hover {
  background: #d81e06;
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form, .success-page {
  animation: fadeIn 0.5s ease-out;
}