/* ================================================================
   cas-login-organon.css
   COOLS 澶栫綉鐧诲綍椤� 路 Organon 鐜荤拑鎷熸�佷富棰�
   鐢ㄩ�旓細鏇挎崲 ssocas.war 鐨勯粯璁� CMI 鐧诲綍椤佃瑙夐鏍�
   浣滆�咃細寮�鍙� handoff
   鏃ユ湡锛�2026-08-14
   渚濊禆锛氭墍鏈� JSP/Spring 琛ㄥ崟鏍囩淇濈暀锛屼粎瑙嗚灞傛浛鎹�
   鍥為��锛氬垹闄よ <link> 寮曠敤鍗冲彲鎭㈠鏃х増 CMI 涓婚
   ================================================================ */

:root {
  --organon-blue: #1b4298;
  --organon-pink: #e20177;
  --organon-cyan: #009ddc;
  --organon-green: #54b948;
  --ink: #151923;
  --muted: #687081;
  --line: #d9dee8;
  --white: #ffffff;
  --danger: #b42318;
  --danger-soft: #fbeeee;
  --danger-border: #e8b8b8;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  font-family: Montserrat, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #10234c;
  color: var(--ink);
  min-width: 320px;
}
button, input { font: inherit; }

/* ================================================================
   鑳屾櫙鍥惧彔鍔犲眰
   ================================================================ */
.page-b {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: #10234c;
}
.page-b::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -3%;
  background: url("../themes/cmi/images/loginbg.jpg") center/cover no-repeat;
}
.page-b::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,25,60,.4), rgba(8,25,60,.18) 48%, rgba(8,25,60,.54));
}

/* ================================================================
   椤堕儴鍝佺墝鏉�
   ================================================================ */
.topbar {
  position: absolute;
  z-index: 4;
  top: 34px;
  left: 54px;
  right: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-plate {
  display: inline-flex;
  align-items: center;
  padding: 16px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(7,25,60,.52);
  box-shadow: 0 12px 38px rgba(4,17,43,.28);
  -webkit-backdrop-filter: blur(14px) saturate(122%);
  backdrop-filter: blur(14px) saturate(122%);
}
.logo-plate .brand-logo {
  width: 196px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.entry-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  background: rgba(7,25,60,.25);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.entry-label i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--organon-green);
  box-shadow: 0 0 0 4px rgba(84,185,72,.18);
  display: inline-block;
  font-style: normal;
}

/* ================================================================
   鑸炲彴 + 鐧诲綍鍗�
   ================================================================ */
.stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 112px 24px 70px;
}
.login-card {
  position: relative;
  width: min(438px, calc(100vw - 36px));
  padding: 36px 38px 29px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 26px;
  background: rgba(7,25,60,.58);
  box-shadow: 0 28px 80px rgba(5,19,48,.48);
  -webkit-backdrop-filter: blur(20px) saturate(118%);
  backdrop-filter: blur(20px) saturate(118%);
}
.login-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 92px;
  height: 6px;
  border-radius: 0 0 6px 6px;
  background: var(--organon-pink);
  transform: translateX(-50%);
}
.card-head { margin-bottom: 23px; text-align: center; }
.card-head h1 {
  margin: 0;
  color: #fff;
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -.035em;
  font-weight: 800;
}
.card-head h1 span { font-weight: 400; opacity: .85; }
.card-head p {
  margin: 9px 0 0;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  line-height: 1.6;
}

/* ================================================================
   閿欒鏉★紙鏇挎崲 <font color="red">锛�
   ================================================================ */
