/* Only the shared signed-out login layout uses these styles. */
html.eb-member-login body { margin: 0; background: var(--eb-page); color: var(--eb-text); }
.eb-auth, .eb-auth * { box-sizing: border-box; }
.eb-auth { min-height: 100vh; font-family: "Nunito Sans", system-ui, sans-serif; font-size: 15px; line-height: 1.5; color: var(--eb-text); background: radial-gradient(ellipse at 0 0, #7650dd0d, transparent 55%), var(--eb-page); }
.eb-auth-header { max-width: 1220px; margin: auto; padding: 26px 32px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.eb-auth-brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: -.7px; color: var(--eb-text); text-decoration: none; }
.eb-auth-brand em { color: var(--eb-link); font-style: normal; }
.eb-auth-mark { display: grid; place-items: center; width: 35px; height: 35px; background: var(--eb-accent); color: white; border-radius: 10px; }
.eb-auth-mark svg { width: 24px; height: 24px; }
.eb-auth-stage { max-width: 1040px; margin: 20px auto 0; padding: 0 28px 36px; }
.eb-auth-card { display: grid; grid-template-columns: 1.12fr 1fr; min-height: 590px; padding: 12px; border: 1px solid var(--eb-border); border-radius: 24px; background: var(--eb-surface); box-shadow: 0 18px 50px #160c3410; }
.eb-auth-form { min-width: 0; padding: 42px 38px 32px; display: flex; flex-direction: column; justify-content: center; }
.eb-auth-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--eb-link); }
.eb-auth h1 { margin: 12px 0; padding: 0; font: 800 36px/1.2 "Nunito Sans", system-ui, sans-serif; letter-spacing: -1.1px; color: var(--eb-text); }
.eb-auth-intro { margin: 0 0 28px; color: var(--eb-muted); font-size: 14px; line-height: 1.7; }
.eb-auth .am-login-form-wrapper, .eb-auth .am-sendpass-form-wrapper { margin: 0; }
.eb-auth .am-form.am-auth-form { width: 100%; max-width: none; margin: 0; background: transparent; color: var(--eb-text); }
.eb-auth .am-form form, .eb-auth .am-form fieldset { margin: 0; padding: 0; border: 0; box-shadow: none; background: transparent; }
.eb-auth .am-login-form legend { display: none; }
.eb-auth .am-sendpass-form legend { padding: 0; margin: 0 0 16px; color: var(--eb-text); font-size: 20px; font-weight: 800; background: none; }
.eb-auth .am-form div.am-row { margin: 0 0 18px; padding: 0; border: 0; background: transparent; color: var(--eb-text); }
.eb-auth .am-form div.am-element-title { display: block; float: none; width: auto; padding: 0; margin: 0 0 8px; text-align: left; color: var(--eb-text); background: none; font-size: 13px; font-weight: 700; }
.eb-auth .am-form div.am-element-title label { margin: 0; color: inherit; }
.eb-auth .am-form div.am-element { padding: 0; margin: 0; width: auto; float: none; min-height: 0; position: relative; }
.eb-auth .am-form input[type="text"], .eb-auth .am-form input[type="email"], .eb-auth .am-form input[type="password"] { width: 100%; max-width: none; height: 48px; padding: 12px 14px; border: 1px solid var(--eb-border); border-radius: 10px; background: var(--eb-input); color: var(--eb-text); box-shadow: none; font: 400 14px/1.5 "Nunito Sans", system-ui, sans-serif; }
.eb-auth .am-form #amember-pass { padding-right: 42px; }
.eb-auth .am-form input::placeholder { color: var(--eb-muted); opacity: 1; }
.eb-auth .am-form input:focus { outline: 2px solid var(--eb-link); outline-offset: 2px; border-color: var(--eb-link); }
.eb-auth .am-form .am-switch-reveal { position: absolute; right: 12px; top: 14px; margin: 0; color: var(--eb-muted); }
.eb-auth .am-form #am-form-login-remember { margin-top: 12px; font-size: 13px; color: var(--eb-muted); }
.eb-auth .am-row-buttons > .am-element { display: flex; flex-direction: column; gap: 20px; }
.eb-auth .am-form-login-switch-wrapper { order: -1; text-align: right; font-size: 13px; }
.eb-auth .am-form-login-switch { margin: 0; }
.eb-auth a { color: var(--eb-link); }
.eb-auth a:hover { text-decoration: underline; }
.eb-auth .am-auth-form input[type="submit"] { text-transform: none; display: block; width: 100%; margin: 0; min-height: 48px; padding: 12px 18px; border: 0; border-radius: 10px; background: var(--eb-accent); color: #fff; text-shadow: none; box-shadow: none; font: 800 15px/1.5 "Nunito Sans", system-ui, sans-serif; cursor: pointer; }
.eb-auth .am-auth-form input[type="submit"]:hover { background: #6540c6; }
.eb-auth .am-signup-link { margin: 10px 0 0; color: var(--eb-muted); text-align: center; font-size: 13px; }
.eb-auth .am-signup-link a { font-weight: 800; }
.eb-auth .errors, .eb-auth .am-errors { color: #b42338; background: #fff0f2; border: 1px solid #edb0b7; border-radius: 8px; padding: 12px; margin: 0 0 16px; font-size: 14px; }
html.eb-member-login.dark .eb-auth .errors, html.eb-member-login.dark .eb-auth .am-errors { color: #ffbdc7; background: #40212c; border-color: #784251; }
.eb-auth-art { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; position: relative; overflow: hidden; padding: 28px; border-radius: 17px; background: linear-gradient(150deg, #8b5fea, #5332ad); color: #fff; }
.eb-auth-art-kicker { color: #efe6ff; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; }
.eb-auth-orbit { position: relative; width: 100%; aspect-ratio: 1; margin: 16px 0; display: grid; place-items: center; }
.eb-auth-ring { position: absolute; border: 1px solid #ffffff2e; border-radius: 50%; width: 87%; height: 87%; }
.eb-auth-ring-inner { width: 56%; height: 56%; border-style: dashed; }
.eb-auth-core { width: 84px; height: 84px; border-radius: 25px; background: #fff; color: #754ed5; display: grid; place-items: center; box-shadow: 0 12px 40px #2e166532; font-size: 45px; font-weight: 900; letter-spacing: -3px; }
.eb-auth-tile { position: absolute; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; border-radius: 14px; width: 76px; height: 66px; background: #fff; color: #343043; box-shadow: 0 8px 20px #27104d20; font-size: 11px; font-weight: 800; }
.eb-auth-tile b { color: #7650dd; font-size: 20px; line-height: 1.1; }
.eb-auth-tile:nth-of-type(4) { left: 8%; top: 8%; transform: rotate(-10deg); }
.eb-auth-tile:nth-of-type(5) { right: 3%; top: 14%; transform: rotate(10deg); }
.eb-auth-tile:nth-of-type(6) { right: 0; bottom: 17%; transform: rotate(-8deg); }
.eb-auth-tile:nth-of-type(7) { left: 32%; bottom: 0; transform: rotate(6deg); }
.eb-auth-tile:nth-of-type(8) { left: -1%; bottom: 25%; transform: rotate(9deg); }
.eb-auth-art h2 { margin: 16px 0 10px; padding: 0; color: #fff; font: 800 29px/1.25 "Nunito Sans", system-ui, sans-serif; letter-spacing: -.6px; }
.eb-auth-art p { color: #eee6ff; font-size: 13px; line-height: 1.8; margin: 0; max-width: 290px; }
.eb-auth-foot { text-align: center; color: var(--eb-muted); font-size: 12px; margin-top: 24px; }
@media (max-width: 800px) { .eb-auth-form { padding: 30px 22px; } .eb-auth-art { padding: 24px 18px; } .eb-auth-tile { width: 62px; height: 56px; font-size: 10px; } .eb-auth-core { width: 65px; height: 65px; font-size: 37px; } }
@media (max-width: 640px) { .eb-auth-header { padding: 20px; } .eb-auth-brand { font-size: 20px; } .eb-auth-stage { padding: 0 14px 26px; margin-top: 4px; } .eb-auth-card { display: block; min-height: 0; padding: 8px; } .eb-auth-art { display: none; } .eb-auth-form { padding: 28px 18px; } .eb-auth h1 { font-size: 32px; } }
@media (pointer: coarse) { .eb-auth .am-form input[type="text"], .eb-auth .am-form input[type="email"], .eb-auth .am-form input[type="password"] { font-size: 16px; } }
