:root {
  --sbh-green-dark: #14442f;
  --sbh-green: #1f6f4a;
  --sbh-green-light: #2f8f61;
  --sbh-gold: #d4a017;
  --sbh-cream: #f7f5ee;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Nunito Sans', 'Source Sans Pro', sans-serif;
  background: var(--sbh-cream);
}

.sbh-page {
  min-height: 100vh;
  display: flex;
}

/* ---------- Left brand panel ---------- */
.sbh-brand-panel {
  position: relative;
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 3rem;
  color: #fff;
  background: linear-gradient(160deg, var(--sbh-green-dark) 0%, var(--sbh-green) 55%, var(--sbh-green-light) 100%);
  overflow: hidden;
}

.sbh-leaf-decor {
  position: absolute;
  opacity: .12;
  pointer-events: none;
}

.sbh-leaf-decor.top-left   { top: -60px; left: -60px; width: 220px; transform: rotate(15deg); }
.sbh-leaf-decor.bottom-right { bottom: -80px; right: -60px; width: 280px; transform: rotate(-25deg); }
.sbh-leaf-decor.mid { top: 40%; right: 8%; width: 120px; transform: rotate(70deg); }

.sbh-brand-content {
  position: relative;
  z-index: 1;
  max-width: 420px;
  text-align: center;
}

.sbh-logo-wrap {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 24px;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  backdrop-filter: blur(2px);
}

.sbh-logo-wrap img {
  max-height: 120px;
  max-width: 120px;
  width: auto;
  display: block;
  border-radius: 16px;
}

.sbh-logo-fallback {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
}

.sbh-brand-content h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  margin: 0 0 .5rem;
  line-height: 1.3;
}

.sbh-brand-content p.tagline {
  font-size: 1rem;
  opacity: .92;
  margin-bottom: 2rem;
}

.sbh-pillars {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}

.sbh-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  opacity: .95;
  width: 100px;
}

.sbh-pillar i {
  font-size: 1.3rem;
  color: var(--sbh-gold);
}

/* ---------- Right form panel ---------- */
.sbh-form-panel {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #ffffff;
}

.sbh-form-card {
  width: 100%;
  max-width: 380px;
}

.sbh-form-card .sbh-form-brand-mark {
  display: block;
  width: 330px;
  max-width: 100%;
  height: auto;
  margin-bottom: .9rem;
}

.sbh-form-card h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #1c1c1c;
  margin-bottom: .3rem;
}

.sbh-form-card .subtext {
  color: #6b6b6b;
  font-size: .92rem;
  margin-bottom: 1.75rem;
}

.sbh-input-group {
  position: relative;
  margin-bottom: 1.15rem;
}

.sbh-input-group i.field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sbh-green);
  opacity: .8;
  font-size: .95rem;
}

.sbh-input-group input {
  width: 100%;
  padding: .75rem .9rem .75rem 2.4rem;
  border: 1px solid #dfe3e0;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 600;
  color: #222;
  background: #fbfbf9;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.sbh-input-group input:focus {
  outline: none;
  border-color: var(--sbh-green);
  background-color: #ffffe6;
  box-shadow: 0 0 0 3px rgba(31,111,74,.12);
}

.sbh-input-group input.sbh-has-toggle {
  padding-right: 2.6rem;
}

.sbh-pw-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #9a9a9a;
  padding: 6px 10px;
  cursor: pointer;
}

.sbh-pw-toggle:hover {
  color: var(--sbh-green);
}

.sbh-signin-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: .8rem 1rem;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .02em;
  color: #fff;
  background: var(--sbh-green);
  transition: background-color .15s ease, transform .1s ease;
}

.sbh-signin-btn:hover {
  background: var(--sbh-green-dark);
}

.sbh-signin-btn:active {
  transform: translateY(1px);
}

.sbh-signin-btn.sbh-btn-loading {
  pointer-events: none;
  opacity: .85;
}

.sbh-alert {
  border-radius: 10px;
  padding: .75rem 1rem;
  font-size: .88rem;
  margin-bottom: 1.25rem;
}

.sbh-alert-info {
  background: #fdf3d9;
  color: #7a5b00;
  border: 1px solid #f0dfa0;
}

.sbh-turnstile-wrap {
  display: flex;
  justify-content: center;
  margin: .25rem 0 1.15rem;
}

.sbh-turnstile-error {
  display: none;
  align-items: center;
  gap: .4rem;
  color: #b3261e;
  font-size: .82rem;
  font-weight: 600;
  margin: -.5rem 0 1rem;
}

.sbh-turnstile-error.visible {
  display: flex;
}

.sbh-footnote {
  margin-top: 2rem;
  text-align: center;
  font-size: .78rem;
  color: #9a9a9a;
}

@media (max-width: 991px) {
  .sbh-page { flex-direction: column; }
  .sbh-brand-panel { flex: 0 0 auto; padding: 2.25rem 1.5rem; }
  .sbh-pillars { display: none; }
  .sbh-form-panel { flex: 1 1 auto; padding: 2rem 1.25rem; }
}
