/* 合同申请表单样式 */
.contract-apply-container {
  padding: 30rpx;
  min-height: 100vh;
}

.page-header {
  margin-bottom: 15rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

page {
  padding-bottom: 0rpx;
}

.page-header h1 {
  font-size: 36rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 10rpx;
}

.download-btn{
  height: 65rpx;
  border: none;
  border-radius: 10rpx;
  line-height: 65rpx;
  background-color: #409eff;
  color: #fff;
  margin-right: 0rpx;
}

.page-header .subtitle {
  font-size: 28rpx;
  color: #666;
}

.contract-form {
  background-color: #fff;
  border-radius: 10rpx;
  padding: 30rpx;
}

.form-item {
  margin-bottom: 30rpx;
}

.form-label {
  font-size: 28rpx;
  color: #333;
  margin-bottom: 10rpx;
  display: block;
}

.form-label.required::after {
  content: '*';
  color: #e64340;
  margin-left: 4rpx;
}

.form-input,
.form-select {
  width: 100%;
  height: 80rpx;
  border: 1rpx solid #d9d9d9;
  border-radius: 8rpx;
  padding: 0 20rpx;
  font-size: 28rpx;
  box-sizing: border-box;
  line-height: 80rpx;
}

.form-input:focus,
.form-select:focus {
  border-color: #409eff;
  outline: none;
}

.form-select {
  appearance: none;
  background: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="%23999" d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"></path></svg>') no-repeat right 20rpx center;
  background-size: 24rpx 24rpx;
}

.bottom-btn{
  display: flex;
  justify-content: space-between;
}

/* 按钮样式 */
.sign-btn,
.submit-btn1,
.submit-btn {
  width: 100%;
  height: 90rpx;
  border: none;
  border-radius: 45rpx;
  font-size: 32rpx;
  font-weight: bold;
  margin-bottom: 20rpx;
  transition: all 0.3s;
  line-height: 90rpx;
}

.sign-btn {
  background-color: #f0f0f0;
  color: #666;
}

.sign-btn:active {
  background-color: #e0e0e0;
}

.submit-btn {
  background-color: #409eff;
  color: #fff;
  margin-left: 5rpx;
}

.submit-btn1 {
  background-color: #ff4016;
  color: #fff;
  margin-right: 5rpx;
}

.submit-btn:active {
  background-color: #66b1ff;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
  .contract-apply-container {
    padding: 20rpx;
  }

  .contract-form {
    padding: 20rpx;
  }
}

/* 自定义弹窗样式 */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.custom-modal {
  width: 100%;
  max-width: 650rpx;
  background-color: #fff;
  border-radius: 12rpx;
  overflow: hidden;
  box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.15);
}

.modal-header {
  padding: 30rpx;
  border-bottom: 2rpx solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 32rpx;
  font-weight: 600;
  color: #333;
}

.close-btn {
  background: none;
  border: none;
  font-size: 40rpx;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 40rpx;
  height: 40rpx;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  padding: 40rpx 30rpx;
}

.modal-content p {
  margin: 0 0 30rpx 0;
  font-size: 28rpx;
  color: #666;
  line-height: 1.5;
}

.link-container {
  background-color: #f5f5f5;
  padding: 20rpx;
  border-radius: 8rpx;
  word-break: break-all;
}

.link-text {
  color: #007aff;
  font-size: 26rpx;
  text-decoration: underline;
  cursor: pointer;
}

.modal-footer {
  padding: 0 30rpx 30rpx;
  display: flex;
  justify-content: center;
}

.confirm-btn {
  background-color: #007aff;
  color: #fff;
  border: none;
  line-height: 80rpx;
  border-radius: 8rpx;
  font-size: 28rpx;
  cursor: pointer;
  min-width: 200rpx;
  height: 80rpx;
}

.confirm-btn2 {
  border: none;
  line-height: 80rpx;
  border-radius: 8rpx;
  font-size: 28rpx;
  cursor: pointer;
  min-width: 200rpx;
  height: 80rpx;
}