body.signin-page {
  background: #f0f4f1;
  min-height: 100vh;
}

/* ── MAIN LAYOUT ── */
.signin-main {
  display: flex;
  min-height: calc(100vh - 70px);
  margin-top: 70px;
}

/* ── BRANDING PANEL ── */
.signin-branding {
  flex: 0 0 42%;
  background: linear-gradient(145deg, #1a3c2e 0%, #2d6a4f 50%, #40916c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 50px;
  position: relative;
  overflow: hidden;
}
.signin-branding::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  top: -100px; right: -100px;
}
.signin-branding::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  bottom: -80px; left: -80px;
}
.signin-branding-inner {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 380px;
}
.signin-brand-logo {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 28px;
  color: #fff;
}
.signin-brand-logo span { color: #95d5b2; }
.signin-branding h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px;
  color: #fff;
}
.signin-branding p {
  color: #b7e4c7;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}
.signin-brand-features { display: flex; flex-direction: column; gap: 14px; }
.signin-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #d8f3dc;
  font-size: 0.95rem;
  font-weight: 500;
}
.signin-feature i {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── FORMS PANEL ── */
.signin-forms {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 40px;
  background: #fff;
}
.signin-forms-inner {
  width: 100%;
  max-width: 440px;
}

/* ── TABS ── */
.signin-tabs {
  display: flex;
  background: #f0f4f1;
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 32px;
  gap: 4px;
}
.signin-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  color: #6c757d;
  transition: all 0.2s;
}
.signin-tab.active {
  background: #fff;
  color: #2d6a4f;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ── PANELS ── */
.signin-panel { display: none; }
.signin-panel.active { display: block; }

.signin-panel-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a3c2e;
  margin: 0 0 6px;
}
.signin-panel-sub {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ── MESSAGE ── */
.signin-msg {
  display: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.5;
}
.signin-msg.error   { background: #fef2f2; color: #b4232f; border: 1px solid #fecaca; }
.signin-msg.success { background: #f0faf5; color: #2d6a4f; border: 1px solid #a3d5b4; }

/* ── FIELDS ── */
.sif-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sif-field { margin-bottom: 18px; }
.sif-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 7px;
}
.sif-field label i { color: #52b788; margin-right: 6px; font-size: 0.8rem; }
.sif-field input,
.sif-field select {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #111827;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
  box-sizing: border-box;
}
.sif-field input:focus { border-color: #52b788; box-shadow: 0 0 0 3px rgba(82,183,136,0.15); }
.sif-password-wrap { position: relative; }
.sif-password-wrap input { padding-right: 44px; }
.sif-toggle-pw {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: #9ca3af; font-size: 0.95rem;
}
.sif-toggle-pw:hover { color: #2d6a4f; }

/* ── PASSWORD STRENGTH ── */
.sif-strength { margin-top: 5px; font-size: 0.8rem; font-weight: 600; min-height: 16px; }

/* ── FORGOT LINK ── */
.sif-forgot { text-align: right; margin-top: -8px; margin-bottom: 18px; }
.sif-forgot button {
  background: none; border: none; color: #52b788; font-size: 0.87rem;
  cursor: pointer; font-weight: 600;
}
.sif-forgot button:hover { color: #2d6a4f; text-decoration: underline; }

/* ── CHECKBOX ── */
.sif-checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.87rem; color: #6c757d; margin-bottom: 20px;
  cursor: pointer; line-height: 1.5;
}
.sif-checkbox input[type="checkbox"] { width: 16px; height: 16px; margin-top: 2px; accent-color: #2d6a4f; }
.sif-checkbox a { color: #52b788; }

/* ── SUBMIT BUTTON ── */
.sif-submit-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #2d6a4f, #52b788);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s, transform 0.15s;
}
.sif-submit-btn:hover  { opacity: 0.9; transform: translateY(-1px); }
.sif-submit-btn:active { transform: translateY(0); }
.sif-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* ── SWITCH TEXT ── */
.sif-switch-text {
  text-align: center; margin-top: 20px; font-size: 0.9rem; color: #6c757d;
}
.sif-switch-text button {
  background: none; border: none; color: #52b788; font-weight: 700;
  cursor: pointer; font-size: inherit;
}
.sif-switch-text button:hover { color: #2d6a4f; text-decoration: underline; }

/* ── VERIFY / SUCCESS ICON ── */
.verify-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #d8f3dc, #b7e4c7);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #2d6a4f;
  margin: 0 auto 20px;
}
.success-anim {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, #2d6a4f, #52b788);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: #fff;
  margin: 0 auto 20px;
  animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes successPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ── NAV SIGNIN LINK ── */
.nav-signin-link {
  background: linear-gradient(135deg, #2d6a4f, #52b788) !important;
  color: #fff !important;
  padding: 7px 18px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}
.nav-signin-link:hover { opacity: 0.85 !important; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .signin-main { flex-direction: column; }
  .signin-branding {
    flex: none;
    padding: 50px 30px;
    min-height: auto;
  }
  .signin-branding-inner { max-width: 100%; }
  .signin-forms { padding: 40px 20px; }
}
@media (max-width: 520px) {
  .sif-row { grid-template-columns: 1fr; }
  .signin-branding { display: none; }
  .signin-main { margin-top: 70px; }
  .signin-forms { padding: 30px 16px; }
}
