/* ============================================================
   智恒云 · 后台登录页
   视觉沿用老系统：蓝天白云背景 + 白色毛玻璃卡片 + 品牌蓝按钮
   ============================================================ */

.login-body{
  min-height:100vh; margin:0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;
  color:#1d2733;
  background:
    linear-gradient(rgba(18,40,70,.18), rgba(18,40,70,.30)),
    url('../img/login_bg.jpg') center / cover no-repeat fixed;
  background-color:#3a9bd8;
  padding:20px;
}

/* 卡片：半透明毛玻璃，与蓝天背景融合 */
.login-box{
  position:relative;
  width:376px; max-width:100%;
  padding:32px 38px;
  background:linear-gradient(165deg, rgba(255,255,255,.96) 0%, rgba(242,246,250,.92) 100%);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.55);
  border-radius:16px;
  box-shadow:0 18px 46px rgba(12,34,62,.35), 0 3px 10px rgba(12,34,62,.18);
}
/* 右下角淡蓝光晕 */
.login-box::after{
  content:''; position:absolute; bottom:-90px; right:-60px;
  width:220px; height:220px; border-radius:50%;
  background:radial-gradient(circle, rgba(26,111,181,.10), transparent 70%);
  pointer-events:none;
}

.login-logo{
  display:block;
  width:62px; height:62px;
  margin:0 auto 14px;
  border-radius:14px;
  box-shadow:0 6px 16px rgba(20,93,156,.22);
}

h1{
  font-size:17.5px; font-weight:600; text-align:center;
  color:#1d2733; letter-spacing:1.6px; line-height:1.5; margin:0 0 4px; white-space:nowrap;
}
/* 系统名称后面的版本号小字 */
h1 .ver{
  display:inline-block; margin-left:6px;
  font-size:11px; font-weight:400; color:#1a6fb5;
  letter-spacing:0; line-height:1;
  vertical-align:1px; white-space:nowrap;
}
.role{
  text-align:center;
  font-size:15px; font-weight:500; color:#1a6fb5;
  letter-spacing:1.5px; text-indent:1.5px;
  margin:0 0 22px;
}
.sub{
  font-size:12px; color:#7c8794; text-align:center;
  letter-spacing:1px; margin-bottom:22px;
}

.login-err{
  margin:0 0 6px; padding:8px 10px;
  background:rgba(198,40,40,.06);
  border:1px solid rgba(198,40,40,.18);
  border-radius:8px;
  color:#c62828; font-size:12.5px; text-align:center; line-height:1.55;
}

/* 字段：标签与输入框同一行，整行在卡片内左右等距 */
.field{
  display:flex; align-items:center; gap:8px;
  margin-bottom:16px;
}
.field label{
  flex:0 0 54px; width:54px; margin:0;
  text-align:right;
  font-size:13px; color:#4c5866; letter-spacing:.5px;
}

input{
  flex:1 1 auto; min-width:0;
  background:rgba(255,255,255,.72);
  color:#2b2f36;
  border:1px solid #d8dee6;
  border-radius:8px;
  padding:10px 13px;
  font-size:14px; font-family:inherit;
  transition:border-color .15s, box-shadow .15s, background .15s;
}
input::placeholder{ color:#a8b2bd; }
input:hover{ background:rgba(255,255,255,.9); }
input:focus{
  outline:none; border-color:#1a6fb5; background:#fff;
  box-shadow:0 0 0 3px rgba(26,111,181,.16);
}

button{
  width:100%; margin-top:22px;
  background:linear-gradient(135deg,#1f7ec7,#145d9c);
  border:1px solid #145d9c;
  color:#fff;
  border-radius:8px;
  padding:11px;
  font-family:inherit;
  font-size:15px; font-weight:500;
  letter-spacing:8px; text-indent:8px;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(26,111,181,.28);
  transition:filter .15s, box-shadow .15s;
}
button:hover{ filter:brightness(1.08); box-shadow:0 6px 16px rgba(26,111,181,.38); }
button:active{ filter:brightness(.97); }
button:focus-visible{ outline:2px solid rgba(26,111,181,.45); outline-offset:2px; }

.hint{
  margin-top:16px;
  font-size:12px; color:#7c8693; text-align:center;
}
/* 授权用户 / 开发者：公司名加深加粗，便于辨认 */
.hint-org{ color:#2b3542; font-weight:600; letter-spacing:.3px; }

.foot{
  position:fixed; left:0; right:0; bottom:14px;
  text-align:center;
  font-size:12px; color:rgba(255,255,255,.45);
  letter-spacing:1px;
}

/* 手机端：卡片收窄、下移一点，隐藏底部固定页脚避免压住卡片 */
@media (max-width:520px){
  .login-body{ padding:18px 16px 40px; }
  .login-box{ width:100%; max-width:322px; padding:28px 26px 24px; }
  .login-logo{ width:54px; height:54px; margin-bottom:12px; }
  h1{ font-size:17px; letter-spacing:2px; }
  .sub{ font-size:11.5px; letter-spacing:.5px; margin-bottom:18px; }
  label{ margin-top:11px; }
  button{ letter-spacing:6px; text-indent:6px; }
  .foot{ position:fixed; left:0; right:0; bottom:10px; margin:0; color:rgba(255,255,255,.6); }
}
