/* Prevent body from applying the app background on login */
html, body{
  height: 100%;
  width: 100%;
  margin: 0;
}

body{
  background: transparent !important;
}

.login-page{
  position: fixed;   /* was relative */
  inset: 0;          /* fills entire viewport */
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 24px;
  overflow:hidden;

  background: linear-gradient(90deg,
    #06243c 0%,
    #062a46 40%,
    #0aa0bb 100%
  );
}


/* vignette */
.login-page::before{
  content:"";
  position:absolute;
  inset:-80px;
  background: radial-gradient(900px 550px at 50% 28%,
    rgba(0,0,0,.38) 0%,
    rgba(0,0,0,.24) 45%,
    rgba(0,0,0,0) 75%
  );
  pointer-events:none;
  z-index:0;
}

/* darker vertical center strip */
.login-page::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:min(520px, 92vw);
  background: linear-gradient(180deg,
    rgba(0,0,0,.10) 0%,
    rgba(0,0,0,.26) 50%,
    rgba(0,0,0,.12) 100%
  );
  box-shadow: 0 22px 70px rgba(0,0,0,.35);
  pointer-events:none;
  z-index:0;
}

/* Card */
.login-card{
  position:relative;
  z-index:2;

  width: 100%;
  max-width: 440px;
  background:#fff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 18px 55px rgba(0,0,0,.28);
  overflow:hidden;
}

/* Header centered */
.login-brand{
  padding: 26px 24px 10px;
  text-align:center;
}
.login-brand img{
  max-width: 220px;
  height:auto;
  display:block;
  margin: 0 auto;
}
.login-subtitle{
  margin-top: 10px;
  color: #6b7280;
  font-weight: 600;
}

.login-divider{
  height:1px;
  background: rgba(0,0,0,.10);
}

.login-body{
  padding: 18px 24px 18px;
}

/* messages */
.msg{
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.10);
  font-weight:700;
  font-size:13px;
  margin-bottom:12px;
}
.msg.error{ background: rgba(239,68,68,.10); }
.msg.success{ background: rgba(34,197,94,.10); }

/* fields */
.field{ margin-bottom: 14px; }
.lbl{
  display:block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 800;
  color: #111827;
}

/* pill inputs */
.input{
  width:100%;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid #dde3ea;
  font-size: 14px;
  outline: none;
  background:#fff;
}

.input:focus{
  border-color: rgba(8,176,212,.55);
  box-shadow: 0 0 0 4px rgba(8,176,212,.18);
}

/* teal sign in button */
.btn-evas{
  width:100%;
  border:none;
  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 900;
  color:#fff;
  background:#08b0d4;
  cursor:pointer;
  box-shadow: 0 10px 18px rgba(8,176,212,.22);
}

.btn-evas:hover{ background:#059bbd; }

.dev-hint{
  margin-top: 12px;
  font-size: 12px;
  color: #475569;
  line-height:1.5;
}

.login-footer{
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,.10);
  text-align:center;
  font-size: 13px;
  color: #6b7280;
}
