/* 内衣信息系统 · 登录入口与无权限页公共样式 */

* { box-sizing: border-box; }

.portal-body {
  margin: 0;
  min-height: 100vh;
  background: url("../../images/user_photo/a027.jpg") center / cover no-repeat fixed;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  color: #26313b;
}

.portal-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 76px;
}

.login-panel {
  width: 380px;
  max-width: 100%;
  padding: 32px 36px 28px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(55, 68, 80, 0.14);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(23, 35, 45, 0.22);
}

.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #1d2a36;
}

.ding-mark {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1677ff;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.login-main {
  width: 100%;
  margin: 0;
  padding: 22px 0 0;
  text-align: center;
}

.portal-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #7a8794;
}

.login-panel h1 {
  margin: 0 0 12px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #1d2a36;
}

.portal-desc {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.8;
  color: #60707e;
}

.portal-btn {
  width: 100%;
  min-height: 44px;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  background: #1677ff;
  box-shadow: 0 8px 20px rgba(22, 119, 255, 0.22);
  color: #ffffff;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

.portal-btn:hover,
.portal-btn:focus {
  background: #0e63d0;
  box-shadow: 0 10px 24px rgba(14, 99, 208, 0.28);
  outline: none;
}

.btn-mark {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.portal-tip {
  margin: 14px 0 0;
  font-size: 12px;
  color: #8a98a4;
}

.portal-note {
  margin: 14px 0 0;
  padding: 8px 12px;
  border-radius: 6px;
  background: #f3f6f8;
  font-size: 12.5px;
  color: #55636f;
}

.login-foot {
  margin: 24px 0 0;
  padding-top: 14px;
  border-top: 1px solid #e3e8ed;
  font-size: 12px;
  color: #8a98a4;
  text-align: center;
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 9px 16px;
  text-align: center;
  background: transparent;
  font-size: 12px;
  line-height: 1.6;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ------------------------------ 无权限页 ------------------------------ */

.noauth-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #f4f6f8;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.noauth-card {
  width: 100%;
  max-width: 460px;
  padding: 32px 30px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e3e8ed;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(23, 35, 45, 0.08);
}

.noauth-code {
  display: inline-block;
  padding: 2px 8px;
  margin-bottom: 12px;
  border-radius: 4px;
  background: #eef3f7;
  color: #374450;
  font-size: 12px;
  letter-spacing: 2px;
}

.noauth-card h1 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: #1d2a36;
}

.noauth-card p {
  margin: 0 0 10px;
  text-align: left;
  font-size: 13.5px;
  line-height: 1.8;
  color: #60707e;
}

.noauth-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e3e8ed;
  font-size: 12px;
  color: #8a98a4;
}

@media (max-width: 640px) {
  .portal-wrap {
    padding: 24px 18px 76px;
  }

  .login-panel {
    width: 100%;
    max-width: 380px;
    padding: 28px 24px 24px;
  }

  .login-main {
    padding: 18px 0 0;
  }

  .login-panel h1 {
    font-size: 23px;
  }

  .noauth-card {
    padding: 26px 20px;
  }
}
