/* Accounts: sign up, sign in, forgot password, the email card. Over app.css. */

label.field small.acct-free, .fgroup small.acct-free { color: var(--win, #5fe08f); }
label.field small.acct-taken, .fgroup small.acct-taken { color: var(--red-text, #ff7a72); }
/* a field with its hint and error beside it (outside the label, so they are not part of its name) */
.fgroup { margin: 0 0 14px; }
.fgroup > label.field { margin: 0; }
.fgroup > small { display: block; color: var(--muted); margin-top: 6px; font-size: 13px; }
input[aria-invalid="true"] { border-color: var(--red-text, #ff7a72); }
label.field small a { color: inherit; text-decoration: underline; }

.acct-email .acct-hd { font-size: 16px; margin: 0 0 6px; }
.acct-email .acct-now { margin: 0 0 12px; overflow-wrap: anywhere; }
.acct-email .note { margin: 0 0 12px; overflow-wrap: anywhere; }

/* app.css styles text and password boxes; email boxes match them. */
input[type=email] {
  width: 100%; min-height: 46px; padding: 10px 12px; font-size: 16px; color: inherit;
  background: #141418; border: 1.5px solid #34353c; border-radius: 10px;
}

/* The confirm-your-email banner (account.js drawConfirmBanner), above every page until confirmed or put away. */
.cban { position: relative; max-width: 720px; margin: 8px auto 0; width: calc(100% - 32px); box-sizing: border-box;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 40px 10px 12px;
  font-family: var(--font-ui); font-size: 14px; color: var(--text-2); }
.cban[hidden] { display: none; }
.cban-text { margin: 0 0 8px; }
.cban-text b { color: var(--text, inherit); font-weight: 700; }
.cban-mail { overflow-wrap: anywhere; }
.cban-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.cban-note { color: var(--muted); }
.cban-x { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; border: 0; border-radius: 8px;
  background: transparent; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.cban-x:hover, .cban-x:focus-visible { color: var(--text, inherit); }
