.dongxun_home{
	background-color: #f9fafb;
}

.dongxun_home .dongxun{
	background-color: #fff;
}

.widget-friend-link-apply {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  overflow: visible;
  padding-top: 12px;
}

.widget-friend-link-apply .left,
.widget-friend-link-apply .right {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 重新定义组件内部栅格：左侧内容区 2/3，右侧申请表单 1/3 */
.widget-friend-link-apply > .grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 24px !important;
  align-items: start !important;
}

@media (min-width: 1024px) {
  .widget-friend-link-apply > .grid {
    grid-template-columns: 2fr 1fr !important;
  }
}

/* 修复 list.css .section h2 对组件标题的污染 */
.section .widget-friend-link-apply .fla-section-title,
.section .widget-friend-link-apply h2 {
  font-size: 24px !important;
  line-height: 1.3 !important;
  text-indent: 0 !important;
  margin-bottom: 0 !important;
  text-align: left !important;
  font-weight: 700 !important;
}

/* 修复 list.css .section p 对组件内段落的污染 */
.section .widget-friend-link-apply p,
.section .widget-friend-link-apply li,
.widget-friend-link-apply p,
.widget-friend-link-apply li {
  line-height: 1.6 !important;
  font-size: 16px !important;
  text-indent: 0 !important;
  margin-bottom: 0 !important;
  text-align: left !important;
}

/* 单独针对步骤描述、列表文字、FAQ 答案等常见段落强化 */
.section .widget-friend-link-apply .fla-step-desc,
.section .widget-friend-link-apply .fla-item-text,
.section .widget-friend-link-apply .fla-info-text,
.section .widget-friend-link-apply .fla-faq-answer,
.section .widget-friend-link-apply .fla-preview-label,
.section .widget-friend-link-apply .fla-lead {
  text-indent: 0 !important;
  text-align: left !important;
}

/* 修复 list.css .section ul li 对组件列表项的污染 */
.section .widget-friend-link-apply ul li {
  list-style: none !important;
}

.widget-friend-link-apply {
  --fla-primary: #165dff;
  --fla-primary-light: rgba(22, 93, 255, 0.1);
  --fla-text: #1f2937;
  --fla-text-secondary: #6b7280;
  --fla-border: #e5e7eb;
  --fla-bg: #f9fafb;
  --fla-radius: 12px;
  --fla-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.06);
  --fla-shadow-hover: 0 18px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -4px rgba(0, 0, 0, 0.08);
  color: var(--fla-text);
}

/* 卡片 */
.fla-card,
.fla-form-card {
	background: #fff;
	border-radius: var(--fla-radius);
	box-shadow: var(--fla-shadow);
	padding: 24px;
	margin-bottom: 50px;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.fla-card:hover {
  box-shadow: var(--fla-shadow-hover);
  transform: translateY(-4px);
}

.fla-form-card.fla-sticky {
  position: sticky;
  top: 96px;
}

/* 区块头部 */
.fla-section-header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.fla-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--fla-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.fla-icon {
  color: var(--fla-primary);
  font-size: 20px;
}

.fla-section-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

/* 列表 */

.fla-lead {
  color: var(--fla-text-secondary);
  margin-bottom: 24px;
}

.fla-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  margin-top: 20px;
  flex-direction: column;
  gap: 20px;
}

.fla-list-item {
  display: flex;
  align-items: center;
}

.fla-number-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--fla-primary);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.fla-item-text {
  color: var(--fla-text);
  line-height: 1.6;
  margin: 0;
}

/* 申请流程 */
.fla-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.fla-step {
  position: relative;
  display: flex;
}

.fla-step-line {
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: -40px;
  width: 2px;
  background: var(--fla-border);
}

.fla-step-content {
  flex: 1;
  padding-left: 52px;
}

.fla-step-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
}

.fla-step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fla-primary);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

.fla-step-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
}

.fla-step-desc {
  color: var(--fla-text-secondary);
  margin: 0;
  line-height: 1.6;
}

.section .intem{
	padding-left: 52px;
}

.section .intem .fla-lead{
	margin-bottom: 1.5rem;
}

.section .intem .fla-lead .fla-item-text{
	margin-bottom: 0;
}

/* 代码块 */
.fla-code-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 16px;
  padding-left: 52px;
}

.fla-code-block {
  background: var(--fla-bg);
  border-radius: var(--fla-radius);
  padding: 20px;
  border: 1px solid var(--fla-border);
}

.fla-code-title {
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--fla-text);
}

.fla-code-box {
  background: #fff;
  border: 1px solid var(--fla-border);
  border-radius: 8px;
  padding: 16px;
  position: relative;
}

.fla-pre {
  margin: 0;
  overflow-x: auto;
  padding-right: 60px;
}

.fla-pre code {
  font-size: 14px;
  color: var(--fla-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.fla-copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--fla-text-secondary);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
  opacity: 0;
}

.fla-code-box:hover .fla-copy-btn {
  opacity: 1;
}

.fla-copy-btn:hover {
  color: var(--fla-primary);
}

.fla-preview-label {
  margin: 16px 0 8px;
  color: var(--fla-text-secondary);
}

.fla-preview-box {
  background: #fff;
  border: 1px solid var(--fla-border);
  border-radius: 8px;
  padding: 12px;
}

