/* CYBERPOS · cm-auth.css (V29813) — sign-in, lock screen, password and licence pages. */
body.cm-auth{margin:0;min-height:100vh;display:grid;place-items:center;padding:24px;box-sizing:border-box;font-family:var(--font);font-size:13px;color:var(--label);
  background:var(--wallpaper) fixed;-webkit-font-smoothing:antialiased}
body.cm-auth *,body.cm-auth *::before,body.cm-auth *::after{box-sizing:border-box}
.auth-card{width:min(380px,100%);padding:28px 28px 22px;border-radius:18px;background:rgba(252,252,253,.86);-webkit-backdrop-filter:blur(30px) saturate(180%);backdrop-filter:blur(30px) saturate(180%);
  box-shadow:0 30px 80px rgba(0,0,0,.18),0 0 0 1px rgba(0,0,0,.06);text-align:center}
.auth-logo{height:56px;max-width:220px;margin:0 auto 14px;display:flex;align-items:center;justify-content:center}
.auth-logo img{max-height:56px;max-width:220px;object-fit:contain;border-radius:10px}
.auth-icon{width:56px;height:56px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:var(--accent-tint);color:var(--accent)}
.auth-icon svg{width:26px;height:26px}
.auth-card h1{margin:0;font-size:20px;font-weight:600;letter-spacing:-.01em}
.auth-card .auth-sub{margin:4px 0 20px;color:var(--label-2);font-size:13px}
.auth-form{display:flex;flex-direction:column;gap:12px;text-align:left}
.auth-field label{display:block;margin:0 0 5px;font-size:12px;font-weight:500;color:#3A3A3E}
.auth-input{position:relative}
.auth-input input,.auth-form input[type=text],.auth-form input[type=password],.auth-form input[type=email]{width:100%;height:38px;padding:0 12px;border:1px solid var(--border);border-radius:9px;background:#fff;
  font:400 14px/1 var(--font);color:var(--label);outline:none;transition:border-color .12s,box-shadow .12s}
.auth-input input:focus,.auth-form input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}
.auth-input .auth-eye{position:absolute;right:4px;top:4px;width:30px;height:30px;border:0;border-radius:7px;background:transparent;color:var(--label-2);display:grid;place-items:center;cursor:pointer}
.auth-input .auth-eye:hover{background:rgba(0,0,0,.06)}
.auth-input .auth-eye svg{width:17px;height:17px}
.auth-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}
.auth-row label{display:inline-flex;align-items:center;gap:6px;color:var(--label);font-weight:400}
.auth-row input[type=checkbox]{width:15px;height:15px;margin:0;accent-color:var(--accent)}
.auth-row a,.auth-links a{color:var(--accent);text-decoration:none;font-weight:500}
.auth-row a:hover,.auth-links a:hover{text-decoration:underline}
.auth-btn{width:100%;height:40px;margin-top:4px;border:0;border-radius:10px;background:var(--accent);color:#fff;font:600 14px/1 var(--font);cursor:pointer;
  box-shadow:0 1px 1px rgba(0,0,0,.1),inset 0 1px 0 rgba(255,255,255,.18);display:inline-flex;align-items:center;justify-content:center;gap:6px}
.auth-btn:hover{background:var(--accent-hover)}
.auth-btn:focus-visible{outline:none;box-shadow:0 0 0 3px var(--accent-ring)}
.auth-alert{margin:0 0 14px;padding:9px 12px;border-radius:9px;font-size:12px;text-align:left}
.auth-alert.error{background:var(--red-bg);color:var(--red)}
.auth-alert.ok,.auth-alert.success{background:var(--green-bg);color:var(--green)}
.auth-foot{margin-top:18px;font-size:11px;color:var(--label-2)}
.auth-links{margin-top:14px;font-size:12px}

/* legacy markup on lock / password / licence pages mapped to the auth card */
body.cm-auth :is(.card,.panel){width:min(380px,100%);padding:28px 28px 22px;border-radius:18px;background:rgba(252,252,253,.86);-webkit-backdrop-filter:blur(30px) saturate(180%);backdrop-filter:blur(30px) saturate(180%);
  box-shadow:0 30px 80px rgba(0,0,0,.18),0 0 0 1px rgba(0,0,0,.06);text-align:center;border:0;color:var(--label)}
body.cm-auth .brand{display:none}
body.cm-auth :is(.eyebrow,.small-title){display:none}
body.cm-auth .logo{width:52px;height:52px;margin:0 auto 14px;border-radius:14px;display:grid;place-items:center;background:var(--accent);color:#fff;font:700 16px/1 var(--font)}
body.cm-auth .avatar{width:56px;height:56px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:var(--accent-tint);color:var(--accent);font-size:0}
body.cm-auth .avatar::before{content:"";width:24px;height:24px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center/contain no-repeat}
body.cm-auth :is(h1,.title){margin:0;font-size:20px;font-weight:600;letter-spacing:-.01em;color:var(--label)}
body.cm-auth :is(.muted,.sub){margin:4px 0 18px;color:var(--label-2);font-size:13px;line-height:1.45}
body.cm-auth form{display:flex;flex-direction:column;gap:12px;text-align:left}
body.cm-auth .field label,body.cm-auth label{font-size:12px;font-weight:500;color:#3A3A3E}
body.cm-auth .field input,body.cm-auth input.field,body.cm-auth form input[name=license_key]{display:block;width:100%;height:38px;margin-top:5px;padding:0 12px;border:1px solid var(--border);border-radius:9px;background:#fff;font:400 14px/1 var(--font);color:var(--label);outline:none}
body.cm-auth input.field{margin-top:0;text-align:center;letter-spacing:.4em;font-size:18px;height:44px}
body.cm-auth :is(.field input,input.field):focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}
body.cm-auth .btn{width:100%;height:40px;margin-top:4px;border:0;border-radius:10px;background:var(--accent);color:#fff;font:600 14px/1 var(--font);cursor:pointer;box-shadow:0 1px 1px rgba(0,0,0,.1)}
body.cm-auth .btn:hover{background:var(--accent-hover)}
body.cm-auth :is(.alert,.error,.success){margin:0 0 12px;padding:9px 12px;border-radius:9px;font-size:12px;text-align:left;background:var(--green-bg);color:var(--green);border:0}
body.cm-auth :is(.alert.error,.error){background:var(--red-bg);color:var(--red)}
body.cm-auth :is(.back,.secondary){display:inline-block;margin-top:14px;font-size:12px;font-weight:500;color:var(--accent);text-decoration:none}
body.cm-auth :is(.back,.secondary):hover{text-decoration:underline}
body.cm-auth :is(.hint,.small){margin-top:14px;font-size:11px;color:var(--label-2);line-height:1.45}
body.cm-auth .domain{display:flex;justify-content:space-between;gap:10px;margin:0 0 14px;padding:10px 12px;border-radius:10px;background:var(--surface-2);font-size:12px;color:var(--label-2);text-align:left}
body.cm-auth .domain b{color:var(--label);font-weight:600}
body.cm-auth .setup-row{display:flex;gap:6px;padding:2px;background:#E8E8ED;border-radius:8px}
body.cm-auth .setup-row label{flex:1 1 0;display:flex;align-items:center;justify-content:center;gap:6px;height:28px;border-radius:6px;cursor:pointer;font-size:12px}
body.cm-auth .setup-row label:has(input:checked){background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.14)}
body.cm-auth .setup-row input{accent-color:var(--accent);margin:0}
body.cm-auth input.field::placeholder{letter-spacing:.02em;font-size:14px}
