/* Online version: sign-in, choose-password, first-load and loading screens (owner 14/11/2026: "looks shit" → redone).
   Always dark (independent of the ERP theme, which is only known after sign-in). */
.cl-auth { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: radial-gradient(1200px 600px at 50% -10%, #2a2410 0%, #121316 55%) #121316; color: #ECEDEF;
  font-family: "Barlow", "Segoe UI", system-ui, sans-serif; }
.cl-card { width: 100%; max-width: 420px; background: #1B1D21; border: 1px solid #2F3238; border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.cl-head { background: #08090A; padding: 22px 28px 18px; border-bottom: 3px solid #FFC414; display: flex; align-items: center; gap: 14px; }
.cl-head img { height: 44px; width: auto; display: block; }
.cl-head span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8E939B; margin-left: auto; }
.cl-body { padding: 26px 28px 24px; }
.cl-body h1 { margin: 0 0 4px; font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.cl-body .cl-sub { margin: 0 0 20px; color: #8E939B; font-size: 15px; }
.cl-body p { color: #C9CCD1; line-height: 1.5; }
.cl-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.cl-field label { font-size: 13px; font-weight: 700; color: #C9CCD1; letter-spacing: .02em; }
.cl-field input { width: 100%; box-sizing: border-box; height: 46px; padding: 0 14px; font: 16px "Barlow", "Segoe UI", system-ui, sans-serif;
  color: #ECEDEF; background: #121316; border: 1px solid #454951; border-radius: 10px; outline: none; transition: border-color .15s, box-shadow .15s; }
.cl-field input:focus { border-color: #FFC414; box-shadow: 0 0 0 3px rgba(255, 196, 20, .2); }
.cl-pw { position: relative; } .cl-pw input { padding-right: 64px; }
.cl-pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 34px; padding: 0 10px; border: 0; border-radius: 8px;
  background: transparent; color: #8E939B; font: 600 13px "Barlow", system-ui, sans-serif; cursor: pointer; }
.cl-pw button:hover { color: #FFC414; }
.cl-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; margin-top: 6px; border: 0; border-radius: 10px; background: #FFC414; color: #111214; cursor: pointer;
  font: 700 16px "Barlow", "Segoe UI", system-ui, sans-serif; letter-spacing: .01em; transition: background .15s, transform .05s; }
.cl-btn:hover { background: #F2B600; } .cl-btn:active { transform: translateY(1px); } .cl-btn[disabled] { opacity: .6; cursor: wait; }
.cl-btn.ghost { background: transparent; color: #ECEDEF; border: 1px solid #454951; } .cl-btn.ghost:hover { border-color: #8E939B; background: #23262B; }
.cl-msg { min-height: 20px; margin: 4px 0 2px; font-size: 14px; color: #F87171; } .cl-msg.ok { color: #4ADE80; } .cl-msg.info { color: #C9CCD1; }
.cl-link { display: block; margin: 16px auto 0; background: none; border: 0; color: #C9CCD1; font: 600 14px "Barlow", system-ui, sans-serif; cursor: pointer; text-decoration: underline; text-decoration-color: #FFC414; text-underline-offset: 3px; }
.cl-link:hover { color: #FFC414; }
.cl-hint { font-size: 13px; color: #8E939B; margin: -6px 0 14px; }
.cl-foot { padding: 12px 28px; border-top: 1px solid #2F3238; font-size: 12px; color: #8E939B; display: flex; gap: 8px; align-items: center; justify-content: center; }
.cl-foot b { color: #C9CCD1; font-weight: 600; }
.cl-file { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px; border: 2px dashed #454951; border-radius: 12px; cursor: pointer; text-align: center; color: #C9CCD1; }
.cl-file:hover { border-color: #FFC414; } .cl-file input { display: none; } .cl-file b { color: #fff; font-size: 16px; }
.cl-spin { width: 34px; height: 34px; border: 3px solid #2F3238; border-top-color: #FFC414; border-radius: 50%; animation: cl-spin .8s linear infinite; margin: 6px auto 14px; }
@keyframes cl-spin { to { transform: rotate(360deg); } }
.cl-center { text-align: center; }
.cl-strength { height: 4px; border-radius: 2px; background: #2F3238; margin: -6px 0 14px; overflow: hidden; } .cl-strength i { display: block; height: 100%; width: 0; transition: width .2s, background .2s; }
@media (max-width: 480px) { .cl-body { padding: 22px 20px 20px; } .cl-head { padding: 18px 20px 14px; } .cl-card { border-radius: 12px; } }
