/* Swiper 轮播样式 */
.banner-swiper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.banner-swiper .swiper-slide img {
  width: 100%;
  display: block;
}

.banner-swiper .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background: #fff;
  opacity: 0.6;
  margin: 0 4px !important;
}

.banner-swiper .swiper-pagination-bullet-active {
  background: #f00;
  opacity: 1;
}

.banner-swiper .swiper-button-next,
.banner-swiper .swiper-button-prev {
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background 0.3s;
}

.banner-swiper .swiper-button-next:hover,
.banner-swiper .swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.5);
}

.banner-swiper .swiper-button-next::after,
.banner-swiper .swiper-button-prev::after {
  font-size: 18px;
}

/* 导航下拉菜单样式 */
.nav .sub {
  z-index: 999;
  display: none;
  width: 144px;
  left: 0;
  top: 46px;
  position: absolute;
  background: #495d84;
  line-height: 36px;
  padding: 5px 0;
  text-align: center;
}

.nav .sub li {
  zoom: 1;
}

.nav .sub a {
  display: block;
  padding: 0 10px;
}

.nav .sub a:hover {
  background: #1f3457;
  color: #fff;
}

.nav .on h3 a {
  background: #4e4e4e;
  color: #fff;
}

/* 侧边栏快速报名表单（照搬原站样式） */
.apply-form-small {
  background-color: #f5f5f5;
  border-radius: 4px;
  padding: 30px;
  margin-top: 15px;
  background-image: url(../images/side-form-bg.png);
  background-size: 100% 100%;
}

.apply-form-small h4 {
  color: #3a5b8c;
  margin-bottom: 15px;
  font-size: 16px;
}

.apply-form-small form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.apply-form-small input,
.apply-form-small select {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.btn-submit-small {
  background-color: #3a5b8c;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition:
    background-color 0.3s,
    transform 0.2s;
}

.btn-submit-small:hover {
  background-color: #2d4a73;
  transform: translateY(-2px);
}

.btn-submit-small:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 报名成功弹窗 */
.apply-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}
.apply-modal-overlay.show {
  display: block;
}

.apply-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  background: #fff;
  border-radius: 12px;
  padding: 40px 30px 30px;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.apply-modal.show {
  display: block;
}

.apply-modal-icon {
  width: 60px;
  height: 60px;
  background: #4caf50;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.apply-modal-icon svg {
  width: 36px;
  height: 36px;
  fill: #fff;
}

.apply-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.apply-modal-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

.apply-modal-btn {
  display: inline-block;
  width: 160px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: #495d84;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.apply-modal-btn:hover {
  background: #3a4b6e;
}

/* ========================================
   录取查询页面样式（照搬原站）
   ======================================== */
body.querybody {
  background-color: #f5f5f5;
}

.querybody .flex {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.querybody .flex header,
.querybody .flex .query {
  width: 100%;
}

.querybody .flex .query {
  flex: 1;
  background-image: url(../images/bg-large.png);
  background-size: 100% auto;
  background-position: bottom;
  position: relative;
}

.querybody .flex .query footer {
  background-color: rgba(73, 93, 132, 0.7);
  position: absolute;
  bottom: 0;
  width: 100%;
}

.admission-popup-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.admission-popup {
  width: 500px;
  background-color: #fff;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.popup-title {
  font-size: 24px;
  color: #3a5b8c;
  font-weight: 700;
}

.qr-code-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

.qr-code-img {
  width: 200px;
  height: 200px;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  box-sizing: border-box;
}

.btn-query-wrap {
  margin-bottom: 20px;
}

.btn-query-text {
  display: inline-block;
  padding: 0 15px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  background-color: #3a5b8c;
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  letter-spacing: 4px;
}

.popup-footer {
  text-align: center;
  font-size: 12px;
  color: #999;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .admission-popup {
    width: 100%;
  }
  .popup-title {
    font-size: 20px;
  }
}