.fla-link {
  color: var(--fla-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.fla-link:hover {
  text-decoration: underline;
}

.fla-external-icon {
  margin-left: 4px;
  font-size: 12px;
}

.fla-image-link {
  display: inline-block;
}

.fla-logo {
  height: 32px;
  width: auto;
}

/* 信息提示 */
.fla-info-box {
  margin-top: 16px;
  background: var(--fla-primary-light);
  border-left: 4px solid var(--fla-primary);
  border-radius: 0 8px 8px 0;
  padding: 16px;
}

.fla-info-row {
  display: flex;
  align-items: flex-start;
}

.fla-info-icon {
  color: var(--fla-primary);
  margin-right: 12px;
  margin-top: 2px;
}

.fla-info-text {
  margin: 0;
  font-size: 14px;
  color: var(--fla-text);
  line-height: 1.6;
}

/* 常见问题 */
.fla-faqs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 55px;
}

.fla-faq-item {
  padding-bottom: 16px;
}

.fla-faq-border {
  border-bottom: 1px solid var(--fla-border);
}

.fla-faq-question {
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--fla-text);
}

.fla-faq-answer {
  margin: 0;
  color: var(--fla-text-secondary);
  line-height: 1.6;
}

/* 表单 */
.fla-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fla-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fla-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--fla-text);
}

.fla-input,
.fla-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--fla-border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--fla-text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.fla-input:focus,
.fla-textarea:focus {
  border-color: var(--fla-primary);
  box-shadow: 0 0 0 3px var(--fla-primary-light);
}

.fla-textarea {
  resize: vertical;
  min-height: 100px;
}

.fla-captcha-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.fla-captcha-row .fla-input {
  flex: 1;
}

.fla-captcha-img {
  height: 44px;
  min-width: 120px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--fla-border);
  background-color: #f3f4f6;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: var(--fla-text-secondary);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  transition: opacity 0.2s ease;
}

.fla-captcha-img:disabled {
  cursor: not-allowed;
}

.fla-message {
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
}

.fla-message-success {
  background: #d1fae5;
  color: #065f46;
}

.fla-message-error {
  background: #fee2e2;
  color: #991b1b;
}

.fla-submit-btn {
  width: 100%;
  background: var(--fla-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.fla-submit-btn:hover:not(:disabled) {
  background: #134fd4;
  transform: translateY(-2px);
}

.fla-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* 响应式 */
@media (max-width: 1023px) {
  .fla-section-body {
    padding-left: 0;
  }

  .fla-form-card.fla-sticky {
    position: static;
  }
}

@media (max-width: 639px) {
  .fla-card,
  .fla-form-card {
    padding: 16px;
  }

  .fla-section-title {
    font-size: 20px;
  }

  .fla-step-content {
    padding-left: 0;
  }

  .fla-step-line {
    display: none;
  }

  .fla-step-header {
    flex-direction: column;
    gap: 8px;
  }

  .fla-code-box {
    padding: 12px;
  }

  .fla-copy-btn {
    opacity: 1;
  }
}

/* 表单校验错误提示：与在线留言表单保持一致 */
.fla-form .field-error {
  color: #ff0000;
  font-size: 12px;
  margin-top: 6px;
  line-height: 1.4;
}

.fla-form .fla-input.has-error,
.fla-form .fla-textarea.has-error {
  border-color: #ff0000;
}

.fla-form .fla-input.has-error:focus,
.fla-form .fla-textarea.has-error:focus {
  border-color: #ff0000;
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.15);
}

/* ===== 提交结果弹窗：屏幕正中，右上角关闭，底部确定 ===== */
.fla-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.fla-modal-card {
  position: relative;
  width: 100%;
  max-width: 384px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.fla-modal-stripe {
  height: 8px;
  width: 100%;
}

.fla-modal-stripe--success {
  background: linear-gradient(90deg, var(--fla-primary), #165dff);
}

.fla-modal-stripe--error {
      background: linear-gradient(90deg, #165dff, #165dff);
}

.fla-modal-close {
  position: absolute;
  right: 16px;
  top: 20px;
  display: flex;
  height: 32px;
  width: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: #9ca3af;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.fla-modal-close:hover {
  background: #f3f4f6;
  color: #4b5563;
}

.fla-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 32px 32px;
}

.fla-modal-icon {
  display: flex;
  height: 64px;
  width: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.fla-modal-icon--success {
  background: var(--fla-primary-light);
  color: var(--fla-primary);
  box-shadow: 0 0 0 4px rgba(22, 93, 255, 0.12);
}

.fla-modal-icon--error {
  background: #ffffff;
  color: #165dff;
  box-shadow: 0 0 0 4px #ffffff;
}

.fla-modal-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.fla-modal-title--success {
  color: var(--fla-primary);
}

.fla-modal-title--error {
  color: #165dff;
}

.fla-modal-text {
  margin: 0 0 24px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}

.fla-modal-btn {
  border-radius: 9999px;
  padding: 10px 40px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.fla-modal-btn:hover {
  transform: scale(1.03);
}

.fla-modal-btn:active {
  transform: scale(0.97);
}

.fla-modal-btn--success {
  background: linear-gradient(90deg, var(--fla-primary), #134fd4);
  box-shadow: 0 10px 15px -3px rgba(22, 93, 255, 0.25);
}

.fla-modal-btn--error {
  background: linear-gradient(90deg, #165dff, #2f62d4);
  box-shadow: 0 10px 15px -3px rgb(59 130 246 / 0.5);
}
