/* ============================================================
   StarNexus 编委申请页 editorial_board_apply.html 专用样式
   主题色：紫色 #4A3A6B / 金色 #D4AF37
   ============================================================ */

.eba-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.eba-back {
  display: inline-block;
  margin-bottom: 20px;
  color: #7B6A9C;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.eba-back:hover { color: #4A3A6B; }

/* ---------- Hero ---------- */
.eba-hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #4A3A6B 0%, #6B5A8B 100%);
  color: #fff;
  text-align: center;
  padding: 56px 32px;
  margin-bottom: 28px;
}
.eba-hero::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.28) 0%, rgba(212, 175, 55, 0) 70%);
  top: -100px;
  right: -60px;
  animation: ebaGlow 6s ease-in-out infinite;
}
@keyframes ebaGlow {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.15); opacity: 1; }
}
body .site-shell .eba-hero h1 {
  position: relative;
  z-index: 2;
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 800;
  color: #fff !important;
}
.eba-hero p {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 660px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}
.eba-hero .eba-process-badge {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin-top: 16px;
  padding: 8px 18px;
  border-radius: 30px;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: #F0D98A;
  font-size: 13px;
  font-weight: 700;
}

/* ---------- 为什么加入（价值主张） ---------- */
.eba-section-title {
  text-align: center;
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 800;
  color: #4A3A6B;
}
.eba-section-title .sub {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #8A7CA8;
}
.eba-why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}
.eba-why-card {
  background: #fff;
  border: 1px solid #E0D9EB;
  border-top: 3px solid #D4AF37;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: all .2s ease;
}
.eba-why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(74, 58, 107, 0.10);
}
.eba-why-card .icon {
  font-size: 28px;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.eba-why-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: #4A3A6B;
}
.eba-why-card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #6F6488;
}
@media (max-width: 780px) {
  .eba-why { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .eba-why { grid-template-columns: 1fr; }
}

/* ---------- 期刊速览 ---------- */
.eba-journals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}
.eba-journal-card {
  background: #fff;
  border: 1px solid #E0D9EB;
  border-radius: 12px;
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
}
.eba-journal-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #4A3A6B;
}
.eba-journal-card.jr-acdm::before { background: linear-gradient(180deg, #7B5EA7, #B39DDB); }
.eba-journal-card.jr-fimh::before { background: linear-gradient(180deg, #2E8B8B, #7FCFC0); }
.eba-journal-card.jr-jiil::before { background: linear-gradient(180deg, #D4AF37, #EFD98A); }
.eba-journal-card.jr-jdei::before { background: linear-gradient(180deg, #C05621, #F0A35E); }
.eba-journal-card .code {
  font-size: 18px;
  font-weight: 800;
  color: #4A3A6B;
  letter-spacing: .5px;
}
.eba-journal-card .name {
  font-size: 12px;
  line-height: 1.5;
  color: #6F6488;
  margin: 4px 0 10px;
  min-height: 36px;
}
.eba-journal-card .meta {
  font-size: 11.5px;
  color: #8A7CA8;
  line-height: 1.7;
}
.eba-journal-card .meta b { color: #4A3A6B; font-weight: 700; }
@media (max-width: 780px) {
  .eba-journals { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .eba-journals { grid-template-columns: 1fr; }
}

/* ---------- 表单卡片 ---------- */
.eba-card {
  background: #fff;
  border: 1px solid #E0D9EB;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(74, 58, 107, 0.08);
  padding: 32px 28px;
}
.eba-field { margin-bottom: 20px; }
.eba-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #4A3A6B;
  margin-bottom: 8px;
}
.eba-field label .req { color: #D4AF37; margin-left: 2px; }
.eba-field input[type="text"],
.eba-field input[type="email"],
.eba-field input[type="url"],
.eba-field textarea,
.eba-field select {
  width: 100%;
  padding: 12px 14px;
  box-sizing: border-box;
  border: 1px solid #D8D0E6;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #3D3A52;
  background: #FCFBFE;
  transition: all .2s ease;
  outline: none;
}
.eba-field input:focus,
.eba-field textarea:focus,
.eba-field select:focus {
  border-color: #4A3A6B;
  box-shadow: 0 0 0 3px rgba(74, 58, 107, 0.12);
  background: #fff;
}
.eba-field textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.eba-field .hint { font-size: 12px; color: #9CA3AF; margin-top: 6px; }
.eba-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px dashed #C9B96A;
  border-radius: 8px;
  background: #FDFBF2;
  box-sizing: border-box;
}
.eba-file input[type="file"] { display: none; }
.eba-file .file-btn {
  flex-shrink: 0;
  display: inline-block;
  padding: 8px 18px;
  background: #4A3A6B;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s ease;
}
.eba-file .file-btn:hover { background: #5B4A85; }
.eba-file .file-name {
  flex: 1;
  font-size: 13px;
  color: #7B6A9C;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.eba-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .eba-row { grid-template-columns: 1fr; } }

/* 提交按钮（金色，突出显示） */
.eba-submit {
  width: 100%;
  padding: 15px 24px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, #D4AF37 0%, #E3C663 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
}
.eba-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.5);
  color: #fff;
}
.eba-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

/* 反馈区 */
.eba-feedback {
  display: none;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.7;
}
.eba-feedback.ok { display: block; background: #F0F7F1; border: 1px solid #BFE0C6; color: #2F6F4E; }
.eba-feedback.err { display: block; background: #FDF2F2; border: 1px solid #F3C1C1; color: #B42318; }

/* ---------- 提交成功确认横幅（当前页显示） ---------- */
.eba-success {
  display: none;
  margin-bottom: 24px;
  padding: 28px 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, #F0F7F1, #FBFCF6);
  border: 1.5px solid #BFE0C6;
  color: #2F6F4E;
  text-align: center;
}
.eba-success.show { display: block; }
.eba-success .tick {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #2F6F4E;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
}
.eba-success h2 { margin: 0 0 8px; font-size: 20px; color: #2F6F4E; }
.eba-success p { margin: 0; font-size: 14px; line-height: 1.8; color: #4A6B55; }
.eba-success .again {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: #4A3A6B;
  text-decoration: none;
  border-bottom: 1px dashed #B4A6CC;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  padding: 0;
}
.eba-success .again:hover { color: #D4AF37; border-color: #D4AF37; }

/* ---------- 申请流程说明 ---------- */
.eba-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 30px 0 0;
}
.eba-process .step {
  background: #F7F5FB;
  border: 1px solid #E0D9EB;
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center;
}
.eba-process .step .num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #4A3A6B;
  color: #F0D98A;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}
.eba-process .step h4 { margin: 0 0 4px; font-size: 14px; font-weight: 800; color: #4A3A6B; }
.eba-process .step p { margin: 0; font-size: 12px; line-height: 1.6; color: #6F6488; }
@media (max-width: 640px) {
  .eba-process { grid-template-columns: 1fr; }
}

/* 联系邮箱 */
.eba-contact { text-align: center; margin-top: 28px; font-size: 14px; color: #7B6A9C; }
.eba-contact a { color: #4A3A6B; font-weight: 700; text-decoration: none; }
.eba-contact a:hover { color: #D4AF37; }