/* =============================================================
 * Zone Auth Pages 风格优化 (login / register / retrieve_password / chose_type)
 * 蓝紫渐变品牌主题 + 玻璃拟态卡片
 * 加载顺序: 必须在 xzone.css 之后引入
 * ============================================================= */

/* ========== 全局动画 ========== */
@keyframes zoneAuthBgShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes zoneAuthBlobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -40px) scale(1.08); }
  66%      { transform: translate(-20px, 20px) scale(.95); }
}
@keyframes zoneAuthBtnGlow {
  0%, 100% { box-shadow: 0 10px 30px rgba(99,102,241,.35), 0 4px 12px rgba(168,85,247,.25); }
  50%      { box-shadow: 0 14px 40px rgba(99,102,241,.5), 0 6px 18px rgba(168,85,247,.4); }
}
@keyframes zoneAuthBtnSheen {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(220%); }
}

/* ========== 背景: 多层动态渐变 + 浮动光斑 + 网格 ========== */
@keyframes zoneAuthBlobFloatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(40px, -50px) scale(1.1); }
  50%      { transform: translate(-30px, 30px) scale(.95); }
  75%      { transform: translate(20px, 40px) scale(1.05); }
}
@keyframes zoneAuthBlobFloatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(-50px, 30px) scale(.92); }
  50%      { transform: translate(40px, -20px) scale(1.12); }
  75%      { transform: translate(-30px, -40px) scale(1); }
}
@keyframes zoneAuthBlobFloatC {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  33%      { transform: translate(-40%, -60%) scale(1.15); }
  66%      { transform: translate(-60%, -45%) scale(.92); }
}
@keyframes zoneAuthMeshShift {
  0%, 100% { background-position: 0% 50%, 100% 50%, 50% 0%; }
  50%      { background-position: 100% 50%, 0% 50%, 50% 100%; }
}

body.login-bg {
  background:
    /* 大型流动渐变 (mesh-like) */
    radial-gradient(ellipse 80% 60% at 0% 0%, #4f46e5, transparent 60%),
    radial-gradient(ellipse 80% 60% at 100% 100%, #a855f7, transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 50%, #7c3aed, transparent 70%),
    /* 主底色: 6 色循环线性渐变 */
    linear-gradient(135deg, #312e81 0%, #4f46e5 18%, #6366f1 36%, #7c3aed 54%, #8b5cf6 72%, #a855f7 88%, #6d28d9 100%) !important;
  background-size: 200% 200%, 200% 200%, 200% 200%, 400% 400% !important;
  animation:
    zoneAuthMeshShift 16s ease-in-out infinite,
    zoneAuthBgShift 22s ease infinite;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
/* 网格图案叠加 */
body.login-bg {
  position: relative;
}
body.login-bg > * { position: relative; z-index: 1; }

/* 通过 html::before 注入网格层(避免覆盖 body 原伪元素) */
html:has(body.login-bg)::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 90%);
}

/* 三个浮动光斑 */
body.login-bg::before,
body.login-bg::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  will-change: transform;
}
body.login-bg::before {
  top: -8%; left: -10%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(236,72,153,.45), rgba(168,85,247,.25) 50%, transparent 75%);
  animation: zoneAuthBlobFloatA 16s ease-in-out infinite;
}
body.login-bg::after {
  bottom: -12%; right: -12%;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(56,189,248,.35), rgba(99,102,241,.4) 50%, transparent 75%);
  animation: zoneAuthBlobFloatB 20s ease-in-out infinite;
}
/* 第三个中心光斑 — 通过 .login::after 兼容方案,另用全局 div 风险大,改用 body 多伪元素不行 — 在 .login 容器外加一层 fixed 元素的话需 HTML, 改在视觉上叠加 light 层 */

