@charset "utf-8";
/* CSS Document */

 /* Meta feel */
body{
  margin:0;
  font-family:"Segoe UI", Arial, sans-serif;
  background: linear-gradient(135deg, #eef5ef, #f8faf8);
  color:#222;
}

/* Centre card */
#pagecontent{
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  box-sizing:border-box;
}

/* Card */
.login-card{
  width:360px;
  max-width:100%;
  background:#fff;
  border-radius:14px;
  box-shadow:0 12px 28px rgba(0,0,0,0.10);
  border:1px solid rgba(0,0,0,0.06);
  padding:28px 26px 22px 26px;
  text-align:center;
}

/* Header */
.login-header{
  margin-bottom:18px;
}

.login-logo{
  width:190px;
  max-width:70%;
  height:auto;
  display:block;
  margin:0 auto 10px auto;
}

.login-subtitle{
  font-size:14px;
  color:#555;
}

/* Rows */
.formrow{
  margin:12px 0;
}

/* Inputs */
input[type="text"],
input[type="password"]{
  width:100%;
  box-sizing:border-box;
  padding:12px 12px;
  border:1px solid #d6d6d6;
  border-radius:10px;
  font-size:16px; /* helps iOS not zoom */
  background:#fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type="text"]:focus,
input[type="password"]:focus{
  outline:none;
  border-color:#2e7d32;
  box-shadow:0 0 0 3px rgba(46,125,50,0.15);
}

/* Password wrap so badge can sit nicely */
.input-wrap{
  position:relative;
}

/* Caps lock badge */
.caps-badge{
  display:none;                 /* toggled by JS */
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  background:rgba(176,0,32,0.10);
  color:#b00020;
  border:1px solid rgba(176,0,32,0.22);
  border-radius:999px;
  padding:4px 10px;
  font-size:12px;
  font-weight:600;
  pointer-events:none;
  white-space:nowrap;
}

/* Give room so badge doesn't overlap password text */
#upass{
  padding-right:140px;
}

/* Button */
#usend{
  width:100%;
  padding:12px 12px;
  border:none;
  border-radius:10px;
  background:#2e7d32;
  color:#fff;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}

#usend:hover{
  background:#256628;
}

#usend:active{
  transform:translateY(1px);
}

/* Help text */
.login-help{
  margin-top:12px;
  font-size:13px;
  color:#666;
}

/* Honeypot (hidden off-screen) */
.honeypot{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* Accessible “screen reader only” labels */
.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}  