/* ===== Conta Weeko (entrar, criar conta, minha conta) ===== */
.accountBtn {
  gap: 6px;
  max-width: 220px;
}

.accountBtn__label {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.accountBtn.isSignedIn {
  border-color: rgba(66, 211, 146, .45);
}

.accountBtn.isSignedIn svg {
  color: var(--ok);
}

.authModal {
  width: min(440px, 100%);
}

.authBody p {
  margin: 0;
}

.authForm {
  display: grid;
  gap: 12px;
}

.authBody input[type="email"],
.authBody input[type="password"],
.authBody input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  background: rgba(0, 0, 0, .18);
  border: 1px solid var(--line2);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  font: inherit;
  font-size: 13px;
}

.authBody input:focus {
  border-color: rgba(78, 161, 255, .50);
  box-shadow: 0 0 0 4px rgba(78, 161, 255, .10);
}

html.light .authBody input[type="email"],
html.light .authBody input[type="password"],
html.light .authBody input[type="text"] {
  background: #ffffff;
}

.authTabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .14);
}

.authTab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 9px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
}

.authTab[aria-selected="true"] {
  background: rgba(78, 161, 255, .16);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(78, 161, 255, .45);
}

.authLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.authLink {
  appearance: none;
  border: 0;
  background: none;
  padding: 2px 0;
  color: var(--accent2);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

html.light .authLink {
  color: var(--accent);
}

.authGoogleBtn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
}

.authGoogleBtn svg {
  width: 18px;
  height: 18px;
}

.authDivider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
}

.authDivider::before,
.authDivider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line);
}

.authNotice {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(66, 211, 146, .35);
  background: rgba(66, 211, 146, .10);
  font-size: 12.5px;
  line-height: 1.35;
}

html.light .authNotice {
  color: #155e3b;
}

.authSent,
.authAccount {
  display: grid;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
}

.authAccountList {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .14);
}

.authAccountList div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px;
}

.authAccountList dt {
  color: var(--muted);
  font-size: 12px;
}

.authAccountList dd {
  margin: 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.authDangerLink {
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.authLink.authLinkDanger {
  color: #ff5c7a;
}

html.light .authLink.authLinkDanger {
  color: #c4183a;
}

.authDelete {
  display: grid;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.authDelete p {
  margin: 0;
}

.pwField {
  position: relative;
}

.authBody .pwField input {
  padding-right: 42px;
}

.pwToggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.pwToggle:hover,
.pwToggle:focus-visible {
  color: var(--text);
  background: rgba(127, 127, 127, .14);
}

.pwToggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pwToggle .pwEyeOff,
.pwToggle[aria-pressed="true"] .pwEye {
  display: none;
}

.pwToggle[aria-pressed="true"] .pwEyeOff {
  display: block;
}

.authGoogleCard {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .14);
  font-size: 13px;
  line-height: 1.45;
}

html.light .authGoogleCard {
  background: rgba(15, 23, 42, .03);
}

.authGoogleCardHead {
  display: flex;
  align-items: center;
  gap: 10px;
}

.authGoogleCardHead > svg {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: #fff;
}

.authGoogleCardHead strong {
  flex: 1;
  min-width: 0;
}

.authBadge {
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(66, 211, 146, .35);
  background: rgba(66, 211, 146, .12);
  color: #42d392;
  font-size: 11.5px;
  font-weight: 600;
}

html.light .authBadge {
  color: #157a4a;
}

.authCardLabel {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.authDeleteLead {
  font-size: 15px;
  font-weight: 600;
}

.authDelete a {
  color: var(--accent2);
}

html.light .authDelete a {
  color: var(--accent);
}

.authDeleteList {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 10px 12px 10px 28px;
  border-radius: 12px;
  border: 1px solid rgba(255, 92, 122, .35);
  background: rgba(255, 92, 122, .08);
  overflow-wrap: anywhere;
}

html.light .authTabs,
html.light .authAccountList {
  background: rgba(15, 23, 42, .03);
}
