/* =========================================================
   CamelZone 页面精炼 CSS
   已剔除原 index.css 中冗余的表单、输入框、弹窗等未引用样式
   ========================================================= */

/* 1. 基础重置与页面底色（对应截图上半部分的浅灰蓝背景） */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: #edf1f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  -webkit-font-smoothing: antialiased;
}

/* 2. 页面级结构容器 */
.page-container,
.js-page-container {
  width: 100%;
  position: relative;
}

.page,
.js-page,
.login-grid {
  width: 100%;
  position: relative;
}

/* 3. 顶部深绿拱形导航栏与中心金色骆驼 Logo 徽章（原 index.css 核心模块） */
.login-header {
  width: 100%;
  height: 70px;
  background-color: #06402e;
  border-radius: 0 0 35px 35px;
  display: flex !important; /* 强制显示，防止原模板中的 hidden 属性导致其被隐藏 */
  justify-content: center;
  align-items: flex-end;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  z-index: 10;
}

/* 覆盖可能存在的 .hidden 隐藏属性 */
.login-header.hidden {
  display: flex !important;
}

/* 中心突出的金色边框徽章 */
.login-header-logo,
.sp-main-big-logo {
  width: 78px;
  height: 78px;
  background-color: #06402e;

  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(22px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
}

.login-header-logo img {
  max-width: 74px;
  max-height: 74px;
  object-fit: contain;
  display: block;
}

/* 4. 清除浮动 */
.clear {
  clear: both;
}

/* 5. 中间双国旗选择模块（科威特 & 沙特阿拉伯） */
.country-flags-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 65px 20px 50px;
}

.country-flag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.country-flag-item:hover {
  transform: translateY(-4px);
}

.country-flag-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 24px;
  width: 320px;
  height: 200px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.country-flag-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.country-flag-name {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  letter-spacing: 0.3px;
}

/* 6. 底部深绿主区域与跑马灯动画 */
.globalDirectMail {
  height: 990px;
  position: relative;
  display: flex;
  align-items: center;
  background: #06402e url(/static/bg.png) no-repeat 50%;
  background-size: cover;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
}

.exwrap {
  height: 700px;
  width: 100%;
}

.globalDirectMail .wrap {
  width: 100%;
  margin: 0 auto;
}

.globalDirectMail .title {
  font-size: 36px;
  margin-bottom: 13px;
}

.globalDirectMail .subtitle {
  font-size: 18px;
  margin-bottom: 80px;
  margin-top: 40px;
  line-height: 30px;
  font-weight: 350;
}

.globalDirectMail .content {
  width: 100%;
  text-align: center;
  cursor: pointer;
}

@keyframes moveSlideshow {
  100% {
    transform: translateX(-50%);
  }
}

.vifnslb-container {
  width: 100%;
  overflow: hidden;
}

.vifnslb-element {
  transform: translate3d(0, 0, 0);
  position: relative;
  overflow: hidden;
  animation-name: moveSlideshow;
  animation-duration: 80s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  display: flex;
  width: max-content;
  min-width: 200%;
}

.vifnslb-bar {
  width: 50%;
}

/* 7. 移动端响应式适配 */
@media (max-width: 767px) {
  .vifnslb-bar img {
    height: 300px;
  }
  .globalDirectMail .wrap {
    height: 140px !important;
  }
  .country-flags-container {
    flex-direction: column;
    gap: 30px;
    padding: 40px 15px;
  }
  .country-flag-card {
    width: 260px;
    height: 165px;
    padding: 16px;
  }
  .country-flag-name {
    font-size: 17px;
  }
}

@media (min-width: 0px) and (max-width: 500px) {
  .exwrap {
    width: 100%;
    margin-top: 100px;
    height: 800px;
  }
  .globalDirectMail {
    padding-bottom: -100px;
    height: 800px;
  }
  .globalDirectMail .title {
    font-size: 20px;
    margin-bottom: 13px;
  }
  .globalDirectMail .subtitle {
    font-size: 10px;
    margin-top: 20px;
  }
  .footer-menu-helper {
    height: 300px;
    margin-bottom: 200px;
  }
}