body{ 
  background: var(--paper);
  text-transform: capitalize;
}

.login-shell{
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ---------- left: brand panel ---------- */
.brand-panel{
  background: var(--pine-deep);
  color: var(--paper);
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.brand-panel .wordmark{
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  z-index: 2;
}
.brand-panel .wordmark span{ color: #29C4F0; }
.brand-panel .wordmark small{
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5FA8D3;
}
.brand-panel .brand-block{ z-index: 2; position: relative; }

.brand-page{
  align-self: center;
  justify-self: center;
  background: var(--paper);
  color: var(--ink);
  width: 240px;
  padding: 32px 28px 28px;
  border-radius: 2px;
  box-shadow: var(--shadow-float);
  position: relative;
  z-index: 2;
  transform: rotate(-2deg);
  text-align: center;
}
.brand-page::before{
  content: '';
  position: absolute;
  top: -10px; left: 20px; right: 20px;
  height: 10px;
  background: repeating-linear-gradient(90deg, transparent 0 6px, var(--pine-deep) 6px 8px);
  opacity: 0.5;
}
.brand-page .weekday{
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--brick);
  font-weight: 600;
  margin-bottom: 6px;
}
.brand-page .daynum{
  font-family: var(--font-display);
  font-size: 76px;
  font-weight: 600;
  line-height: 0.9;
}
.brand-page .monthyear{
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 10px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-weight: 600;
}

.brand-copy{ max-width: 100%; z-index: 2; text-align: center; text-transform: none;}
.brand-copy h2{
  font-size: 27px;
  line-height: 1.25;
  color: var(--paper);
  font-weight: 500;
  margin-bottom: 12px;
}
.brand-copy p{
  font-size: 14.5px;
  color: #A9C7DE;
  line-height: 1.6;
}

.brand-panel .ring{
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
}
.ring-a{ width: 480px; height: 480px; right: -180px; top: -160px; }
.ring-b{ width: 320px; height: 320px; right: -80px; top: -60px; }

/* ---------- right: form panel ---------- */
.form-panel{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.form-box{ width: 100%; max-width: 360px; }

.form-box .eyebrow-lockup{
  font-size: 27px;
  color: var(--ink-faint);
  margin-bottom: 8px;
  font-weight: 600;
  text-align: center;
}

.form-box h1{
  font-size: 18px;
  margin-bottom: 8px;
  text-align: center;
}

.form-box .sub{
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  text-align: center;
}

.row-between{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  margin-top: 6px;
}

.row-between a{
  font-size: 13px;
  color: var(--pine);
  text-decoration: none;
  font-weight: 600;
}
.row-between a:hover{ text-decoration: underline; }

.divider{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0;
  color: var(--ink-faint);
  font-size: 12.5px;
}
.divider::before, .divider::after{
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.sso-note{
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  line-height: 1.5;
}
.sso-note strong{ color: var(--ink); }

@media (max-width: 860px){
  .login-shell{ grid-template-columns: 1fr; }
  .brand-panel{ display: none; }
  .form-panel{ padding: 32px 24px; }
}


.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 42px;
}
.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--ink-faint, #9aa5b1);
  display: flex;
  align-items: center;
}
.pw-toggle:hover {
  color: var(--ink, #1a2b3c);
}



.admin-access {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #E2E8F0;
    text-align: center;
}

.admin-access a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #64748B;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.admin-access a:hover {
    color: #106CB0;
}

.admin-access a svg {
    flex-shrink: 0;
}
