/* 陪诊就医申请页面样式 */

.page-container {
  min-height: 100vh;
  background: linear-gradient(180deg, #E8C3D4 0%, #F5E6EC 100%);
}

/* 导航栏 */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(135deg, #E8C3D4 0%, #D4A5C9 100%);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 16px;
}

.nav-back {
  display: flex;
  align-items: center;
  min-width: 60px;
}

.back-icon {
  width: 20px;
  height: 20px;
}

.back-text {
  font-size: 14px;
  color: #333;
  margin-left: 4px;
}

.nav-title {
  font-size: 17px;
  font-weight: 600;
  color: #333;
}

.nav-placeholder {
  min-width: 60px;
}

/* 内容滚动区域 */
.content-scroll {
  height: 100vh;
  padding-bottom: env(safe-area-inset-bottom);
}

/* 申请表单样式 */
.apply-form {
  padding: 16px;
}

/* 状态卡片 */
.status-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  margin-bottom: 16px;
}

.status-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
}

.status-icon image {
  width: 100%;
  height: 100%;
}

.status-title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.status-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.btn-secondary {
  margin-top: 24px;
  width: 160px;
  height: 44px;
  background: #fff;
  border: 1px solid #b06ab3;
  border-radius: 22px;
  color: #b06ab3;
  font-size: 15px;
}

/* 表单内容 */
.form-content {
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
}

.form-header {
  text-align: center;
  margin-bottom: 24px;
}

.form-title {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 14px;
  color: #999;
}

/* 表单区块 */
.form-section {
  margin-bottom: 24px;
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.required {
  color: #ff4d4f;
  margin-left: 4px;
}

/* 头像上传 */
.avatar-upload-area {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.avatar-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #f5f5f5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-image {
  width: 100%;
  height: 100%;
}

.upload-placeholder {
  text-align: center;
}

.camera-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
}

.upload-text {
  font-size: 12px;
  color: #999;
}

.form-tip {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin-top: 8px;
}

/* 表单项 */
.form-item {
  margin-bottom: 16px;
}

.item-label-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.item-label {
  font-size: 14px;
  color: #333;
}

.input-wrapper {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 0 12px;
}

.item-input {
  width: 100%;
  height: 44px;
  font-size: 14px;
  color: #333;
}

.placeholder {
  color: #ccc;
}

/* 性别选择 */
.gender-options {
  display: flex;
  gap: 12px;
}

.gender-btn {
  flex: 1;
  height: 44px;
  background: #f8f8f8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #666;
  transition: all 0.3s;
}

.gender-btn.active {
  background: linear-gradient(135deg, #E8C3D4 0%, #D4A5C9 100%);
  color: #333;
  font-weight: 500;
}

/* 证书上传 */
.cert-upload {
  width: 100%;
  height: 120px;
  background: #f8f8f8;
  border-radius: 8px;
  border: 1px dashed #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cert-image {
  width: 100%;
  height: 100%;
}

.cert-placeholder {
  text-align: center;
}

.upload-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}

/* 文本域 */
.textarea-wrapper {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 12px;
}

.intro-textarea {
  width: 100%;
  height: 120px;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

.textarea-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.char-count {
  font-size: 12px;
  color: #999;
}

/* 协议 */
.agreement-row {
  display: flex;
  align-items: center;
  margin: 24px 0;
}

.checkbox {
  width: 20px;
  height: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox.checked {
  background: linear-gradient(135deg, #b06ab3 0%, #4568dc 100%);
  border-color: transparent;
}

.check-icon {
  width: 14px;
  height: 14px;
}

.agreement-text {
  flex: 1;
}

.normal-text {
  font-size: 13px;
  color: #666;
}

.link-text {
  font-size: 13px;
  color: #b06ab3;
}

/* 提交按钮 */
.submit-btn {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #b06ab3 0%, #4568dc 100%);
  border-radius: 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border: none;
}

.submit-btn.disabled {
  opacity: 0.5;
}

/* 底部占位 */
.bottom-placeholder {
  height: 40px;
}
