/* ============================================================
 * MO 活动专题登录/注册页样式（参照“鲁贸优品”静态页设计稿）
 * 主色：暖棕金 #a99982；徽章/按钮渐变：#fa743e → #f8ca9d
 * 仅 Login.html / Register.html 使用，不影响其他页面
 * ============================================================ */

/* 隐藏 base.css 提供的旧版中央标题块，仅对专题页生效 */
body.mo-page > .box > .Title,
body.mo-page > .box > .Content {
  display: none !important;
}

@media screen and (min-width: 769px) {
  .box.mo-auth {
    width: 100%;
    height: 100vh;
    min-height: 850px;
    overflow: hidden;
    background: url(../img/Login/mo-bg.png) top center no-repeat;
    background-size: cover;
    padding: 16vh 0 0;
    display: flex;
    justify-content: center;
  }

  /* ---------- 左侧宣传区 ---------- */
  .box.mo-auth .Side {
    width: 43vw;
    height: 62vh;
    margin-right: 9vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .box.mo-auth .Side .logo {
    width: 147px;
    margin-bottom: 25px;
  }
  .box.mo-auth .Side .logo img {
    width: 100%;
    height: auto;
  }
  .box.mo-auth .Side .mo-subject {
    font-size: 22px;
    line-height: 30px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #a99982;
    margin-bottom: 18px;
  }
  .box.mo-auth .Side h1.main-title {
    font-size: 40px;
    line-height: 40px;
    color: #5a4d44;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-left: -1vw;
    white-space: nowrap;
  }
  .box.mo-auth .Side h1.main-title .mo-badge {
    flex: none;
    width: 124px;
    height: 59px;
    background-image: linear-gradient(84deg, #fa743e 0%, #f8ca9d 100%);
    box-shadow: 3px 3px 15px 0px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    font-size: 23px;
    font-weight: bold;
    line-height: 59px;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0;
  }
  .box.mo-auth .Side .mo-deadline {
    display: inline-block;
    margin-top: 18px;
    padding: 6px 22px;
    border-radius: 999px;
    background-image: linear-gradient(84deg, #fa743e 0%, #f8ca9d 100%);
    box-shadow: 3px 3px 15px 0px rgba(0, 0, 0, 0.1);
    font-size: 19px;
    line-height: 26px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 1px;
  }
  .box.mo-auth .Side .en-title {
    font-size: 40px;
    line-height: 50px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #5a4d44;
    margin-top: 20px;
  }
  .box.mo-auth .Side .slogan {
    display: flex;
    gap: 26px;
    margin-top: 30px;
  }
  .box.mo-auth .Side .slogan span {
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 4px;
    color: #5a4d44;
  }
  .box.mo-auth .Side .ps {
    width: 72%;
    font-size: 18px;
    line-height: 32px;
    color: #5a4d44;
  }

  /* ---------- 右侧表单卡片 ---------- */
  .box.mo-auth .Card {
    width: 425px;
    height: 61vh;
    min-height: 519px;
    background-color: #ffffff;
    box-shadow: 6px 8px 27px 0px rgba(169, 153, 130, 0.65);
    border: solid 1px #f4f9ff;
    margin-top: 11px;
    position: relative;
  }
  .box.mo-auth .Card.tall {
    height: auto;
    max-height: 69vh;
    overflow-y: auto;
  }
  .box.mo-auth .Card.tall::-webkit-scrollbar {
    width: 6px;
  }
  .box.mo-auth .Card.tall::-webkit-scrollbar-thumb {
    background: #d8ccbc;
    border-radius: 3px;
  }
  .box.mo-auth .Card .switch {
    position: absolute;
    top: 18px;
    right: 19px;
    display: flex;
    align-items: center;
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 2px;
    color: #030000;
  }
  .box.mo-auth .Card .switch p,
  .box.mo-auth .Card .switch a {
    cursor: pointer;
    font-size: 20px;
    line-height: 20px;
    color: #030000;
    margin: 0;
  }
  .box.mo-auth .Card .switch p:hover,
  .box.mo-auth .Card .switch a:hover {
    color: #a99982;
    text-decoration: underline;
  }
  .box.mo-auth .Card .switch p.active,
  .box.mo-auth .Card .switch a.active {
    color: #a99982;
    text-decoration: underline;
  }
  .box.mo-auth .Card .card-body {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 37px;
  }
  .box.mo-auth .Card.tall .card-body {
    padding-top: 66px;
    padding-bottom: 0;
    justify-content: flex-start;
  }
  .box.mo-auth .Card .card-body h2 {
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 2px;
    color: #030000;
    font-weight: normal;
    position: relative;
    margin-bottom: 4.7vh;
  }
  .box.mo-auth .Card .card-body h2::after {
    content: '';
    display: block;
    width: 49px;
    height: 2px;
    background-color: #a99982;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 11px);
  }

  /* MO 活动横幅 */
  .box.mo-auth .mo-banner {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fff8f2 0%, #ffeedd 100%);
    border: 1px solid #f5d5b8;
    color: #c2571c;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 12px;
    border-radius: 8px;
    margin-bottom: 3.1vh;
  }
  .box.mo-auth .mo-banner .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fa743e;
    flex: none;
    animation: moPulse 1.2s infinite;
  }
  @keyframes moPulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
  }

  /* 表单控件 */
  .box.mo-auth .field {
    width: 100%;
    height: 50px;
    border-radius: 5px;
    border: solid 1px #a99982;
    margin-bottom: 3.1vh;
    display: flex;
    align-items: center;
  }
  .box.mo-auth .field img {
    width: 16px;
    height: auto;
    margin-left: 17px;
    flex: none;
  }
  .box.mo-auth .field input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    outline: none;
    padding-left: 10px;
    padding-right: 17px;
    font-size: 16px;
    line-height: 16px;
    color: #000000;
    background: transparent;
  }
  .box.mo-auth .field input::placeholder {
    color: #757474;
  }

  /* 注册页紧凑表单 */
  .box.mo-auth .Card.tall .field {
    height: 44px;
    margin-bottom: 1.5vh;
  }
  .box.mo-auth .pwd-tip {
    width: 100%;
    font-size: 13px;
    line-height: 13px;
    color: #ff6666;
    margin: -1.2vh 0 1.9vh 2px;
  }

  /* 提示语（错误/信息/成功） */
  .box.mo-auth .login-tip {
    width: 100%;
    font-size: 12px;
    line-height: 18px;
    margin: -1.6vh 0 1.6vh 2px;
    min-height: 18px;
  }
  .box.mo-auth .login-tip.error { color: #e54545; }
  .box.mo-auth .login-tip.info { color: #a99982; }
  .box.mo-auth .login-tip.success { color: #18a35e; }

  /* 按钮 */
  .box.mo-auth .mo-btn {
    width: 100%;
    height: 50px;
    background-color: #a99982;
    border-radius: 5px;
    margin-top: 3px;
    border: none;
    outline: none;
    cursor: pointer;
  }
  .box.mo-auth .mo-btn a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    line-height: 21px;
    color: #ffffff;
  }
  .box.mo-auth .mo-btn:hover {
    filter: brightness(1.1);
  }
  .box.mo-auth .mo-btn:disabled {
    cursor: not-allowed;
    opacity: 0.75;
  }
  .box.mo-auth .btn-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 3px;
  }
  .box.mo-auth .btn-row .mo-btn {
    flex: 1;
    height: 44px;
  }
  .box.mo-auth .btn-row .mo-btn a {
    font-size: 16px;
  }
  .box.mo-auth .btn-row .mo-btn.secondary {
    background: transparent;
    border: solid 1px #a99982;
  }
  .box.mo-auth .btn-row .mo-btn.secondary a {
    color: #a99982;
  }

  /* 记住我 / 协议行 */
  .box.mo-auth .as {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    font-size: 14px;
  }
  /* 仅登录页：记住我 与登录按钮之间增加间距 */
  .box.mo-auth .Card:not(.tall) .as {
    margin-top: 30px;
  }

  
  .box.mo-auth .as a,
  .box.mo-auth .as span.inline-label {
    font-size: 14px;
    line-height: 14px;
    color: #a99982;
    display: flex;
    align-items: center;
    cursor: pointer;
  }
  .box.mo-auth .as input[type="checkbox"] {
    accent-color: #a99982;
    margin-right: 5px;
    flex: none;
  }
  .box.mo-auth .as span.inline-label label {
    display: inline;
    cursor: pointer;
  }
  .box.mo-auth .as span.inline-label label a {
    display: inline;
    font-size: 14px;
  }
  .box.mo-auth .clause {
    font-size: 14px;
    line-height: 14px;
    color: #555353;
    margin-top: 6vh;
  }
  .box.mo-auth .Card.tall .clause {
    margin-top: 3.5vh;
  }
  .box.mo-auth .clause a {
    color: #555353;
  }
  .box.mo-auth .clause a:hover {
    text-decoration: underline;
  }

  /* 底部版权 */
  .box.mo-auth .Bottom {
    width: 100%;
    height: 12vh;
    background: #fff;
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .box.mo-auth .Bottom p {
    font-size: 14px;
    line-height: 14px;
    color: #201b1b;
    text-align: center;
  }
}

@media screen and (max-width: 769px) {
  .box.mo-auth {
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: url(../img/Login/mo-bg.png) top center no-repeat;
    background-size: cover;
    padding: 5vh 2.66666667vw 16vh;
    position: relative;
  }

  /* ---------- 左侧宣传区（移动端置上） ---------- */
  .box.mo-auth .Side {
    width: 100%;
  }
  .box.mo-auth .Side .logo {
    width: 25.33333333vw;
    margin-bottom: 6.66666667vw;
  }
  .box.mo-auth .Side .logo img {
    width: 100%;
    height: auto;
  }
  .box.mo-auth .Side .mo-subject {
    font-size: 4vw;
    line-height: 5.6vw;
    font-weight: bold;
    letter-spacing: 0.26666667vw;
    color: #a99982;
    margin-bottom: 3.6vw;
  }
  .box.mo-auth .Side h1.main-title {
    font-size: 6.4vw;
    line-height: 6.4vw;
    color: #5a4d44;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: -1vw;
    position: relative;
    white-space: nowrap;
  }
  .box.mo-auth .Side h1.main-title .mo-badge {
    flex: none;
    width: 22.66666667vw;
    height: 10.93333333vw;
    background-image: linear-gradient(84deg, #fa743e 0%, #f8ca9d 100%);
    box-shadow: 0.8vw 0.8vw 4vw 0vw rgba(0, 0, 0, 0.1);
    border-radius: 8vw;
    font-size: 4.53333333vw;
    font-weight: bold;
    line-height: 10.93333333vw;
    color: #ffffff;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(0, -150%);
  }
  .box.mo-auth .Side .mo-deadline {
    display: inline-block;
    margin-top: 3vw;
    padding: 1.2vw 4vw;
    border-radius: 8vw;
    background-image: linear-gradient(84deg, #fa743e 0%, #f8ca9d 100%);
    box-shadow: 0.8vw 0.8vw 4vw 0vw rgba(0, 0, 0, 0.1);
    font-size: 3.6vw;
    line-height: 5vw;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 0.5vw;
  }
  .box.mo-auth .Side .en-title {
    font-size: 6.4vw;
    line-height: 8vw;
    font-weight: bold;
    letter-spacing: 0.53333333vw;
    color: #5a4d44;
    margin-top: 3vw;
  }
  .box.mo-auth .Side .slogan {
    display: flex;
    gap: 4vw;
    margin-top: 5.33333333vw;
  }
  .box.mo-auth .Side .slogan span {
    font-size: 3.73333333vw;
    line-height: 3.73333333vw;
    letter-spacing: 1vw;
    color: #5a4d44;
  }
  .box.mo-auth .Side .ps {
    width: 100%;
    font-size: 3.73333333vw;
    line-height: 5.86666667vw;
    color: #5a4d44;
    margin-top: 12vw;
  }

  /* ---------- 表单卡片 ---------- */
  .box.mo-auth .Card {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 1.6vw 2.13333333vw 7.2vw 0vw rgba(169, 153, 130, 0.65);
    border: solid 0.26666667vw #f4f9ff;
    margin-top: 5.06666667vw;
    position: relative;
    padding: 14.4vw 0;
  }
  .box.mo-auth .Card.tall {
    max-height: none;
  }
  .box.mo-auth .Card .switch {
    position: absolute;
    top: 3.2vw;
    right: 3.73333333vw;
    display: flex;
    align-items: center;
    font-size: 4.8vw;
    line-height: 4.8vw;
    letter-spacing: 0.53333333vw;
    color: #030000;
  }
  .box.mo-auth .Card .switch p,
  .box.mo-auth .Card .switch a {
    cursor: pointer;
    font-size: 4.8vw;
    line-height: 4.8vw;
    color: #030000;
    margin: 0;
  }
  .box.mo-auth .Card .switch p:hover,
  .box.mo-auth .Card .switch a:hover,
  .box.mo-auth .Card .switch p.active,
  .box.mo-auth .Card .switch a.active {
    color: #a99982;
    text-decoration: underline;
  }
  .box.mo-auth .Card .card-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 3.73333333vw;
  }
  .box.mo-auth .Card.tall .card-body {
    padding-top: 10vw;
  }
  .box.mo-auth .Card .card-body h2 {
    font-size: 5.33333333vw;
    line-height: 5.33333333vw;
    letter-spacing: 0.53333333vw;
    color: #030000;
    font-weight: normal;
    position: relative;
    margin-bottom: 9vw;
  }
  .box.mo-auth .Card .card-body h2::after {
    content: '';
    display: block;
    width: 13.06666667vw;
    height: 0.53333333vw;
    background-color: #a99982;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 2.93333333vw);
  }

  .box.mo-auth .mo-banner {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 2vw;
    background: linear-gradient(135deg, #fff8f2 0%, #ffeedd 100%);
    border: 0.26666667vw solid #f5d5b8;
    color: #c2571c;
    font-size: 3.2vw;
    font-weight: 600;
    padding: 2.4vw 3.2vw;
    border-radius: 2.13333333vw;
    margin-bottom: 4.53333333vw;
  }
  .box.mo-auth .mo-banner .dot {
    width: 2.13333333vw;
    height: 2.13333333vw;
    border-radius: 50%;
    background: #fa743e;
    flex: none;
    animation: moPulse 1.2s infinite;
  }

  .box.mo-auth .field {
    width: 100%;
    height: 12vw;
    border-radius: 1.33333333vw;
    border: solid 0.26666667vw #a99982;
    margin-bottom: 4.53333333vw;
    display: flex;
    align-items: center;
  }
  .box.mo-auth .field img {
    width: 4.26666667vw;
    height: auto;
    margin-left: 4.53333333vw;
    flex: none;
  }
  .box.mo-auth .field input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    outline: none;
    padding-left: 2.66666667vw;
    padding-right: 4.53333333vw;
    font-size: 3.73333333vw;
    line-height: 3.73333333vw;
    color: #000000;
    background: transparent;
  }
  .box.mo-auth .field input::placeholder {
    color: #757474;
  }
  .box.mo-auth .Card.tall .field {
    margin-bottom: 3.46666667vw;
  }
  .box.mo-auth .pwd-tip {
    width: 100%;
    font-size: 3.2vw;
    line-height: 3.2vw;
    color: #ff6666;
    margin: -2vw 0 3.46666667vw 1vw;
  }

  .box.mo-auth .login-tip {
    width: 100%;
    font-size: 3.2vw;
    line-height: 4.8vw;
    margin: -2.6vw 0 2.6vw 1vw;
    min-height: 4.8vw;
  }
  .box.mo-auth .login-tip.error { color: #e54545; }
  .box.mo-auth .login-tip.info { color: #a99982; }
  .box.mo-auth .login-tip.success { color: #18a35e; }

  .box.mo-auth .mo-btn {
    width: 100%;
    height: 12vw;
    background-color: #a99982;
    border-radius: 1.33333333vw;
    margin-top: 0.8vw;
    border: none;
    outline: none;
    cursor: pointer;
  }
  .box.mo-auth .mo-btn a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.53333333vw;
    line-height: 4.53333333vw;
    color: #ffffff;
  }
  .box.mo-auth .mo-btn:hover {
    filter: brightness(1.1);
  }
  .box.mo-auth .mo-btn:disabled {
    cursor: not-allowed;
    opacity: 0.75;
  }
  .box.mo-auth .btn-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3.2vw;
    margin-top: 0.8vw;
  }
  .box.mo-auth .btn-row .mo-btn {
    flex: 1;
    height: 10.66666667vw;
  }
  .box.mo-auth .btn-row .mo-btn a {
    font-size: 3.73333333vw;
  }
  .box.mo-auth .btn-row .mo-btn.secondary {
    background: transparent;
    border: solid 0.26666667vw #a99982;
  }
  .box.mo-auth .btn-row .mo-btn.secondary a {
    color: #a99982;
  }

  .box.mo-auth .as {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4vw;
  }
  /* 仅登录页：记住我 与登录按钮之间增加间距 */
  .box.mo-auth .Card:not(.tall) .as {
    margin-top: 6vw;
  }
  .box.mo-auth .as a,
  .box.mo-auth .as span.inline-label {
    font-size: 3.2vw;
    line-height: 3.2vw;
    color: #a99982;
    display: flex;
    align-items: center;
    cursor: pointer;
  }
  .box.mo-auth .as input[type="checkbox"] {
    width: 3.6vw;
    height: 3.6vw;
    accent-color: #a99982;
    margin-right: 1.33333333vw;
    flex: none;
  }
  .box.mo-auth .as span.inline-label label {
    display: inline;
    cursor: pointer;
  }
  .box.mo-auth .as span.inline-label label a {
    display: inline;
    font-size: 3.2vw;
  }
  .box.mo-auth .clause {
    font-size: 3.46666667vw;
    line-height: 3.46666667vw;
    color: #555353;
    margin-top: 5.9vh;
    text-align: center;
  }
  .box.mo-auth .Card.tall .clause {
    margin-top: 4vh;
  }
  .box.mo-auth .clause a {
    color: #555353;
  }
  .box.mo-auth .clause a:hover {
    text-decoration: underline;
  }

  .box.mo-auth .Bottom {
    width: 100vw;
    height: 10vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  .box.mo-auth .Bottom p {
    font-size: 3.2vw;
    line-height: 3.2vw;
    color: #201b1b;
    text-align: center;
  }
}
