/* HCMIS 2026 login page — deep green + gold, matches admin dashboard theme */

:root{
  --ink:#1B3B2E;
  --ink-2:#274F3D;
  --canvas:#F2F3EE;
  --surface:#FFFFFF;
  --line:#E3E4DC;
  --text-1:#1C271F;
  --text-2:#5E6B60;
  --gold-500:#C98A22;
  --gold-700:#966619;
}

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
  background: var(--ink);
}

.hcp-login-wrapper{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.04) 0, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(201,138,34,0.10) 0, transparent 45%),
    linear-gradient(160deg, #1B3B2E 0%, #14291F 100%);
}

.hcp-login-brand{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  z-index: 1;
  text-align: center;
}
.hcp-login-brand img{
  width: 100%;
  max-width: 340px;
  height: auto;
}
.hcp-login-brand span{
  color: #F2F5F2;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
}

.hcp-login-card{
  background: var(--surface);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  width: 100%;
  max-width: 380px;
  padding: 36px 32px 28px 32px;
  z-index: 1;
}

.hcp-login-card h1{
  font-size: 20px;
  font-weight: 700;
  color: var(--text-1);
  margin: 0 0 4px 0;
  text-align: center;
}
.hcp-login-card p.hcp-login-sub{
  font-size: 13px;
  color: var(--text-2);
  text-align: center;
  margin: 0 0 26px 0;
}

.hcp-login-field{
  margin-bottom: 16px;
}
.hcp-login-field label{
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
}
.hcp-login-field input[type="text"],
.hcp-login-field input[type="password"],
.hcp-login-field input[type="email"]{
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-1);
  background: var(--canvas);
  transition: border-color .15s, background .15s;
}
.hcp-login-field input[type="text"]:focus,
.hcp-login-field input[type="password"]:focus,
.hcp-login-field input[type="email"]:focus{
  outline: none;
  border-color: var(--ink-2);
  background: #fff;
}

.hcp-login-card--wide{
  max-width: 420px;
}

.hcp-terms-row{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0 18px 0;
}
.hcp-terms-row input[type="checkbox"]{
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--ink-2);
}
.hcp-terms-row span{
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.4;
}
.hcp-terms-row a{
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.hcp-login-recaptcha{
  margin: 4px 0 18px 0;
  display: flex;
  justify-content: center;
}

.hcp-login-submit{
  width: 100%;
  padding: 12px 0;
  border: none;
  border-radius: 8px;
  background: var(--gold-500);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .15s;
}
.hcp-login-submit:hover{
  background: var(--gold-700);
}

.hcp-login-register{
  text-align: center;
  font-size: 13px;
  color: var(--text-2);
  margin: 20px 0 0 0;
}
.hcp-login-register a{
  color: var(--ink-2);
  font-weight: 700;
  text-decoration: none;
}
.hcp-login-register a:hover{
  text-decoration: underline;
}

.hcp-login-copy{
  margin-top: 26px;
  font-size: 12px;
  color: #A9C0AE;
  text-align: center;
  z-index: 1;
}
.hcp-login-copy a{
  color: var(--gold-500);
  font-weight: 600;
  text-decoration: none;
}
.hcp-login-copy a:hover{
  text-decoration: underline;
}

/* ---------- OTP verification page ---------- */
.hcp-login-card h1.hcp-otp-title{
  font-size: 18px;
  margin-bottom: 22px;
}
.hcp-otp-inputs{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}
.hcp-otp-inputs input[type="number"]{
  width: 44px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-1);
  -moz-appearance: textfield;
  transition: border-color .15s, background .15s;
}
.hcp-otp-inputs input[type="number"]::-webkit-outer-spin-button,
.hcp-otp-inputs input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}
.hcp-otp-inputs input[type="number"]:focus{
  outline: none;
  border-color: var(--gold-500);
  background: #fff;
}
.hcp-otp-inputs input[type="number"]:disabled{
  color: var(--text-2);
}