/* Web email sign-in form (plan-43.md) — shared by the dashboard, admin,
   join and album sign-in cards, so it carries its own classes instead of
   relying on any one page's .btn. */
.email-signin {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.25rem;
  text-align: left;
}

.email-signin-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.25rem;
  color: var(--ink-faint);
  font-size: 0.85rem;
}

.email-signin-divider::before,
.email-signin-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--outline);
}

/* Visually hidden — the placeholder and divider explain the field, but
   screen readers still get a proper label. */
.email-signin-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.email-signin-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem 1rem;
  font: inherit;
  border: 1px solid var(--outline);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: inherit;
}

.email-signin-input:focus {
  outline: 2px solid var(--coral);
  outline-offset: 1px;
}

.email-signin-submit {
  padding: 0.8rem 1rem;
  font: inherit;
  font-weight: 700;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--teal-container);
  color: var(--on-teal-container);
  cursor: pointer;
  transition: filter 0.15s ease;
}

.email-signin-submit:hover {
  filter: brightness(0.95);
}

.email-signin-status-actions {
  margin-top: 1.5rem;
}

/* On the join/album cards the form sits between .join-actions and the hint. */
.join-card .email-signin {
  margin: 0 0 1.25rem;
}
