/* ============================================
   LOGIN SCREEN + LOGIN / SIGNUP TOGGLE
============================================ */
#login-screen, #coach-login-screen {
  position: relative;
  background: #f2ede4;
  border-radius: 20px;
  margin-top: 3.2rem;        /* room for the logo badge above the box */
  padding: 3.4rem 2rem 2.5rem;
  text-align: center;
}

/* coach hub's wrapper is 1500px wide on desktop: keep the login box client-sized */
#coach-login-screen {
  max-width: 412px;
  margin-left: auto;
  margin-right: auto;
}

/* purple logo badge sitting on the box's top edge (same look as the tab icon) */
#login-screen::before, #coach-login-screen::before {
  content: '';
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #4b3f5c url('../images/logo-mark-bold-white.svg') no-repeat center / 62px;
  box-shadow: 0 0 0 6px #fafafa; /* page background, so the badge looks cut into the edge */
}

#login-screen h2, #coach-login-screen h2 {
  margin: 0 0 0.4rem;
  color: #4b3f5c;
  font-size: 1.5rem;
}

#login-screen p.hint, #coach-login-screen p.hint {
  margin: 0 0 1.6rem;
  color: #5f5648;
  font-size: 0.9rem;
}

.hub-toggle {
  display: flex;
  gap: 6px;
  background: #eee6da;
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 1.4rem;
}
.hub-toggle-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.6rem 0;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #8a8073;
  cursor: pointer;
}
.hub-toggle-btn.active {
  background: #fff;
  color: #4b3f5c;
}