/* ========== 登录/注册卡片: 玻璃拟态 ========== */
.login {
  position: relative !important;
  z-index: 2 !important;
  width: 92% !important;
  max-width: 480px !important;
  min-height: 0 !important;
  background: rgba(255,255,255,.94) !important;
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid rgba(255,255,255,.5) !important;
  border-radius: 26px !important;
  box-shadow:
    0 40px 90px rgba(15,23,42,.32),
    0 16px 40px rgba(99,102,241,.18),
    0 4px 12px rgba(168,85,247,.10),
    inset 0 1px 0 rgba(255,255,255,.7) !important;
  padding: 44px 42px 36px !important;
  margin: 70px auto 60px !important;
  animation: zoneAuthCardIn .6s cubic-bezier(.22,1,.36,1) both;
}
@keyframes zoneAuthCardIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
/* 卡片顶部彩色渐变描边 */
.login::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #4f46e5, #6366f1, #8b5cf6, #a855f7, #6366f1, #4f46e5);
  background-size: 300% 100%;
  animation: zoneAuthBgShift 6s ease infinite;
  border-radius: 26px 26px 0 0;
}

/* logo 区 — 注入品牌字标 */
.login a.logo,
.login .login-brand {
  display: block;
  height: auto !important;
  width: auto !important;
  margin: 0 auto 18px !important;
  text-align: center;
  font-family: 'Yeseva One', serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, #4f46e5, #6366f1, #8b5cf6, #a855f7, #6366f1, #4f46e5);
  background-size: 300% 300%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: zoneAuthBgShift 6s ease infinite;
  letter-spacing: 1px;
}
.login a.logo::after,
.login .login-brand::after {
  content: "网络验证系统";
  display: block;
  margin-top: 6px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  background: linear-gradient(120deg, #4f46e5, #a855f7);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: none;
}

/* 在 .message 之前自动注入 Zone 字标 (无需改 HTML) */
.login .message {
  position: relative;
}
.login > .message::before {
  content: "Zone";
  display: block;
  margin: 0 auto 6px;
  font-family: 'Yeseva One', serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, #4f46e5, #6366f1, #8b5cf6, #a855f7, #6366f1, #4f46e5);
  background-size: 300% 300%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: zoneAuthBgShift 6s ease infinite;
}

/* 标题: 副标 — 重置默认蓝色渐变背景 */
.login .message {
  background: none !important;
  background-color: transparent !important;
  padding: 0 !important;
  font-family: 'Poppins', 'PingFang SC', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center !important;
  margin: 0 0 28px !important;
  color: #6b7280 !important;
  letter-spacing: 3px !important;
}
.login .message::after {
  content: "";
  display: block;
  margin: 14px auto 0;
  width: 48px; height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4f46e5, #a855f7);
}
/* 隐藏旧装饰条 */
.login #darkbannerwrap { display: none !important; }

/* ========== 输入框 ========== */
.login input[type="text"],
.login input[type="password"],
.login input[type="email"],
.login input[type="file"],
.login input.layui-input,
.login select.layui-input,
.login .layui-input {
  background: rgba(248,250,252,.85) !important;
  border: 1.5px solid rgba(99,102,241,.18) !important;
  border-radius: 12px !important;
  height: 48px !important;
  padding: 0 16px !important;
  font-size: 14px !important;
  color: #1f2937 !important;
  transition: all .25s ease !important;
  box-shadow: inset 0 1px 2px rgba(15,23,42,.04) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus,
.login input.layui-input:focus,
.login select.layui-input:focus,
.login .layui-input:focus {
  outline: none !important;
  border-color: #6366f1 !important;
  background: #fff !important;
  box-shadow:
    0 0 0 4px rgba(99,102,241,.12),
    0 4px 12px rgba(99,102,241,.08) !important;
  transform: translateY(-1px);
}
.login ::placeholder { color: #9ca3af !important; }

/* hr 间距控制 */
.login hr.hr15 { margin: 12px 0 !important; border: 0 !important; height: 0 !important; }
.login hr.hr20 { margin: 16px 0 !important; border: 0 !important; height: 0 !important; }

/* ========== 提交按钮: 蓝紫渐变 + 流光 ========== */
.login input[type="submit"],
.login input[type="button"],
.login .button-submit,
button.button-submit {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  margin: 16px 0 8px !important;
  padding: 0 22px !important;
  background-image: linear-gradient(120deg, #4f46e5, #6366f1, #8b5cf6, #a855f7, #6366f1, #4f46e5) !important;
  background-size: 300% 300% !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 14px !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  cursor: pointer !important;
  overflow: hidden !important;
  animation: zoneAuthBgShift 6s ease infinite, zoneAuthBtnGlow 2.8s ease-in-out infinite;
  transition: transform .2s ease !important;
}
.login input[type="submit"]::before,
.login .button-submit::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  transform: translateX(-120%);
  animation: zoneAuthBtnSheen 3.2s ease-in-out infinite;
  pointer-events: none;
}
.login input[type="submit"]:hover,
.login .button-submit:hover {
  transform: translateY(-2px) !important;
  background-color: transparent !important;
}
.login input[type="submit"]:active,
.login .button-submit:active {
  transform: translateY(0) !important;
}

/* ========== 用户类型选择 ========== */
.login .radio-inputs_usrtype,
.radio-inputs_usrtype {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
  margin: 4px auto 22px !important;
  width: 100% !important;
  max-width: none !important;
  align-items: stretch !important;
  justify-content: stretch !important;
}
.login .radio-inputs_usrtype > *,
.radio-inputs_usrtype > * {
  margin: 0 !important;
}
.radio-inputs_usrtype label {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  cursor: pointer;
}
.login .radio-tile_usrtype,
.radio-tile_usrtype {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 92px !important;
  border: 1.5px solid rgba(99,102,241,.16) !important;
  background: rgba(248,250,252,.6) !important;
  border-radius: 16px !important;
  padding: 14px 6px !important;
  box-shadow: 0 2px 8px rgba(15,23,42,.03) !important;
  transition: all .25s ease !important;
  cursor: pointer;
  position: relative;
  box-sizing: border-box !important;
}
.radio-tile_usrtype::before { display: none !important; } /* 隐藏旧打勾点 */
.radio-tile_usrtype:hover {
  border-color: #8b5cf6 !important;
  background: rgba(255,255,255,.95) !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(99,102,241,.14) !important;
}
.radio-input_usrtype:checked + .radio-tile_usrtype {
  border-color: transparent !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #4f46e5, #8b5cf6, #a855f7) border-box !important;
  border: 2px solid transparent !important;
  box-shadow:
    0 14px 30px rgba(99,102,241,.25),
    0 6px 14px rgba(168,85,247,.18) !important;
  transform: translateY(-3px);
}
.radio-input_usrtype:checked + .radio-tile_usrtype::after {
  content: "✓";
  position: absolute;
  top: 6px; right: 8px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #a855f7);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(99,102,241,.4);
}
.radio-input_usrtype:checked + .radio-tile_usrtype .radio-label_usrtype {
  background: linear-gradient(120deg, #4f46e5, #8b5cf6, #a855f7);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  font-weight: 700 !important;
}
.radio-icon_usrtype {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
}
.radio-icon_usrtype svg {
  width: 36px !important;
  height: 36px !important;
}
.radio-label_usrtype {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  transition: color .25s ease;
}

/* ========== 验证码 captcha 包裹 ========== */
#captcha {
  margin: 4px 0 !important;
  border-radius: 10px;
  overflow: hidden;
}
#captcha:empty { display: none !important; }

/* ========== 邮箱验证码: 输入框 + 发送按钮 同行 ========== */
.login form > div[style*="display: flex"],
.login form > div[style*="display:flex"] {
  display: flex !important;
  align-items: stretch !important;
  gap: 10px !important;
  margin: 0 !important;
}
.login form > div[style*="display: flex"] > .layui-input,
.login form > div[style*="display:flex"] > .layui-input {
  flex: 1 1 auto !important;
  margin-right: 0 !important;
  min-width: 0 !important;
}

/* 发送验证码按钮 — 渐变描边幽灵风格 */
#sendCodeBtn,
.login .layui-btn,
.login .layui-btn-primary,
button.layui-btn-primary {
  position: relative !important;
  flex: 0 0 auto !important;
  height: 48px !important;
  min-width: 124px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  border: 1.5px solid transparent !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #4f46e5, #6366f1, #8b5cf6, #a855f7) border-box !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  color: transparent !important;
  background-clip: padding-box, border-box !important;
  -webkit-background-clip: padding-box, border-box !important;
  cursor: pointer !important;
  transition: all .25s ease !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 12px rgba(99,102,241,.10) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
/* 用 ::before 渲染渐变文字 (因 background-clip: text 与 border 冲突) */
#sendCodeBtn::before,
.login .layui-btn-primary::before {
  content: attr(data-label, "发送验证码");
  background: linear-gradient(135deg, #4f46e5, #6366f1, #8b5cf6, #a855f7);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* fallback: 直接给文字渐变 (浏览器忽略 attr 时) */
#sendCodeBtn {
  color: #6366f1 !important;
}
#sendCodeBtn::before { content: ""; }
#sendCodeBtn:hover,
.login .layui-btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 26px rgba(99,102,241,.22) !important;
  background:
    linear-gradient(135deg, #4f46e5, #6366f1, #8b5cf6, #a855f7) padding-box,
    linear-gradient(135deg, #4f46e5, #6366f1, #8b5cf6, #a855f7) border-box !important;
  color: #fff !important;
}
#sendCodeBtn:active,
.login .layui-btn-primary:active {
  transform: translateY(0) !important;
}
/* 发送中/已发送禁用态 */
#sendCodeBtn:disabled,
#sendCodeBtn.disabled,
.login .layui-btn-disabled {
  opacity: .55 !important;
  cursor: not-allowed !important;
  transform: none !important;
  background:
    linear-gradient(#f3f4f6, #f3f4f6) padding-box,
    linear-gradient(135deg, #cbd5e1, #cbd5e1) border-box !important;
  color: #9ca3af !important;
  box-shadow: none !important;
}

/* ========== 复选框 / 忘记密码 ========== */
.checkbox-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 6px 0 4px !important;
  padding: 4px 2px;
}
.checkbox-wrapper .label-text {
  font-size: 13px;
  color: #4b5563;
  margin-left: 6px;
}
.checkbox-wrapper .terms-label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.checkbox-wrapper .checkbox-svg { width: 22px; height: 22px; }
.checkbox-wrapper .checkbox-box { stroke: #6366f1; fill: rgba(99,102,241,.05); }
.checkbox-wrapper input:checked + .terms-label .checkbox-box {
  fill: rgba(99,102,241,.15);
}
.checkbox-wrapper .checkbox-tick { stroke: #6d28d9; }
.forgot-password,
a.forgot-password {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #6d28d9 !important;
  text-decoration: none !important;
  transition: color .2s ease;
}
.forgot-password:hover { color: #4f46e5 !important; }

/* ========== 底部链接区 ========== */
.login p.p {
  text-align: center;
  font-size: 13px !important;
  color: #4b5563 !important;
  margin: 6px 0 !important;
}
.login p.p .span a,
.login p.p a {
  background: linear-gradient(120deg, #4f46e5, #8b5cf6);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
.login p.p.line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px !important;
  color: #9ca3af !important;
  letter-spacing: 2px;
  margin: 16px 0 12px !important;
}
.login p.p.line::before,
.login p.p.line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.3), transparent);
}

/* ========== 社交登录按钮: 双列网格 ========== */
.flex-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin-top: 8px !important;
}
.flex-row .g_id_signin { grid-column: span 2; }
.btn.google,
.btn.qq,
.btn.apple,
.btn.telegram,
.btn.wechat,
.btn.Weibo {
  margin: 0 !important;
  background: rgba(255,255,255,.95) !important;
  border: 1.5px solid rgba(99,102,241,.16) !important;
  border-radius: 12px !important;
  height: 46px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
  letter-spacing: .5px;
  transition: all .25s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer;
  width: 100% !important;
  box-shadow: 0 2px 6px rgba(15,23,42,.04);
}
.btn.google:hover,
.btn.qq:hover,
.btn.apple:hover,
.btn.telegram:hover,
.btn.wechat:hover,
.btn.Weibo:hover {
  border-color: transparent !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #4f46e5, #8b5cf6, #a855f7) border-box !important;
  border: 1.5px solid transparent !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(99,102,241,.18) !important;
}
.btn svg { flex-shrink: 0; }

/* ========== 返回首页链接 ========== */
.lg-opr-right {
  margin-top: 14px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(99,102,241,.1);
}
.lg-opr-right .col-blue,
.lg-opr-right a {
  color: #6d28d9 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s ease;
}
.lg-opr-right a:hover { color: #4f46e5 !important; }
.lg-opr-right a::before {
  content: "←";
  font-weight: 800;
}

/* ========== 弹窗 (popup) 优化 ========== */
.popup-content {
  background: rgba(255,255,255,.96) !important;
  backdrop-filter: saturate(180%) blur(20px);
  border-radius: 18px !important;
  border: 1px solid rgba(99,102,241,.15);
  box-shadow:
    0 24px 60px rgba(15,23,42,.25),
    0 8px 24px rgba(99,102,241,.15) !important;
  padding: 28px !important;
  width: 360px !important;
}
.popup-content p {
  color: #6d28d9;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.popup-content h2 {
  font-size: 16px !important;
  color: #1f2937;
  font-weight: 600;
  margin: 12px 0 18px !important;
  line-height: 1.5;
}
.popup-content button,
.popup-content #confirmBtn {
  background-image: linear-gradient(120deg, #4f46e5, #6366f1, #8b5cf6, #a855f7) !important;
  background-size: 200% 200% !important;
  border: 0 !important;
  border-radius: 10px !important;
  height: 42px !important;
  padding: 0 28px !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  cursor: pointer;
  transition: transform .2s ease;
  animation: zoneAuthBgShift 4s ease infinite;
}
.popup-content button:hover { transform: translateY(-1px); }
.popup-content .close {
  color: #9ca3af !important;
  transition: color .2s ease;
}
.popup-content .close:hover { color: #6d28d9 !important; }

/* ========== 响应式 ========== */
@media (max-width: 575px) {
  .login {
    margin: 30px auto !important;
    width: calc(100% - 32px) !important;
    padding: 30px 22px 24px !important;
    border-radius: 20px !important;
  }
  .login > .message::before { font-size: 30px; }
  .login .message { font-size: 12px !important; letter-spacing: 2px !important; }
  .radio-inputs_usrtype { gap: 8px !important; }
  .radio-tile_usrtype { min-height: 80px !important; padding: 10px 4px !important; }
  .radio-icon_usrtype svg { width: 30px !important; height: 30px !important; }
  .radio-label_usrtype { font-size: 12px; }
  .login input[type="text"],
  .login input[type="password"],
  .login .layui-input { height: 44px !important; }
  .login input[type="submit"],
  .login .button-submit { height: 46px !important; font-size: 14px !important; }
  .flex-row { grid-template-columns: 1fr !important; }
  .flex-row .g_id_signin { grid-column: span 1; }
}

@media (max-width: 360px) {
  body.login-bg::before,
  body.login-bg::after { display: none; }
}
