/* ===========================================================
   录取查询 - 样式（还原原站 zsjyc.zkpvc.edu.cn 视觉风格）
   主色: #0d559e  强调: #1d7ef8  页头底: #07134f  文字: #2d343a
   容器: .w1440 (max 1440px, 宽 92% 居中)
   =========================================================== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", arial, sans-serif;
  font-size: 16px;
  color: #2d343a;
  background: #f4f6f9;
  line-height: 1.6;
}
a { color: #222; text-decoration: none; }
a:hover { color: #0d559e; }

.w1440 { max-width: 1440px; margin: 0 auto; width: 92%; }

/* ---------- 页头（与原站一致：深藏青底，白字） ---------- */
.header {
  width: 100%;
  background: #07134f;
}
.header .top {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .logo { display: flex; align-items: center; }
.header .logo a { display: inline-flex; align-items: center; margin-right: 16px; flex-shrink: 0; }
.header .logo img { height: 64px; width: auto; }
.header .logo .logo_txt { color: #fff; font-size: 26px; font-weight: 600; letter-spacing: 1px; }
.header .logo .logo_sub { color: #c9d4f0; font-size: 13px; margin-top: 2px; }

/* 导航：固定在页头底部，水平排列，不换行 */
.header .navTop { background: rgba(255,255,255,0.06); }
.header .navTop .w1440 { display: flex; justify-content: center; }
.header .navTop ul {
  display: flex; flex-wrap: nowrap; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.header .navTop li { flex: none; text-align: center; }
.header .navTop li a {
  display: flex; align-items: center; justify-content: center;
  height: 66px; padding: 0 34px; color: #fff; font-size: 18px;
  white-space: nowrap; position: relative;
}
.header .navTop li a::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 60%; height: 3px; background: #fff; opacity: 0; transition: .3s;
}
.header .navTop li.aon a,
.header .navTop li:hover a { color: #fff; }
.header .navTop li.aon a::after,
.header .navTop li:hover a::after { opacity: 1; }

@media (max-width: 1024px) {
  .header .navTop .w1440 { justify-content: flex-start; overflow-x: auto; }
  .header .navTop li a { padding: 0 22px; font-size: 16px; }
}
@media (max-width: 768px) {
  .header .top { height: 80px; }
  .header .logo img { height: 44px; }
  .header .logo .logo_txt { font-size: 19px; }
  .header .navTop li a { height: 52px; padding: 0 18px; font-size: 15px; }
}

/* ---------- 内容区 ---------- */
.page-banner {
  background: linear-gradient(135deg, #0d559e, #07134f);
  color: #fff;
  padding: 46px 0;
  text-align: center;
}
.page-banner h2 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: 2px; }
.page-banner p { margin: 12px 0 0; font-size: 15px; color: #c9d4f0; }

.content { padding: 48px 0 60px; }
.query-card {
  max-width: 560px; margin: 0 auto; background: #fff;
  border-radius: 8px; box-shadow: 0 6px 24px rgba(7,19,79,0.10);
  padding: 40px 44px;
}
.query-card .title {
  text-align: center; font-size: 22px; font-weight: 700; color: #07134f;
  margin: 0 0 6px;
}
.query-card .subtitle { text-align: center; color: #888; font-size: 14px; margin: 0 0 28px; }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 15px; color: #333; margin-bottom: 8px; font-weight: 600; }
.field label .req { color: #e02b2b; margin-left: 4px; }
.field input[type="text"] {
  width: 100%; height: 46px; line-height: 46px; padding: 0 14px;
  border: 1px solid #d4dae3; border-radius: 4px; font-size: 15px; color: #2d343a;
  outline: none; transition: border-color .2s;
}
.field input[type="text"]:focus { border-color: #0d559e; }

.captcha-row { display: flex; gap: 12px; align-items: stretch; }
.captcha-row input { flex: 1; }
.captcha-img {
  width: 120px; height: 46px; border: 1px solid #d4dae3; border-radius: 4px;
  cursor: pointer; flex-shrink: 0; background: #f0f5fb; display: block;
}
.captcha-refresh {
  font-size: 13px; color: #0d559e; cursor: pointer; user-select: none;
  align-self: center; margin-left: 2px; white-space: nowrap;
}

.btn-query {
  width: 100%; height: 50px; line-height: 50px; border: none; border-radius: 4px;
  background: #0d559e; color: #fff; font-size: 18px; font-weight: 600; cursor: pointer;
  transition: background .2s; margin-top: 6px;
}
.btn-query:hover { background: #0a4584; }
.btn-query:disabled { background: #9db8d6; cursor: not-allowed; }

.tip {
  margin-top: 18px; font-size: 13px; color: #888; line-height: 1.7;
  border-top: 1px dashed #e2e2e2; padding-top: 14px;
}

.msg { margin: 0 0 18px; padding: 10px 14px; border-radius: 4px; font-size: 14px; display: none; }
.msg.error { display: block; background: #fdeaea; color: #d43333; border: 1px solid #f5c6c6; }
.msg.success { display: block; background: #e9f6ee; color: #1f8a4c; border: 1px solid #bfe6cd; }

/* ---------- 结果页（录取通知书风格：干净 / 高级 / 灵动） ---------- */
@keyframes popIn {
  from { opacity: 0; transform: scale(.7); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.result-wrap { max-width: 900px; margin: 44px auto 0; position: relative; z-index: 2; }

.result-card {
  background: #fff; border-radius: 14px; border: 1px solid #eef1f5;
  box-shadow: 0 14px 50px rgba(7,19,79,0.10), 0 2px 8px rgba(0,19,79,0.04);
  overflow: hidden; position: relative; padding-bottom: 44px;
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,1.36,.5,1);
}
.result-card.show { opacity: 1; transform: translateY(0); }
.card-glow {
  position: absolute; top: -40%; left: -10%; width: 120%; height: 90%;
  background: radial-gradient(ellipse at 50% 0%, rgba(13,85,158,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.card-topbar {
  position: relative; z-index: 2;
  height: 8px;
  background: linear-gradient(90deg, #0d559e 0%, #1d7ef8 50%, #0d559e 100%);
}
/* 红色锯齿公章 · 浮于卡片右上角 */
.admit-seal-wrap {
  position: absolute; top: 18px; right: 24px; z-index: 4;
  width: 170px; height: 170px;
  transform: rotate(-10deg);
  animation: sealStamp .7s .25s cubic-bezier(.22,1.5,.5,1) both;
  pointer-events: none;
  filter: drop-shadow(0 12px 22px rgba(180,20,20,0.28));
}
.admit-seal { width: 100%; height: 100%; display: block; }
@keyframes sealStamp {
  0% { opacity: 0; transform: rotate(-10deg) scale(1.6) translateY(-30px); }
  60% { opacity: .95; transform: rotate(-10deg) scale(.92) translateY(2px); }
  100% { opacity: 1; transform: rotate(-10deg) scale(1) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .admit-seal-wrap { animation: none; }
}

/* 结果页头部 · 居中正式通知书风格 */
.result-header {
  text-align: center; padding: 36px 40px 10px; position: relative; z-index: 2;
}
.rh-school {
  font-size: 22px; font-weight: 700; color: #07134f; letter-spacing: 3px;
  margin-bottom: 12px;
}
.rh-title {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
}
.rh-title-text {
  font-size: 36px; font-weight: 800; color: #0d559e; letter-spacing: 6px;
}
.rh-ornament {
  font-size: 24px; color: #a7b8ce; opacity: .8;
}
.rh-subtitle {
  font-size: 13px; color: #a7b8ce; letter-spacing: 2px;
  font-family: Georgia, 'Times New Roman', serif; font-style: italic;
  margin-top: 8px;
}

/* 问候语 */
.result-greeting {
  padding: 18px 48px 28px; font-size: 17px; line-height: 1.9;
  color: #2d343a; position: relative; z-index: 2;
}
.result-greeting p { margin: 0; }
.result-greeting strong {
  font-size: 18px; font-weight: 800; color: #07134f;
}
.greeting-major {
  color: #dc2626; font-weight: 800; font-size: 18px;
  text-decoration: underline; text-decoration-color: rgba(220,38,38,0.25);
  text-underline-offset: 4px;
}

/* 录取信息表格 */
.result-table-wrap {
  padding: 0 48px 32px; position: relative; z-index: 2;
}
.result-table {
  width: 100%; border-collapse: collapse;
  border: 1px solid #cfe0ef; border-radius: 8px; overflow: hidden;
  font-size: 16px;
}
.result-table thead th {
  background: #e7f1f9; color: #0d559e; font-weight: 800;
  padding: 14px; text-align: center; letter-spacing: 2px;
  border-bottom: 1px solid #cfe0ef;
}
.result-table td {
  padding: 15px 18px; border: 1px solid #e1edf7;
  vertical-align: middle;
}
.result-table tr:nth-child(even) { background: #f7fbfe; }
.t-label {
  width: 130px; text-align: center;
  color: #4a5563; font-weight: 600; letter-spacing: 1px;
  background: #f0f7fc;
}
.t-value {
  color: #2d343a; font-weight: 700; word-break: break-all;
}

.result-report-block {
  margin: 30px 40px 0; background: #fafbfc; border-radius: 14px;
  padding: 26px 30px; position: relative; z-index: 2;
}
.report-title {
  margin: 0 0 18px; font-size: 17px; font-weight: 700; color: #07134f;
  display: flex; align-items: center; gap: 8px;
}
.report-title::before {
  content: ''; width: 4px; height: 18px; background: #0d559e; border-radius: 2px;
}
.report-timeline { position: relative; }
.timeline-item {
  display: flex; gap: 16px; padding: 12px 0; opacity: 0; transform: translateX(-10px);
  transition: opacity .5s ease, transform .5s ease;
}
.timeline-item.show { opacity: 1; transform: translateX(0); }
.timeline-dot {
  width: 12px; height: 12px; border-radius: 50%; background: #0d559e;
  margin-top: 6px; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(13,85,158,0.12);
}
.timeline-content { display: flex; flex-direction: column; }
.timeline-label { font-size: 13px; color: #888; }
.timeline-value { font-size: 16px; color: #2d343a; font-weight: 700; margin-top: 2px; }

.result-notice {
  margin-top: 18px; background: #fff7e6; border: 1px solid #ffe4b3; color: #8a5d18;
  border-radius: 10px; padding: 14px 16px; font-size: 14px; line-height: 1.6;
}
.result-notice span { margin-right: 4px; }

.result-actions {
  margin-top: 34px; display: flex; gap: 16px; justify-content: center;
  padding: 0 40px; position: relative; z-index: 2;
}
.btn-print, .result-actions .btn-secondary {
  height: 50px; line-height: 50px; padding: 0 34px; border-radius: 25px;
  font-size: 16px; font-weight: 600; cursor: pointer; border: none;
  transition: transform .15s, box-shadow .2s;
}
.btn-print {
  background: linear-gradient(135deg, #0d559e, #1d7ef8); color: #fff;
  box-shadow: 0 6px 16px rgba(13,85,158,0.35);
}
.btn-print:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(13,85,158,0.45); }
.result-actions .btn-secondary {
  background: #fff; color: #0d559e; border: 1px solid #0d559e;
}
.result-actions .btn-secondary:hover { background: #f0f6fc; transform: translateY(-2px); }

.deluxe-empty { text-align: center; padding: 60px 24px; color: #666; }
.empty-icon { font-size: 56px; margin-bottom: 14px; }
.empty-title { font-size: 20px; font-weight: 700; color: #07134f; margin: 0 0 8px; }
.btn-back {
  display: inline-block; background: #0d559e; color: #fff !important;
  padding: 10px 24px; border-radius: 22px; font-weight: 600;
}

/* ---------- 未录取 / 未查询到 状态页 ---------- */
.notfound-card { text-align: center; padding-bottom: 48px; }
.nf-body { padding: 8px 30px 0; }
.nf-icon {
  width: 88px; height: 88px; margin: 30px auto 0;
  border-radius: 50%; background: #eef5fc; color: #0d559e;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 3px rgba(13,85,158,0.12);
}
.nf-icon svg { width: 42px; height: 42px; }
.nf-title {
  font-size: 23px; font-weight: 800; color: #07134f;
  margin: 20px 0 12px; letter-spacing: 1px;
}
.nf-desc {
  font-size: 16px; color: #4a5563; line-height: 1.9;
  max-width: 540px; margin: 0 auto; padding: 0 6px;
  white-space: nowrap;
}
.nf-tips {
  max-width: 540px; margin: 22px auto 0;
  display: flex; gap: 10px; align-items: flex-start;
  text-align: left; font-size: 14px; color: #8b95a3; line-height: 1.8;
  background: #fafbfc; border: 1px solid #eef1f5; border-left: 3px solid #0d559e;
  border-radius: 8px; padding: 14px 16px;
}
.nf-tip-dot {
  flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%;
  background: #0d559e; margin-top: 7px;
}
.nf-actions { margin-top: 30px; }

/* ---------- 页脚 ---------- */
.footer { background: #07134f; padding: 22px 0; margin-top: 40px; }
.footer .Copyright { color: #c9d4f0; font-size: 14px; text-align: center; }
.footer .Copyright a { color: #9db8d6; }

@media (max-width: 768px) {
  .header .top { height: 80px; }
  .header .logo img { height: 44px; }
  .header .logo .logo_txt { font-size: 19px; }
  .header .navTop li a { font-size: 15px; height: 52px; }
  .query-card { padding: 28px 22px; }

  .admit-seal-wrap { width: 92px; height: 92px; top: 14px; right: 14px; }
  .result-header { padding: 26px 22px 6px; }
  .rh-school { font-size: 17px; letter-spacing: 2px; }
  .rh-title-text { font-size: 28px; letter-spacing: 4px; }
  .rh-ornament { font-size: 18px; }
  .result-greeting { padding: 12px 22px 20px; font-size: 15px; }
  .result-table-wrap { padding: 0 22px 24px; }
  .result-table { font-size: 14px; }
  .result-table td { padding: 12px 14px; }
  .t-label { width: 96px; }
  .result-report-block { margin: 24px 22px 0; padding: 22px; }
  .result-actions { flex-direction: column; padding: 0 22px; }
  .btn-print, .result-actions .btn-secondary { width: 100%; }
}

/* ---------- 页面右侧外围固定管理控制台悬浮挂件 ---------- */
.floating-admin-console {
  position: fixed;
  right: 28px;
  bottom: 40px;
  z-index: 9999;
  background: #0f3763;
  color: #ffffff !important;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(15, 55, 99, 0.35);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.floating-admin-console:hover {
  background: #1d4a7e;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(15, 55, 99, 0.45);
}
@media print {
  .floating-admin-console { display: none !important; }
}
@media (max-width: 768px) {
  .floating-admin-console {
    right: 16px;
    bottom: 24px;
    padding: 10px 16px;
    font-size: 13px;
  }
}
