/* sign-in-page: the sign-in card, its callouts and the Close button as
   WebSignIn draws them. Every value is the artboard's own, through the
   tokens of design.css where one is set. Only what the system does is
   drawn (the manager's rulings on the website): no Apple button and no
   store badges; email and password in the artboard's pill field and dark
   button; Google's own button when its web client is set. This file is
   read after account.css, whose older sign-in rules it overrides. */

.frame-sign-in .frame-header {
  align-items: flex-start;
}

/* The round glass Close button, home. */
.frame-sign-in .sign-in-close {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 8px 20px rgba(27, 36, 99, 0.12);
  color: var(--ink);
}

/* The giant wordmark, 30 px below the panel's top edge. */
.frame-sign-in .account-auth-watermark {
  top: 30px;
}

.frame-sign-in .sign-in-main {
  display: block;
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0 16px 48px;
  padding-top: 156px;
}

/* The card and its callouts: the callouts are placed from the card's
   edges as the artboard places them (the card at 466, 236 of the panel). */
.frame-sign-in .sign-in-stage {
  position: relative;
  width: min(460px, 100%);
  margin: 0 auto;
}

.frame-sign-in .sign-in-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 460px;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 36px;
  border-radius: var(--radius-sign-in);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(28px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85), 0 30px 70px rgba(27, 36, 99, 0.18);
  gap: 22px;
}

.frame-sign-in .sign-in-card h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: var(--tracking-display-landing);
  text-align: center;
}

/* web-join: the title and its line, 6 px apart, as drawn. */
.frame-sign-in .sign-in-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.frame-sign-in .sign-in-head p {
  margin: 0;
  color: var(--ink-muted-sign-in);
}

/* web-join: "At least 8 characters." under the join step's password, in
   the legal line's type. */
.frame-sign-in .sign-in-hint {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted-sign-in);
}

.frame-sign-in .sign-in-card .said {
  margin: 0;
  padding: 12px 20px;
  border-radius: var(--radius-text-area);
  background: var(--accent-soft);
}

.frame-sign-in .sign-in-card .said.refused {
  background: var(--danger-soft);
}

.frame-sign-in .sign-in-providers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* "or" between two hairlines. */
.frame-sign-in .sign-in-or {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-muted-sign-in);
  font-size: 14px;
}

.frame-sign-in .sign-in-or span {
  flex: 1;
  height: 1px;
  background: rgba(36, 39, 40, 0.18);
}

.frame-sign-in .sign-in-card form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.frame-sign-in .sign-in-card label {
  display: block;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

/* The 52 px pill field. */
.frame-sign-in .sign-in-card .sign-in-field {
  display: block;
  width: 100%;
  height: 52px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

/* The dark 52 px button with its chevron. */
.frame-sign-in .sign-in-card .sign-in-go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--inverse);
  color: var(--on-inverse);
  font: var(--type-button-landing);
  cursor: pointer;
}

.frame-sign-in .sign-in-card .sign-in-reset {
  align-self: center;
  margin: 0;
  font-size: 13px;
  color: var(--ink);
  text-decoration: underline;
}

.frame-sign-in .sign-in-legal {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted-sign-in);
  text-align: center;
}

.frame-sign-in .sign-in-legal a {
  color: var(--ink);
  text-decoration: underline;
}

/* The callouts: bold over muted, a dashed leader to a ringed dot on the
   card's edge. */
.frame-sign-in .sign-in-call {
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 200px;
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
}

.frame-sign-in .sign-in-call b {
  font-weight: 600;
}

.frame-sign-in .sign-in-call i {
  font-style: normal;
  color: var(--ink-muted-sign-in);
}

.frame-sign-in .sign-in-call-left {
  right: calc(100% + 66px);
  text-align: right;
}

.frame-sign-in .sign-in-call-right {
  left: calc(100% + 74px);
  width: 220px;
}

.frame-sign-in .sign-in-lead {
  position: absolute;
  height: 0;
  border-top: 1.5px dashed var(--ink);
}

.frame-sign-in .sign-in-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 3px solid var(--accent);
}

/* "First minute free" (330), "One account" (600), "Nothing dials" (450)
   of the panel, each with its leader and dot. */
.frame-sign-in .sign-in-calls > :nth-child(1) { top: 94px; }
.frame-sign-in .sign-in-calls > :nth-child(2) { top: 116px; left: -58px; width: 60px; }
.frame-sign-in .sign-in-calls > :nth-child(3) { top: 110px; left: -4px; }
.frame-sign-in .sign-in-calls > :nth-child(4) { top: 364px; }
.frame-sign-in .sign-in-calls > :nth-child(5) { top: 386px; left: -58px; width: 60px; }
.frame-sign-in .sign-in-calls > :nth-child(6) { top: 380px; left: -4px; }
.frame-sign-in .sign-in-calls > :nth-child(7) { top: 214px; }
.frame-sign-in .sign-in-calls > :nth-child(8) { top: 236px; left: calc(100% + 4px); width: 64px; }
.frame-sign-in .sign-in-calls > :nth-child(9) { top: 230px; left: calc(100% - 6px); }

/* Narrower than the artboard: the card keeps its place under the
   wordmark as the wordmark shrinks with the window. */
@media (max-width: 1439px) {
  .frame-sign-in .sign-in-main {
    padding-top: clamp(40px, 10.8vw, 156px);
  }
}

/* Where the callouts no longer fit beside the card, they are left out. */
@media (max-width: 1099px) {
  .frame-sign-in .sign-in-calls {
    display: none;
  }
}

/* At phone width the wordmark sits under the logo's row, and the card
   under the wordmark, overlapping it by a few pixels as drawn at 1440. */
@media (max-width: 600px) {
  .frame-sign-in .account-auth-watermark {
    top: 66px;
  }
  .frame-sign-in .sign-in-main {
    padding-inline: 10px;
    padding-top: 60px;
  }
  .frame-sign-in .sign-in-card {
    padding: 24px;
  }
}
