/* 参考 易合祥/vue-admin 登录页左侧 Hero（已适配芋道 .v-login） */
.v-login,
.v-login[data-v-5652d04b]{
  min-height:100vh!important;
  height:100%!important;
  overflow:auto!important;
  background:#fff!important;
}
.v-login > .relative.mx-auto.h-full.flex,
.v-login[data-v-5652d04b] > div{
  min-height:100vh!important;
  width:100%!important;
  display:flex!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  background:#fff!important;
}

/* 左侧 Hero */
.v-login__left,
.v-login .xg-hero-bg{
  display:flex!important;
  position:relative!important;
  flex:1.15!important;
  min-width:0!important;
  overflow:hidden!important;
  background:
    radial-gradient(46% 42% at 36% 44%, rgba(120, 170, 235, 0.2) 0%, rgba(120, 170, 235, 0.08) 55%, rgba(120, 170, 235, 0) 100%),
    linear-gradient(180deg, #f1f5fb 0%, #eef3fa 100%)!important;
}
.v-login .xg-hero-bg::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:
    linear-gradient(to right, rgba(60, 110, 180, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(60, 110, 180, 0.045) 1px, transparent 1px);
  background-size:84px 84px;
  -webkit-mask-image:radial-gradient(140% 120% at 50% 45%, #000 55%, rgba(0,0,0,.2) 100%);
  mask-image:radial-gradient(140% 120% at 50% 45%, #000 55%, rgba(0,0,0,.2) 100%);
}
.v-login .xg-hero-content{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:8% 10% 8% 12%;
  box-sizing:border-box;
}
.v-login .xg-hero{
  position:relative;
  z-index:1;
  width:100%;
  max-width:720px;
  margin-top:8vh;
}
.v-login .xg-hero-logo{
  width:86px;
  height:86px;
  border-radius:20px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 12px 28px rgba(12,38,86,.18);
}
.v-login .xg-hero-logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  background:#fff;
}
.v-login .xg-hero-title{
  margin:34px 0 0;
  font-size:46px;
  font-weight:800;
  line-height:1.3;
  letter-spacing:.5px;
  color:#14203a;
  font-family:"PingFang SC","HarmonyOS Sans SC","Microsoft YaHei",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.v-login .xg-hero-title span{display:block}
.v-login .xg-hero-title-accent{color:#1a6bf0}
.v-login .xg-hero-desc{
  margin:26px 0 0;
  font-size:16px;
  line-height:1.95;
  color:#5c6b82;
  letter-spacing:.2px;
}
.v-login .xg-hero-cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  width:100%;
  margin-top:46px;
}
.v-login .xg-hero-card{
  padding:20px 18px;
  background:#fff;
  border:1px solid rgba(19,63,133,.06);
  border-radius:16px;
  box-shadow:0 8px 24px rgba(23,60,120,.07);
  transition:transform .25s ease, box-shadow .25s ease;
}
.v-login .xg-hero-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 32px rgba(23,60,120,.13);
}
.v-login .xg-hero-icon{
  display:block;
  width:22px;
  height:22px;
  color:#1a6bf0;
}
.v-login .xg-hero-icon svg{width:22px;height:22px}
.v-login .xg-hero-card-title{
  margin-top:14px;
  font-size:16px;
  font-weight:700;
  color:#16233a;
}
.v-login .xg-hero-card-desc{
  margin-top:8px;
  font-size:13px;
  color:#7c8a9e;
}
.v-login .xg-hero-footer-left,
.v-login .xg-hero-footer-right{
  position:absolute;
  bottom:36px;
  z-index:1;
  font-size:12.5px;
  letter-spacing:.6px;
  color:#8d9aad;
  white-space:nowrap;
}
.v-login .xg-hero-footer-left{left:44px}
.v-login .xg-hero-footer-right{right:9.5%}

/* 右侧登录卡片 */
.v-login .login-right-panel{
  flex:0 0 480px!important;
  max-width:480px!important;
  width:480px!important;
  margin:0!important;
  padding:48px 44px!important;
  background:#fff!important;
  border-left:1px solid #eef2f7!important;
  box-shadow:none!important;
  border-radius:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-height:100vh!important;
  box-sizing:border-box!important;
}
/* SaaS 表单注入后：压缩顶栏占位，让出垂直空间 */
.v-login .login-right-panel > .flex.items-center.justify-between{
  margin-bottom:8px;
}
.v-login .login-right-panel .yd-saas-login{
  width:100%;
  max-width:420px;
  margin:12px auto 0;
}
.v-login .login-right-panel .m-auto.h-\[calc\(100\%-60px\)\]{
  align-items:flex-start!important;
  padding-top:8px;
}
.v-login .login-right-panel .login-brand-title{
  color:#16233a!important;
  font-size:22px!important;
  font-weight:700!important;
}
.v-login .login-right-panel .el-input__wrapper{
  border-radius:10px!important;
  min-height:44px;
  box-shadow:0 0 0 1px #e5e7eb inset!important;
  background:#fafbfc!important;
}
.v-login .login-right-panel .el-input__wrapper.is-focus{
  box-shadow:0 0 0 1px #1a6bf0 inset!important;
  background:#fff!important;
}
.v-login .login-right-panel .el-button--primary{
  width:100%;
  height:44px!important;
  border-radius:10px!important;
  font-weight:600!important;
  letter-spacing:2px;
  background:#1a6bf0!important;
  border-color:#1a6bf0!important;
}

@media (max-width:1152px){
  .v-login__left,
  .v-login .xg-hero-bg{display:none!important}
  .v-login .login-right-panel{
    flex:1 1 auto!important;
    width:100%!important;
    max-width:100%!important;
    border-left:none!important;
    padding:32px 24px!important;
  }
}
@media (max-width:1600px){
  .v-login .xg-hero-title{font-size:42px}
}
@media (max-width:1366px){
  .v-login .xg-hero-title{font-size:38px}
  .v-login .login-right-panel{flex-basis:420px!important;width:420px!important;max-width:420px!important}
}
