/* Account pages (/sign-in, /sign-up, /account, /verify, /admin) and the privacy notice.
   Built on Bootstrap and css/site.css; colours come from the same --accent tokens. */

.account-card { max-width: 460px; border: 1px solid #e3e7ee; border-radius: 12px; }
.account-card-wide { max-width: 560px; }
.account-wide { max-width: 760px; }
.account-admin { max-width: 1100px; }
.account-card .btn-primary, .account-wide .btn-primary { background: var(--accent-deep); border-color: var(--accent-deep); }
.account-card .btn-primary:hover, .account-wide .btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.account-card a:not(.btn), .account-wide a:not(.btn), .privacy a { color: var(--accent); }

.account-link { white-space: nowrap; }

.divider { display: flex; align-items: center; gap: 12px; color: #6b7280; font-size: .85rem; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid #e3e7ee; }

.sso-btn, #passkeyBtn { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; }
.sso-mark { width: 18px; height: 18px; flex: none; background: center / contain no-repeat; }
.sso-google { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC107' d='M43.6 20.5H42V20H24v8h11.3C33.7 32.7 29.2 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 13 4 4 13 4 24s9 20 20 20 20-9 20-20c0-1.3-.1-2.4-.4-3.5z'/%3E%3Cpath fill='%23FF3D00' d='M6.3 14.7l6.6 4.8C14.7 15.1 19 12 24 12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 16.3 4 9.7 8.3 6.3 14.7z'/%3E%3Cpath fill='%234CAF50' d='M24 44c5.2 0 9.9-2 13.4-5.2l-6.2-5.2C29.2 35.1 26.7 36 24 36c-5.2 0-9.6-3.3-11.3-8l-6.5 5C9.5 39.6 16.2 44 24 44z'/%3E%3Cpath fill='%231976D2' d='M43.6 20.5H42V20H24v8h11.3c-.8 2.2-2.2 4.2-4.1 5.6l6.2 5.2C37 39.2 44 34 44 24c0-1.3-.1-2.4-.4-3.5z'/%3E%3C/svg%3E"); }
.sso-microsoft { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 23'%3E%3Cpath fill='%23f35325' d='M1 1h10v10H1z'/%3E%3Cpath fill='%2381bc06' d='M12 1h10v10H12z'/%3E%3Cpath fill='%2305a6f0' d='M1 12h10v10H1z'/%3E%3Cpath fill='%23ffba08' d='M12 12h10v10H12z'/%3E%3C/svg%3E"); }
.sso-passkey { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2933' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M2 21v-1a6 6 0 0 1 9.5-4.9'/%3E%3Ccircle cx='17.5' cy='14.5' r='2.5'/%3E%3Cpath d='M17.5 17v5M17.5 19.5h2'/%3E%3C/svg%3E"); }

.code-input { font-family: var(--font-mono); letter-spacing: .4em; text-align: center; font-size: 1.6rem; }

.type-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.type-choice { position: relative; display: block; cursor: pointer; }
.type-choice input { position: absolute; opacity: 0; inset: 0; }
.type-choice span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px; border: 1.5px solid #d5dbe4; border-radius: 10px; background: #fff; transition: border-color .15s, background .15s; }
.type-choice small { color: #6b7280; font-size: .78rem; line-height: 1.3; }
.type-choice input:checked + span { border-color: var(--accent-deep); background: #eef3fa; box-shadow: 0 0 0 1px var(--accent-deep); }
.type-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 520px) { .type-choices { grid-template-columns: 1fr; } }

.optional-password summary { cursor: pointer; }

.method { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #edf0f4; }
.method-sub { padding-left: 18px; border-top: 1px dashed #edf0f4; }
form.method-sub { border-top: 0; }

.privacy { max-width: 760px; background: #fff; border: 1px solid #e3e7ee; border-radius: 12px; padding: 32px; }
.privacy li { margin-bottom: 6px; }
@media (max-width: 560px) { .privacy { padding: 20px; } }