.error-banner {
  margin: 0 0 16px;
  padding: 10px 14px;
  background: var(--danger-soft);
  border: 1px solid var(--danger-border);
  border-radius: 8px;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.error-banner::before {
  content: "鈿�";
  font-size: 16px;
  line-height: 1;
}

/* ================================================================
   琛ㄥ崟瀛楁
   ================================================================ */
.field { margin-bottom: 14px; }
.field label {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.input-shell {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute;
  left: 15px;
  width: 19px;
  height: 19px;
  color: rgba(255,255,255,.72);
}
.input-shell input {
  width: 100%;
  height: 46px;
  padding: 0 15px 0 47px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  outline: 0;
  background: rgba(255,255,255,.11);
  color: #fff;
  font-size: 15px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.input-shell input::placeholder { color: rgba(255,255,255,.62); }
.input-shell input:focus {
  border-color: rgba(255,255,255,.72);
  box-shadow: 0 0 0 3px rgba(255,255,255,.12);
}
.input-shell.has-error input {
  border-color: var(--danger);
  background: rgba(180, 35, 24, .12);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .18);
}
.captcha-check {
  position: absolute;
  right: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  pointer-events: none;
}
.captcha-check.verificationCodeSuccess {
  display: inline-flex;
  background: url("../themes/cmi/images/ico-success-s.png") center/contain no-repeat;
}
.captcha-check.verificationCodeError {
  display: inline-flex;
  background: url("../themes/cmi/images/ico-error-s.png") center/contain no-repeat;
}

/* ================================================================
   楠岃瘉鐮佽
   ================================================================ */
.captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px auto;
  gap: 9px;
  align-items: center;
}
.captcha-row .input-shell input { padding-left: 15px; padding-right: 36px; }
.captcha-image {
  width: 112px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 7px;
  background: #f3f7f5;
  display: block;
}
.refresh {
  min-width: 52px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.refresh:hover { color: var(--organon-pink); }

/* ================================================================
   鎻愪氦鎸夐挳
   ================================================================ */
.submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  margin-top: 5px;
  border: 0;
  border-radius: 8px;
  background: var(--organon-pink);
  box-shadow: 0 9px 24px rgba(226, 1, 119, .2);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.submit svg { width: 18px; height: 18px; }
.submit:hover { background: #c9016b; }

/* ================================================================
   閾炬帴琛岋紙鍙繚鐣欍�屽繕璁扮櫥褰曞瘑鐮併�嶏級
   ================================================================ */
.link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
}
.link-row a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.link-row a:hover { color: var(--organon-pink); text-decoration: underline; }

/* ================================================================
   MFA 鍏ュ彛
   ================================================================ */
.mfa-entry {
  display: grid;
  grid-template-columns: 38px 1fr 18px;
  gap: 12px;
  align-items: center;
  margin-top: 17px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.09);
  color: inherit;
  text-decoration: none;
}
.mfa-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
}
.mfa-icon svg { width: 18px; height: 18px; }
.mfa-copy strong { display: block; color: #fff; font-size: 13px; }
.mfa-copy span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.66);
  font-size: 12px;
  line-height: 1.5;
}
.mfa-arrow { color: var(--organon-pink); }

/* ================================================================
   鏀寔鐑嚎
   ================================================================ */
.support {
  margin: 15px 0 0;
  color: rgba(255,255,255,.66);
  font-size: 12px;
  text-align: center;
}
.support a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.support a:hover { text-decoration: underline; }

.copyright {
  position: absolute;
  z-index: 3;
  right: 54px;
  bottom: 30px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
}

/* ================================================================
   闅愯棌鏃х増 CMI 涓婚鐨勬畫鐣欏厓绱狅紙浠呭綋鏃� CSS 涔熻鍔犺浇鏃讹級
   ================================================================ */
#container > #content > .box.main { display: none !important; }
#forgetPasswordDivId, #mainBodyDivId { display: none !important; }

/* ================================================================
   鍝嶅簲寮�
   ================================================================ */
@media (max-width: 700px) {
  .page-b::before { inset: -2%; background-position: 48% center; }
  .page-b::after { background: linear-gradient(180deg, rgba(8,25,60,.46), rgba(8,25,60,.32)); }
  .topbar { top: 18px; left: 18px; right: 18px; }
  .logo-plate { padding: 12px 15px; }
  .logo-plate .brand-logo { width: 156px; }
  .entry-label { display: none; }
  .stage { min-height: 100vh; align-items: start; padding: 103px 18px 78px; }
  .login-card { padding: 31px 20px 25px; border-radius: 21px; }
  .captcha-row { grid-template-columns: minmax(0, 1fr) 104px; }
  .captcha-image { width: 104px; }
  .refresh { grid-column: 2; text-align: right; padding: 0; }
  .copyright { left: 18px; right: 18px; bottom: 24px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}