/* OMSNex register page — match the login screen: centered white card on soft gradient */
html,body{min-height:100%}
body.register-card-page{margin:0;background:#eef2ff}

.register-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 18px;
  background:linear-gradient(135deg,#efc9fc 0%,#ddeafd 26%,#c6f1e7 48%,#d0d3fc 72%,#b7c0fb 100%);
}

.register-shell{
  width:min(460px,100%);
  padding:28px 30px 24px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:22px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  color:#111827;
  box-shadow:0 26px 70px rgba(49,46,129,.18);
}

.register-logo{
  display:flex;
  justify-content:center;
  margin:0 0 10px;
}
.register-logo img{
  display:block;
  width:205px;
  max-width:70vw;
  height:auto;
}

.register-head{
  text-align:center;
  margin-bottom:20px;
}
.register-head h1{
  margin:0 0 6px;
  color:#111827;
  font-size:22px;
  line-height:1.25;
  letter-spacing:-.02em;
  font-weight:800;
}
.register-head p{
  margin:0;
  color:#6b7280;
  font-size:12.5px;
  line-height:1.55;
}

.register-form{display:grid;gap:12px}
.register-field{display:grid;gap:6px}
.register-field label{
  color:#334155;
  font-size:12.5px;
  font-weight:700;
}
.register-field input{
  width:100%;
  height:44px;
  border:1px solid #d9dde6;
  border-radius:11px;
  background:#fff;
  padding:0 13px;
  color:#111827;
  outline:none;
  font:inherit;
  font-size:14px;
  transition:border-color .16s ease,box-shadow .16s ease;
}
.register-field input::placeholder{color:#9ca3af}
.register-field input:focus{
  border-color:#4f46e5;
  box-shadow:0 0 0 3px rgba(79,70,229,.12);
}

.register-password{position:relative}
.register-password input{padding-right:44px}
.register-reveal{
  position:absolute;
  top:50%;
  right:7px;
  transform:translateY(-50%);
  width:30px;
  height:30px;
  padding:0;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#94a3b8;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.register-reveal:hover{background:#f3f4f6;color:#4f46e5}
.register-reveal svg{width:17px;height:17px}

.register-submit{
  width:100%;
  min-height:46px;
  margin-top:3px;
  border:0;
  border-radius:12px;
  background:linear-gradient(135deg,#4f46e5,#7c3aed);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 12px 26px rgba(79,70,229,.24);
}
.register-submit:hover{filter:brightness(1.04)}
.register-submit svg{width:17px;height:17px}

.register-login{
  margin-top:16px;
  padding-top:15px;
  border-top:1px solid #e5e7eb;
  text-align:center;
  color:#6b7280;
  font-size:12.5px;
}
.register-login a{
  color:#4f46e5;
  font-weight:700;
  text-decoration:none;
}
.register-login a:hover{text-decoration:underline}

.register-page .notice{margin:0 0 13px}
.register-page .notice:empty{display:none}

@media(max-height:780px){
  .register-page{align-items:flex-start;padding-top:18px;padding-bottom:18px}
  .register-shell{padding-top:22px;padding-bottom:20px}
  .register-logo{margin-bottom:6px}
  .register-logo img{width:185px}
  .register-head{margin-bottom:14px}
  .register-head h1{font-size:20px}
  .register-form{gap:9px}
  .register-field input{height:40px}
  .register-submit{min-height:42px}
}

@media(max-width:520px){
  .register-page{padding:16px 12px;align-items:flex-start}
  .register-shell{padding:24px 18px 20px;border-radius:18px}
  .register-logo img{width:190px}
  .register-head h1{font-size:20px}
  .register-head p{font-size:12px}
  .register-field input{height:43px}
}
