/*
 * iLoveBianca — aMember login + member area redesign (Sept 2026).
 * Loaded by views/wp-themes/generatepress/layout.phtml on aMember pages only.
 * Same palette as the /welcome-back/ landing page. Fonts come from the WP theme
 * (Abel for headings, Open Sans Condensed for text).
 */

:root {
    --ilb-pink: #cc0066;
    --ilb-pink2: #ff2d8a;
    --ilb-ink: #f5f5f5;
    --ilb-text: #d9d9e0;
    --ilb-muted: #a9a9b6;
    --ilb-bg: #111115;
    --ilb-card: #22222b;
    --ilb-card2: #2b2b35;
    --ilb-line: #3a3a47;
    --ilb-field: #0e0e12;
    --ilb-ok: #6fdc9f;
    --ilb-warn: #ffb45e;
    --ilb-err: #ff8a8a;
    --ilb-radius: 14px;
    --ilb-head: Abel, "Open Sans Condensed", sans-serif;
}

.ilb-am, .ilb-pane { color: var(--ilb-text); line-height: 1.5; }
.ilb-am *, .ilb-pane * { box-sizing: border-box; }
.ilb-am a, .ilb-pane a { color: var(--ilb-pink2); text-decoration: none; }
.ilb-am a:hover, .ilb-pane a:hover { color: #ff7ab5; }
.ilb-ico { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -0.125em; }

/* ---------- Buttons & fields ---------------------------------------------- */
.ilb-am .ilb-btn, .ilb-pane .ilb-btn, .ilb-pane input.ilb-btn[type=submit] {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: 14px 24px; font: 700 19px/1.2 "Open Sans Condensed", sans-serif; letter-spacing: .2px;
    color: #fff !important; background: var(--ilb-pink); border: 0; border-radius: 10px;
    cursor: pointer; text-decoration: none; text-align: center; width: auto; height: auto;
    box-shadow: 0 6px 20px rgba(204, 0, 102, .28); transition: background .15s, transform .15s, box-shadow .15s;
    -webkit-appearance: none; appearance: none;
}
.ilb-am .ilb-btn:hover, .ilb-pane .ilb-btn:hover { background: var(--ilb-pink2); transform: translateY(-1px); box-shadow: 0 8px 26px rgba(255, 45, 138, .35); }
.ilb-pane .ilb-btn:disabled { opacity: .55; cursor: default; transform: none; }
/* aMember's ".am-body-content input[type=submit]:hover/:active" (blue gradient PNG) outranks the rule above for <input> buttons */
.ilb-pane input.ilb-btn[type=submit]:hover, .ilb-pane input.ilb-btn[type=submit]:focus, .ilb-pane input.ilb-btn[type=submit]:active {
    background: var(--ilb-pink2) !important; border-color: transparent !important; color: #fff !important;
}
.ilb-pane input.ilb-btn[type=submit]:active { transform: none; box-shadow: 0 4px 14px rgba(255, 45, 138, .3); }
.ilb-pane input.ilb-btn[type=submit]:disabled { background: var(--ilb-pink) !important; }
.ilb-am .ilb-btn--ghost { background: transparent; border: 1px solid #45454f; box-shadow: none; color: var(--ilb-ink) !important; }
.ilb-am .ilb-btn--ghost:hover { background: #26262e; border-color: #5a5a66; box-shadow: none; }
.ilb-am .ilb-btn--block { display: flex; width: 100%; }

.ilb-pane .ilb-form { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; text-align: left; }
.ilb-pane .ilb-field { margin: 0 0 16px; }
.ilb-pane .ilb-field label, .ilb-pane .ilb-label-row label {
    display: block; margin: 0 0 6px; font-size: 16px; font-weight: 400; color: var(--ilb-muted); letter-spacing: .2px;
}
.ilb-pane .ilb-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ilb-pane .ilb-forgot { font-size: 15px; }
.ilb-pane input[type=text], .ilb-pane input[type=password], .ilb-pane input[type=email] {
    display: block; width: 100% !important; max-width: none; height: auto; margin: 0;
    padding: 14px 16px; font-size: 18px; line-height: 1.3; font-family: inherit;
    color: #fff; background: var(--ilb-field); border: 1px solid #3a3a45; border-radius: 10px;
    box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
.ilb-pane input[type=text]:focus, .ilb-pane input[type=password]:focus {
    outline: none; border-color: var(--ilb-pink2); box-shadow: 0 0 0 3px rgba(255, 45, 138, .22);
}
.ilb-pane input::placeholder { color: #6d6d78; }
.ilb-pane input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 1000px #15151b inset; caret-color: #fff; }

/* aMember adds an eye toggle (span.am-switch-reveal) right after .am-pass-reveal */
.ilb-pane .ilb-field { position: relative; }
.ilb-pane .am-pass-reveal { padding-right: 48px !important; }
.ilb-pane .am-switch-reveal {
    position: absolute; right: 14px; bottom: 16px; width: 20px; height: 20px; margin: 0 !important;
    background-size: 18px 18px !important; background-position: center !important; background-repeat: no-repeat !important;
    filter: invert(1); opacity: .55;
}
.ilb-pane .am-switch-reveal:hover { opacity: .9; }

.ilb-pane .ilb-check { display: flex; align-items: center; gap: 10px; margin: -4px 0 14px; font-size: 16px; color: var(--ilb-text); cursor: pointer; }
.ilb-pane .ilb-check input { width: 18px; height: 18px; accent-color: var(--ilb-pink); margin: 0; }
.ilb-pane input.ilb-btn[type=submit] { display: block; width: 100%; margin: 6px 0 0; padding: 16px 20px; font-size: 20px; }
.ilb-pane .ilb-help { margin: 14px 0 0; font-size: 15px; color: var(--ilb-muted); text-align: center; }

/* aMember messages (inserted by user.js right before the form) */
.ilb-pane ul.am-errors, .ilb-pane .am-errors {
    list-style: none; margin: 0 0 16px; padding: 12px 14px; font-size: 16px; line-height: 1.45;
    color: #ffd6d6; background: rgba(255, 70, 70, .1); border: 1px solid rgba(255, 110, 110, .45); border-radius: 10px;
}
.ilb-pane .am-errors li { margin: 0; padding: 0; list-style: none; background: none; }
.ilb-pane .am-errors a { color: #fff; text-decoration: underline; }
.ilb-pane .am-info {
    margin: 0 0 16px; padding: 12px 14px; font-size: 16px; line-height: 1.45; color: #d6ffe7;
    background: rgba(80, 220, 150, .1); border: 1px solid rgba(111, 220, 159, .45); border-radius: 10px;
}

/* ---------- Login page ------------------------------------------------------ */
.ilb-auth-page { max-width: 520px; margin: 28px auto 48px; }
.ilb-auth {
    background: var(--ilb-card); border: 1px solid var(--ilb-line); border-radius: 18px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 45, 138, .04);
}
/* Natural aspect ratio: the cover (photo 1.63:1, video GIF 16:9) is scaled to the card width, never cropped or distorted */
.ilb-auth-hero { position: relative; background: #000; overflow: hidden; }
.ilb-auth-hero img { display: block; width: 100%; height: auto; max-width: none; margin: 0; }
.ilb-auth-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 23, 28, 0) 55%, rgba(23, 23, 28, .7) 84%, var(--ilb-card) 99%); }
.ilb-am .ilb-eyebrow {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
    font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
    color: #fff; background: rgba(204, 0, 102, .85);
}
.ilb-am .ilb-eyebrow svg { width: 13px; height: 13px; fill: currentColor; }
.ilb-auth-hero .ilb-eyebrow { position: absolute; top: 14px; left: 14px; z-index: 1; }
.ilb-auth-body { position: relative; z-index: 1; margin-top: -26px; padding: 0 36px 32px; }
.ilb-auth .ilb-pane { margin: 0; text-align: left !important; }
.ilb-auth--plain .ilb-auth-body { margin-top: 0; padding-top: 32px; }
.ilb-pane .ilb-auth-title {
    margin: 0 0 4px; font: 400 38px/1.1 var(--ilb-head); color: #fff; text-align: center; letter-spacing: .5px;
    text-transform: none; background: none; border: 0; padding: 0;
}
.ilb-pane .ilb-auth-lead { margin: 0 0 22px; text-align: center; color: var(--ilb-muted); font-size: 17px; }
.ilb-pane .ilb-steps { margin: 10px 0 20px; padding: 0; list-style: none; counter-reset: ilbs; }
.ilb-pane .ilb-steps li { position: relative; margin: 0; padding: 5px 0 5px 36px; font-size: 16px; counter-increment: ilbs; }
.ilb-pane .ilb-steps li::before {
    content: counter(ilbs); position: absolute; left: 2px; top: 5px; width: 24px; height: 24px; border-radius: 50%;
    background: var(--ilb-pink); color: #fff; font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.ilb-pane .ilb-or { display: flex; align-items: center; gap: 14px; margin: 24px 0 16px; color: #777783; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; }
.ilb-pane .ilb-or::before, .ilb-pane .ilb-or::after { content: ""; flex: 1; height: 1px; background: var(--ilb-line); }
.ilb-pane .ilb-social { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.ilb-pane .ilb-social > * { margin: 0 !important; }
.ilb-pane .ilb-social > #fb-root { position: absolute; }
.ilb-pane .ilb-social .am-fb-login-button-wrapper, .ilb-pane .ilb-social .am-google-button-wrapper {
    display: flex; justify-content: center; margin: 0 !important; padding: 0 !important; border: 0 !important; max-width: none;
}
.ilb-pane .ilb-social .am-fb-login-button-wrapper::before, .ilb-pane .ilb-social .am-fb-login-button-wrapper::after,
.ilb-pane .ilb-social .am-fb-login-button::before { content: none !important; display: none !important; }
.ilb-pane .ilb-social .am-fb-login-button { line-height: 0; }
.ilb-pane .ilb-social img { display: block; border-radius: 4px; }
.ilb-auth-signup { margin: 22px 0 0; text-align: center; font-size: 18px; color: var(--ilb-muted); }

/* ---------- Social sign-in buttons (login card + signup card) ------------------ */
/* Markup: _ilb-helpers.php ilb_am_social_button(). Google keeps its standard "G" unaltered on a white
   disc, Facebook its blue "f" disc; label "Continue with …". aMember and theme rules style <a>/<button>
   with !important, hence the !important on colours. Google first (it stays after the cutover). */
.ilb-am .ilb-sbtn, .ilb-pane .ilb-sbtn {
    --ilb-sbtn-glow: rgba(255, 255, 255, .14);
    position: relative; display: flex; align-items: center; justify-content: center; gap: 12px;
    width: 100%; min-width: 0; height: 48px; margin: 0; padding: 0 16px; overflow: hidden;
    font: 700 17px/1 "Open Sans Condensed", sans-serif; letter-spacing: .3px; white-space: nowrap;
    text-transform: none; text-decoration: none; text-shadow: none;
    color: var(--ilb-ink) !important; background: var(--ilb-card) !important;
    border: 1px solid var(--ilb-line) !important; border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 4px 14px rgba(0, 0, 0, .28);
    cursor: pointer; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease;
}
.ilb-am .ilb-sbtn--google, .ilb-pane .ilb-sbtn--google { --ilb-sbtn-glow: rgba(66, 133, 244, .38); order: -1; }
.ilb-am .ilb-sbtn--facebook, .ilb-pane .ilb-sbtn--facebook { --ilb-sbtn-glow: rgba(8, 102, 255, .45); }
@media (hover: hover) {
    .ilb-am .ilb-sbtn:hover, .ilb-pane .ilb-sbtn:hover {
        transform: translateY(-2px); color: #fff !important; background: var(--ilb-card2) !important; border-color: #56566a !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 26px -8px rgba(0, 0, 0, .7), 0 0 22px -2px var(--ilb-sbtn-glow);
    }
}
.ilb-am .ilb-sbtn:active, .ilb-pane .ilb-sbtn:active { transform: translateY(0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 2px 8px rgba(0, 0, 0, .35); }
.ilb-am .ilb-sbtn:focus, .ilb-pane .ilb-sbtn:focus { outline: none; }
.ilb-am .ilb-sbtn:focus-visible, .ilb-pane .ilb-sbtn:focus-visible {
    outline: none; border-color: var(--ilb-pink2) !important; box-shadow: 0 0 0 3px rgba(255, 45, 138, .45), 0 4px 14px rgba(0, 0, 0, .28);
}
.ilb-sbtn .ilb-sbtn-mark { flex: none; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; }
.ilb-sbtn--google .ilb-sbtn-mark { background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.ilb-sbtn .ilb-sbtn-mark svg { display: block; width: 28px; height: 28px; margin: 0; }
.ilb-sbtn--google .ilb-sbtn-mark svg { width: 18px; height: 18px; }
.ilb-sbtn .ilb-sbtn-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; transition: opacity .16s; }
/* Loading: Facebook's SDK not ready yet (html.ilb-fb-ready missing), or a click on its way (.is-busy) */
html:not(.ilb-fb-ready):not(.ilb-fb-failed) .ilb-sbtn--facebook, .ilb-sbtn.is-busy { cursor: progress; }
html:not(.ilb-fb-ready):not(.ilb-fb-failed) .ilb-sbtn--facebook .ilb-sbtn-label, .ilb-sbtn.is-busy .ilb-sbtn-label { opacity: .6; }
html:not(.ilb-fb-ready):not(.ilb-fb-failed) .ilb-sbtn--facebook::after, .ilb-sbtn.is-busy::after {
    content: ""; flex: none; width: 16px; height: 16px; margin-left: 2px; box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, .22); border-top-color: #fff; border-radius: 50%;
    animation: ilb-sbtn-spin .8s linear infinite;
}
@keyframes ilb-sbtn-spin { to { transform: rotate(360deg); } }
/* Disabled: Facebook blocked (no SDK after 15 s), or a disabled button */
html.ilb-fb-failed .ilb-sbtn--facebook, .ilb-sbtn[disabled], .ilb-sbtn[aria-disabled="true"] { cursor: not-allowed; }
html.ilb-fb-failed .ilb-sbtn--facebook, .ilb-sbtn[disabled] { opacity: .45; box-shadow: none; }
html.ilb-fb-failed .ilb-am .ilb-sbtn--facebook:hover, html.ilb-fb-failed .ilb-pane .ilb-sbtn--facebook:hover,
.ilb-am .ilb-sbtn[disabled]:hover, .ilb-am .ilb-sbtn[aria-disabled="true"]:hover,
.ilb-pane .ilb-sbtn[disabled]:hover, .ilb-pane .ilb-sbtn[aria-disabled="true"]:hover {
    transform: none; background: var(--ilb-card) !important; border-color: var(--ilb-line) !important; box-shadow: none;
}
@media (max-width: 380px) { .ilb-am .ilb-sbtn, .ilb-pane .ilb-sbtn { gap: 10px; padding: 0 12px; font-size: 16px; } }
@media (prefers-reduced-motion: reduce) {
    .ilb-am .ilb-sbtn, .ilb-pane .ilb-sbtn { transition: none; }
    .ilb-am .ilb-sbtn:hover, .ilb-pane .ilb-sbtn:hover { transform: none; }
    .ilb-sbtn::after { animation-duration: 2s !important; }
}

/* ---------- Page top (aMember messages; the toolbar + tabs are removed by generatepress/_top.phtml) */
.am-body-content .am-body-content-top { max-width: 1180px; margin-left: auto; margin-right: auto; }

/* ---------- Member dashboard ------------------------------------------------ */
.ilb-dash { max-width: 1180px; margin: 0 auto 40px; font-size: 17px; }
.ilb-dash h1, .ilb-dash h2 { font-family: var(--ilb-head); font-weight: 400; color: #fff; text-transform: none; letter-spacing: .3px; }
.ilb-dash h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 26px; line-height: 1.2; }
.ilb-dash h2 .ilb-ico { color: var(--ilb-pink2); font-size: 22px; }
.ilb-card {
    background: var(--ilb-card); border: 1px solid var(--ilb-line); border-radius: var(--ilb-radius); padding: 22px 24px; margin: 0 0 20px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .04);
}

.ilb-hero {
    display: grid; grid-template-columns: 1fr auto; gap: 24px 36px; align-items: center;
    margin: 0 0 20px; padding: 30px 34px; border-radius: 18px; border: 1px solid #5a2448;
    background: radial-gradient(160% 190% at 0% 0%, #5c1a45 0%, #45163a 30%, #33192f 62%, #2a2232 100%);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.ilb-hero--expired, .ilb-hero--new { border-color: #5e4128; background: radial-gradient(160% 190% at 0% 0%, #5a3616 0%, #432a15 30%, #33251c 62%, #2a2530 100%); }
.ilb-hero h1 { margin: 12px 0 8px; font-size: 48px; line-height: 1.05; }
.ilb-status { margin: 0 0 8px; font-size: 19px; line-height: 1.4; color: var(--ilb-ink); }
.ilb-status strong { font-weight: 700; }
.ilb-status .emoji { width: 1em !important; height: 1em !important; }
.ilb-status-when { color: var(--ilb-text); }
.ilb-dot { display: inline-block; margin: 0 8px 0 2px; vertical-align: 1px; width: 10px; height: 10px; border-radius: 50%; background: var(--ilb-ok); box-shadow: 0 0 0 4px rgba(111, 220, 159, .18); }
.ilb-status--off .ilb-dot { background: var(--ilb-warn); box-shadow: 0 0 0 4px rgba(255, 180, 94, .18); }
.ilb-hero-lead { margin: 0; max-width: 640px; color: var(--ilb-muted); }
.ilb-hero-cta { display: flex; flex-direction: column; gap: 10px; min-width: 250px; }
/* Under "Hi {name}!": who is signed in; after the lead: the account buttons (replace aMember's tabs + the old Manage card) */
.ilb-hero-login { margin: -2px 0 12px; font-size: 17px; line-height: 1.3; color: var(--ilb-muted); overflow-wrap: anywhere; }
.ilb-hero-login b { color: #fff; font-weight: 700; }
.ilb-hero-acct { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.ilb-am .ilb-hero-acct a {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px;
    background: rgba(0, 0, 0, .26); border: 1px solid rgba(255, 255, 255, .18); color: #fff;
    font-size: 17px; font-weight: 700; line-height: 1.2; white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .2); transition: background .15s, border-color .15s, transform .15s;
}
.ilb-am .ilb-hero-acct a .ilb-ico { width: 18px; height: 18px; color: var(--ilb-pink2); transition: color .15s; }
.ilb-am .ilb-hero-acct a:hover { background: var(--ilb-pink); border-color: var(--ilb-pink); color: #fff; transform: translateY(-1px); }
.ilb-am .ilb-hero-acct a:hover .ilb-ico { color: #fff; }
/* After "Log out": martin-members' folded "Messages (N)" button (moved here by its notices.js;
   the empty slot takes no room). Same size and look as the links beside it. */
.ilb-hero-acct .ilb-nt-slot { display: contents; }
.ilb-am .ilb-hero-acct button.mbr-nt-pill {
    gap: 8px; margin: 0; padding: 10px 18px; border-radius: 10px;
    background: rgba(0, 0, 0, .26); border: 1px solid rgba(255, 255, 255, .18); color: #fff;
    font-family: inherit; font-size: 17px; font-weight: 700; line-height: 1.2; white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .2); transition: background .15s, border-color .15s, transform .15s;
}
.ilb-am .ilb-hero-acct button.mbr-nt-pill .mbr-nt-ico { width: 18px; height: 18px; color: var(--ilb-pink2); vertical-align: 0; transition: color .15s; }
.ilb-am .ilb-hero-acct button.mbr-nt-pill .mbr-nt-pill-n { margin-left: -4px; color: inherit; font-weight: 700; }
.ilb-am .ilb-hero-acct button.mbr-nt-pill:hover { background: var(--ilb-pink); border-color: var(--ilb-pink); color: #fff; transform: translateY(-1px); }
.ilb-am .ilb-hero-acct button.mbr-nt-pill:hover .mbr-nt-ico { color: #fff; }
/* "Messages (0)": muted, not a link. */
.ilb-am .ilb-hero-acct button.mbr-nt-pill.is-empty,
.ilb-am .ilb-hero-acct button.mbr-nt-pill.is-empty:hover { background: rgba(0, 0, 0, .18); border-color: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .55); box-shadow: none; transform: none; cursor: default; opacity: 1; }
.ilb-am .ilb-hero-acct button.mbr-nt-pill.is-empty .mbr-nt-ico { color: rgba(255, 255, 255, .4); }

.ilb-welcome { border-color: rgba(255, 45, 138, .45); background: linear-gradient(135deg, #2a0a1b, var(--ilb-card) 70%); }
.ilb-welcome p { margin: 0; }
.ilb-sign { font-family: var(--ilb-head); font-size: 1.15em; color: #fff; font-style: italic; }

.ilb-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 26px; }
.ilb-am .ilb-tile {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 28px 16px 24px; border-radius: var(--ilb-radius);
    background: var(--ilb-card); border: 1px solid var(--ilb-line); color: var(--ilb-ink);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .04);
    transition: border-color .15s, transform .15s, background .15s;
}
.ilb-am .ilb-tile:hover { border-color: var(--ilb-pink); background: var(--ilb-card2); transform: translateY(-2px); color: #fff; }
.ilb-tile .ilb-ico {
    width: 44px; height: 44px; margin: 0 0 14px; padding: 20px; border-radius: 50%; box-sizing: content-box; color: #fff;
    background: radial-gradient(circle at 30% 25%, #ff4f9e, var(--ilb-pink) 70%);
    box-shadow: 0 8px 22px rgba(204, 0, 102, .38); transition: transform .2s;
}
.ilb-am .ilb-tile:hover .ilb-ico { transform: scale(1.06); }
.ilb-tile b { font-size: 21px; font-weight: 700; }
.ilb-tile span { font-size: 15px; color: var(--ilb-muted); }

.ilb-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.ilb-section-head h2 { margin: 0; }
.ilb-am .ilb-section-head a {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 18px; border: 1.5px solid var(--ilb-pink2); border-radius: 999px;
    font-size: 16px; font-weight: 700; color: var(--ilb-pink2); transition: background .15s, color .15s;
}
.ilb-am .ilb-section-head a:hover { background: var(--ilb-pink2); color: #fff; }
.ilb-releases { margin: 0 0 26px; }
.ilb-release-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ilb-am .ilb-release { position: relative; display: block; overflow: hidden; border-radius: 12px; background: #000; color: #fff; }
.ilb-release img { display: block; width: 100%; aspect-ratio: 1.63; object-fit: cover; transition: transform .35s; }
.ilb-release:hover img { transform: scale(1.05); }
.ilb-release span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 9px; font-size: 15px; line-height: 1.25; background: linear-gradient(transparent, rgba(0, 0, 0, .88)); }
.ilb-release small { display: block; color: #c9c9d2; font-size: 13px; }
.ilb-tag { position: absolute; top: 8px; left: 8px; padding: 2px 7px; border-radius: 4px; background: var(--ilb-pink); color: #fff; font-size: 11px; font-weight: 700; font-style: normal; letter-spacing: .5px; }

.ilb-dash-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; }

/* Archive folders: collapsible */
.ilb-folders { padding: 0; }
.ilb-folders > summary { display: block; padding: 20px 56px 20px 24px; cursor: pointer; list-style: none; position: relative; }
.ilb-folders > summary::-webkit-details-marker { display: none; }
.ilb-folders > summary::after {
    content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
    border-right: 2px solid var(--ilb-muted); border-bottom: 2px solid var(--ilb-muted); transform: rotate(45deg); transition: transform .2s;
}
.ilb-folders[open] > summary::after { transform: rotate(225deg); margin-top: -3px; }
.ilb-folders-title { display: flex; align-items: center; gap: 10px; font-family: var(--ilb-head); font-size: 24px; color: #fff; }
.ilb-folders-title .ilb-ico { color: var(--ilb-pink2); }
.ilb-count { padding: 1px 9px; border-radius: 999px; background: #2c2c36; color: var(--ilb-text); font: 700 13px/1.6 "Open Sans Condensed", sans-serif; font-style: normal; }
.ilb-folders-sub { display: block; margin: 2px 0 0 34px; font-size: 15px; color: var(--ilb-muted); }
.ilb-folders[open] > summary { border-bottom: 1px solid var(--ilb-line); }
.ilb-folders .am-input-filter-wrapper { margin: 16px 24px 4px; }
.ilb-am .ilb-folders .am-input-filter-wrapper { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.ilb-am .ilb-folders .am-input-filter-inner-wrapper { position: relative; background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
.ilb-am .ilb-folders .am-input-filter-empty { right: 12px !important; color: var(--ilb-muted); }
.ilb-am .ilb-folders input.am-input-filter {
    width: 100% !important; height: auto !important; padding: 11px 14px 11px 38px !important; font-size: 16px; color: #fff !important;
    background: var(--ilb-field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777783'%3E%3Cpath d='M10 2a8 8 0 0 1 6.3 12.9l5.4 5.4-1.4 1.4-5.4-5.4A8 8 0 1 1 10 2zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12z'/%3E%3C/svg%3E") no-repeat 12px center / 17px !important;
    border: 1px solid var(--ilb-line) !important; border-radius: 10px !important; box-shadow: none !important;
}
.ilb-folders input.am-input-filter:focus { outline: none; border-color: var(--ilb-pink2); }
.ilb-folders ul.am-list-resources {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px;
    margin: 0; padding: 14px 24px 22px; list-style: none; border: 0; background: none;
}
.ilb-folders ul.am-list-resources > li { margin: 0; padding: 0; list-style: none; border: 0; background: none; }
.ilb-folders ul.am-list-resources > li[style*="none"] { display: none !important; }
.ilb-folders ul.am-list-resources > li > a {
    display: block; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--ilb-line); background: var(--ilb-card2);
    color: var(--ilb-text); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ilb-folders ul.am-list-resources > li > a:hover { border-color: var(--ilb-pink); color: #fff; }
.ilb-folders .am-list-resources-desc { display: none; } /* e.g. "Collections of Selfies..." under Up Close and Personal: breaks the grid */

/* Newsletter card (status from the martin-mailinglist plugin) */
.ilb-mail {
    position: relative; overflow: hidden; margin: 0 0 20px; padding: 26px 28px 24px; border-radius: 18px;
    border: 1.5px solid transparent;
    background:
        radial-gradient(90% 120% at 100% 0%, rgba(255, 45, 138, .22), transparent 55%) padding-box,
        radial-gradient(70% 90% at 0% 100%, rgba(255, 184, 107, .10), transparent 60%) padding-box,
        linear-gradient(160deg, #2c2130, #22222b 60%) padding-box,
        linear-gradient(135deg, #ff2d8a, #ffb86b 45%, #cc0066 100%) border-box;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 45, 138, .06), 0 0 42px rgba(255, 45, 138, .10);
}
.ilb-mail-head { display: flex; align-items: center; gap: 16px; margin: 0 0 14px; }
.ilb-mail-badge {
    flex: none; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, #ffd29a, #ff4f9e 55%, var(--ilb-pink) 100%);
    box-shadow: 0 8px 22px rgba(255, 45, 138, .4), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.ilb-mail-badge .ilb-ico { width: 30px; height: 30px; color: #fff; }
.ilb-mail-titles { flex: 1; min-width: 0; }
.ilb-mail-eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #ffb86b; }
.ilb-dash .ilb-mail h2 { display: block; margin: 2px 0 0; font-size: 30px; line-height: 1.1; color: #fff; }
.ilb-mail-pill {
    flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
    font-size: 14px; font-weight: 700; white-space: nowrap;
    color: #ffe2bd; background: rgba(255, 180, 94, .12); border: 1px solid rgba(255, 180, 94, .45);
}
.ilb-mail--on .ilb-mail-pill { color: #d7ffe8; background: rgba(111, 220, 159, .12); border-color: rgba(111, 220, 159, .5); }
.ilb-mail-pill .ilb-ico { width: 15px; height: 15px; }
.ilb-mail-pill .ilb-dot { margin: 0; box-shadow: none; background: var(--ilb-warn); }
.ilb-mail-lead { margin: 0 0 16px; font-size: 17px; line-height: 1.5; color: var(--ilb-text); }
.ilb-mail-lead b, .ilb-mail-meta b { color: #fff; font-weight: 700; word-break: break-word; }
.ilb-mail-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.ilb-mail-perks li {
    display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px; list-style: none; border-radius: 12px;
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); font-size: 15px; line-height: 1.35; color: var(--ilb-muted);
}
.ilb-mail-perks li b { display: block; color: #fff; font-size: 16px; }
.ilb-mail-perks .ilb-ico { width: 20px; height: 20px; margin-top: 2px; color: var(--ilb-pink2); }
.ilb-mail--on .ilb-mail-perks .ilb-ico { color: var(--ilb-ok); }
.ilb-mail-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; }
.ilb-mail--off .ilb-mail-foot { flex-direction: column; align-items: stretch; }
.ilb-mail-sub { width: 100%; padding: 17px 24px; font-size: 21px; }
.ilb-mail-meta { margin: 0; font-size: 15px; color: var(--ilb-muted); }
.ilb-mail--off .ilb-mail-meta { text-align: center; }
.ilb-mail-warn { margin: 0; padding: 12px 14px; border-radius: 10px; background: rgba(255, 180, 94, .1); border: 1px solid rgba(255, 180, 94, .4); color: #ffe2bd; font-size: 16px; }
.ilb-mail-msg { margin: 0; font-size: 17px; text-align: center; }
.ilb-mail-msg:empty { display: none; }
.ilb-mail-msg.ok { color: var(--ilb-ok); }
.ilb-mail-msg.err { color: var(--ilb-err); }
.ilb-am button.ilb-btn:disabled { opacity: .6; cursor: default; transform: none; }
@media (max-width: 700px) {
    .ilb-mail { padding: 20px 16px; }
    .ilb-mail-head { flex-wrap: wrap; gap: 12px; }
    .ilb-mail-badge { width: 50px; height: 50px; }
    .ilb-dash .ilb-mail h2 { font-size: 25px; }
    .ilb-mail-pill { order: -1; }
    .ilb-mail-perks { grid-template-columns: 1fr; }
    .ilb-mail-sub { font-size: 19px; }
}

.ilb-block form { margin: 0; }
.ilb-block, .ilb-block label { font-size: 16px; }

.ilb-help-card details { border-top: 1px solid var(--ilb-line); }
.ilb-help-card details:last-of-type { border-bottom: 1px solid var(--ilb-line); margin-bottom: 16px; }
.ilb-help-card summary { position: relative; padding: 12px 28px 12px 2px; cursor: pointer; list-style: none; color: var(--ilb-ink); font-size: 17px; }
.ilb-help-card summary::-webkit-details-marker { display: none; }
.ilb-help-card summary::after { content: "+"; position: absolute; right: 4px; top: 9px; font-size: 22px; line-height: 1; color: var(--ilb-pink2); }
.ilb-help-card details[open] summary::after { content: "\2212"; }
.ilb-help-card details p, .ilb-help-card details ol { margin: 0 0 14px; font-size: 16px; color: var(--ilb-text); }
.ilb-help-card details ol { padding-left: 22px; }
.ilb-help-card details li { margin: 0 0 6px; }

.ilb-signoff { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 0; font-size: 20px; color: var(--ilb-text); }
.ilb-signoff .ilb-ico { color: var(--ilb-pink2); }

/* ---------- Responsive ---------------------------------------------------- */
@media (max-width: 1000px) {
    .ilb-dash-grid { grid-template-columns: 1fr; }
    .ilb-tiles, .ilb-release-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .ilb-auth-page { margin: 12px auto 32px; }
    .ilb-auth-body { padding: 0 20px 24px; }
    .ilb-pane .ilb-auth-title { font-size: 32px; }
    .ilb-hero { grid-template-columns: 1fr; padding: 22px 20px; gap: 18px; }
    .ilb-hero h1 { font-size: 38px; }
    .ilb-hero-cta { min-width: 0; }
    .ilb-hero-acct { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .ilb-card { padding: 18px 16px; }
    .ilb-folders { padding: 0; }
    .ilb-folders > summary { padding: 18px 48px 18px 16px; }
    .ilb-folders .am-input-filter-wrapper { margin: 14px 16px 2px; }
    .ilb-folders ul.am-list-resources { padding: 12px 16px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ilb-folders-sub { margin-left: 0; }
    .ilb-tiles { gap: 10px; }
    .ilb-am .ilb-tile { padding: 20px 10px 16px; }
    .ilb-tile .ilb-ico { width: 32px; height: 32px; padding: 15px; margin-bottom: 10px; }
    .ilb-tile b { font-size: 18px; }
    .ilb-tile span { font-size: 14px; }
    .ilb-release-grid { gap: 10px; }
    .ilb-release span { font-size: 13px; padding: 20px 8px 7px; }
}

/* ---------- Billing + Profile pages ---------------------------------------- */
.ilb-page-head {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px;
    margin: 0 0 20px; padding: 26px 30px; border-radius: 18px; border: 1px solid #5a2448;
    background: radial-gradient(160% 190% at 0% 0%, #5c1a45 0%, #45163a 30%, #33192f 62%, #2a2232 100%);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.ilb-dash .ilb-page-head h1 { margin: 10px 0 4px; font-size: 42px; line-height: 1.05; }
.ilb-page-head p { margin: 0; color: var(--ilb-muted); }
.ilb-page-head-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
/* "← USER DASHBOARD": the way back from every account sub-page (the aMember tabs are hidden) */
.ilb-am .ilb-back {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 22px; border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, .28);
    background: rgba(0, 0, 0, .28); color: #fff !important;
    font: 700 17px/1.2 "Open Sans Condensed", sans-serif; letter-spacing: 1.4px; text-transform: uppercase; white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: background .15s, border-color .15s, transform .15s;
}
.ilb-am .ilb-back .ilb-ico { width: 20px; height: 20px; color: var(--ilb-pink2); transition: transform .15s; }
.ilb-am .ilb-back:hover { background: var(--ilb-pink); border-color: var(--ilb-pink); color: #fff !important; transform: translateY(-1px); }
.ilb-am .ilb-back:hover .ilb-ico { color: #fff; transform: translateX(-3px); }
.ilb-note { margin: 0 0 20px; padding: 12px 16px; border-radius: 12px; font-size: 16px; }
.ilb-note--ok { color: #d6ffe7; background: rgba(80, 220, 150, .1); border: 1px solid rgba(111, 220, 159, .45); }
.ilb-empty { margin: 0; color: var(--ilb-muted); }
.ilb-muted { color: var(--ilb-muted); }

/* Subscription cards */
.ilb-sub {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
    margin: 0 0 12px; padding: 18px 20px; border-radius: 14px; background: var(--ilb-card2); border: 1px solid var(--ilb-line);
    border-left: 4px solid var(--ilb-ok);
}
.ilb-sub--off { border-left-color: #6d6d78; }
.ilb-sub--bad { border-left-color: var(--ilb-err); }
.ilb-sub-main { flex: 1 1 320px; min-width: 0; }
.ilb-dash .ilb-sub-title { margin: 0 0 4px; font: 700 20px/1.25 "Open Sans Condensed", sans-serif; color: #fff; }
.ilb-sub-terms { margin: 0 0 2px; font-size: 16px; color: var(--ilb-text); }
.ilb-sub-meta { margin: 0; font-size: 14px; color: var(--ilb-muted); }
.ilb-sub-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ilb-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.ilb-badge--on { color: #d7ffe8; background: rgba(111, 220, 159, .14); border: 1px solid rgba(111, 220, 159, .5); }
.ilb-badge--off { color: var(--ilb-text); background: rgba(255, 255, 255, .06); border: 1px solid #4a4a58; }
.ilb-badge--bad { color: #ffd6d6; background: rgba(255, 110, 110, .12); border: 1px solid rgba(255, 110, 110, .5); }
.ilb-am .ilb-sub-link { font-size: 15px; font-weight: 700; margin-left: 8px; }
.ilb-sub-side .ilb-sub-link { margin-left: 0; }
.ilb-am .ilb-sub-link--muted { color: var(--ilb-muted); font-weight: 400; }
.ilb-past { margin: 14px 0 0; }
.ilb-past > summary { cursor: pointer; padding: 8px 0; color: var(--ilb-text); font-size: 17px; list-style: none; display: flex; align-items: center; gap: 10px; }
.ilb-past > summary::-webkit-details-marker { display: none; }
.ilb-past > summary::before { content: "+"; color: var(--ilb-pink2); font-size: 22px; line-height: 1; width: 14px; }
.ilb-past[open] > summary::before { content: "\2212"; }
.ilb-past[open] > summary { margin-bottom: 8px; }

/* Payment table */
.ilb-table-wrap { overflow-x: auto; }
.ilb-am table.ilb-table { width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; border: 0; background: none; font-size: 16px; }
.ilb-am table.ilb-table th {
    padding: 10px 14px; text-align: left; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: var(--ilb-muted); background: none; border: 0; border-bottom: 1px solid var(--ilb-line);
}
.ilb-am table.ilb-table td { padding: 13px 14px; border: 0; border-bottom: 1px solid var(--ilb-line); background: none; color: var(--ilb-text); vertical-align: top; }
.ilb-am table.ilb-table tbody tr:hover td { background: rgba(255, 255, 255, .03); }
.ilb-am table.ilb-table tbody tr:last-child td { border-bottom: 0; }
.ilb-am table.ilb-table .ilb-num { text-align: right; white-space: nowrap; }
.ilb-am table.ilb-table td b { color: #fff; }
.ilb-table .ilb-prod { color: #fff; }
.ilb-refund { display: block; font-size: 13px; color: var(--ilb-warn); }
.ilb-row-refund td { opacity: .8; }

/* Profile form (aMember Am_Form markup: .am-form > form > .am-row > .am-element-title + .am-element) */
.ilb-form-card { padding: 26px 30px; }
.ilb-form-card .am-form, .ilb-form-card .am-form form {
    margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; width: auto; max-width: none;
}
.ilb-form-card .am-form form > .am-row, .ilb-form-card .am-form fieldset > .am-row {
    margin: 0 0 18px !important; /* never set display here: aMember hides rows (e.g. password change) inline */ padding: 0 !important; border: 0 !important; background: none !important;
}
.ilb-form-card .am-form fieldset { margin: 0; padding: 0; border: 0; background: none; }
.ilb-form-card .am-form fieldset legend { display: none; }
.ilb-form-card .am-row .am-element-title {
    display: block !important; float: none !important; width: auto !important; margin: 0 0 6px !important; padding: 0 !important;
    text-align: left !important; background: none !important; border: 0 !important;
}
.ilb-form-card .am-row .am-element-title label { display: inline; color: var(--ilb-text) !important; font-size: 16px; font-weight: 700; }
.ilb-form-card .am-row .am-element-title .required { color: var(--ilb-pink2); }
.ilb-form-card .am-row .am-element-title .comment, .ilb-form-card .am-row .comment, .ilb-form-card .am-element-comment {
    display: block; margin: 2px 0 0; font-size: 14px; font-weight: 400; color: var(--ilb-muted) !important;
}
.ilb-form-card .am-row .am-element {
    display: block !important; float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important;
}
.ilb-form-card .am-element.group { display: flex !important; flex-wrap: wrap; gap: 10px; }
.ilb-form-card .am-element.group > input { flex: 1 1 200px; }
.ilb-form-card input[type=text], .ilb-form-card input[type=email], .ilb-form-card input[type=password], .ilb-form-card select, .ilb-form-card textarea {
    width: 100%; max-width: 520px; height: auto; margin: 0; padding: 12px 14px; font-size: 17px; font-family: inherit;
    color: #fff !important; background: var(--ilb-field) !important; border: 1px solid #3a3a45 !important; border-radius: 10px !important; box-shadow: none !important;
}
.ilb-form-card .am-element.group > input { max-width: none; }
.ilb-form-card select { max-width: 320px; }
.ilb-form-card input:focus, .ilb-form-card select:focus, .ilb-form-card textarea:focus {
    outline: none; border-color: var(--ilb-pink2) !important; box-shadow: 0 0 0 3px rgba(255, 45, 138, .22) !important;
}
.ilb-form-card .am-element a { font-weight: 700; }
.ilb-form-card input[type=submit], .ilb-form-card button[type=submit] {
    display: inline-block; width: auto; padding: 14px 34px; font: 700 19px/1.2 "Open Sans Condensed", sans-serif;
    color: #fff !important; background: var(--ilb-pink) !important; border: 0 !important; border-radius: 10px !important; cursor: pointer;
    box-shadow: 0 6px 20px rgba(204, 0, 102, .28); text-shadow: none;
}
.ilb-form-card input[type=submit]:hover { background: var(--ilb-pink2) !important; }
.ilb-form-card .am-errors, .ilb-form-card .errors, .ilb-form-card .am-error {
    color: #ffd6d6; background: rgba(255, 70, 70, .1); border: 1px solid rgba(255, 110, 110, .45); border-radius: 10px; padding: 8px 12px; list-style: none;
}
.ilb-form-card .am-info { color: #d6ffe7; background: rgba(80, 220, 150, .1); border: 1px solid rgba(111, 220, 159, .45); border-radius: 10px; padding: 12px 14px; }
/* Profile: "show my nickname on my comments" switch (member/profile.phtml). It is the one comment
   name setting, so aMember's "Display name publicly as" row is hidden (its value still posts). */
.ilb-form-card.ilb-nick-on #row-_wordpress_display-0 { display: none !important; }
.ilb-form-card #row-ilb-show-nickname .am-element label { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ilb-text); cursor: pointer; }
.ilb-form-card #ilb-show-nickname { width: 20px; height: 20px; margin: 0; accent-color: var(--ilb-pink2); flex: 0 0 auto; }
.ilb-form-foot { margin: 0; text-align: center; font-size: 15px; color: var(--ilb-muted); }
/* Profile: avatar uploader card (martin-avatars plugin; its uploader.css does the layout) */
.ilb-avatar-up { padding: 24px 30px; }
.ilb-dash .ilb-avatar-up h2 { margin: 0 0 18px; }
.ilb-avatar-up .mav { gap: 26px; align-items: center; }
.ilb-avatar-up .mav-img { background: var(--ilb-card2); border: 3px solid var(--ilb-pink); box-shadow: 0 8px 22px rgba(204, 0, 102, .3); }
.ilb-avatar-up .mav-body p { margin: 0 0 16px; font-size: 16px; color: var(--ilb-text); }
.ilb-avatar-up .mav-canvas { background: var(--ilb-field); border: 1px solid var(--ilb-line); }
.ilb-avatar-up .mav-zoom { accent-color: var(--ilb-pink); }
.ilb-avatar-up .ilb-btn { padding: 12px 22px; font-size: 17px; }
.ilb-avatar-up .mav-msg { font-size: 15px; color: var(--ilb-muted); }
.ilb-avatar-up .mav-msg.is-ok { color: var(--ilb-ok); }
.ilb-avatar-up .mav-msg.is-err { color: var(--ilb-err); }
/* Dashboard hero: avatar beside the greeting */
.ilb-hero-hi { display: flex; align-items: center; gap: 16px; margin: 12px 0 8px; }
.ilb-hero-hi h1 { margin: 0; }
.ilb-am .ilb-hero-avatar {
    flex: none; display: block; width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
    border: 2px solid var(--ilb-pink); box-shadow: 0 6px 18px rgba(204, 0, 102, .3); transition: transform .15s;
}
.ilb-am .ilb-hero-avatar:hover { transform: scale(1.05); }
.ilb-hero-avatar img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
/* Profile: avatar (Gravatar) card, shown only when the martin-avatars plugin is off */
.ilb-avatar-card { display: flex; align-items: flex-start; gap: 24px; padding: 24px 30px; }
.ilb-avatar-img {
    flex: none; display: block; width: 96px; height: 96px; margin: 0; border-radius: 50%; object-fit: cover; background: var(--ilb-card2);
    border: 3px solid var(--ilb-pink); box-shadow: 0 8px 22px rgba(204, 0, 102, .3);
}
.ilb-avatar-text { flex: 1; min-width: 0; }
.ilb-dash .ilb-avatar-text h2 { margin: 0 0 8px; }
.ilb-avatar-text p { margin: 0 0 16px; font-size: 16px; color: var(--ilb-text); }
.ilb-avatar-text b { color: #fff; overflow-wrap: anywhere; }
.ilb-avatar-text .ilb-btn .ilb-ico { width: 16px; height: 16px; }
@media (max-width: 700px) {
    .ilb-page-head { padding: 20px 18px; }
    .ilb-dash .ilb-page-head h1 { font-size: 34px; }
    .ilb-page-head-cta { align-items: stretch; width: 100%; }
    .ilb-sub-side { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
    .ilb-form-card { padding: 20px 16px; }
    .ilb-avatar-card { flex-direction: column; align-items: center; gap: 14px; padding: 20px 16px; text-align: center; }
    .ilb-dash .ilb-avatar-text h2 { justify-content: center; }
    .ilb-avatar-text .ilb-btn { width: 100%; }
    .ilb-avatar-up { padding: 20px 16px; }
    .ilb-dash .ilb-avatar-up h2 { justify-content: center; }
    .ilb-avatar-up .mav { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
    .ilb-avatar-up .mav-body { flex-basis: auto; width: 100%; }
    .ilb-avatar-up .mav-actions { flex-direction: column; }
    .ilb-avatar-up .ilb-btn { width: 100%; }
    .ilb-hero-avatar, .ilb-am .ilb-hero-avatar { width: 52px; height: 52px; }
    .ilb-am .ilb-back { width: 100%; }
    .ilb-am table.ilb-table thead { display: none; }
    .ilb-am table.ilb-table, .ilb-am table.ilb-table tbody, .ilb-am table.ilb-table tr, .ilb-am table.ilb-table td { display: block; width: 100%; }
    .ilb-am table.ilb-table tr { padding: 10px 0; border-bottom: 1px solid var(--ilb-line); }
    .ilb-am table.ilb-table td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; text-align: right; }
    .ilb-am table.ilb-table td::before { content: attr(data-label); color: var(--ilb-muted); font-size: 14px; text-align: left; }
    .ilb-am table.ilb-table .ilb-num { text-align: right; }
}

/* ---------- Goodbye / index page (/amember/) -------------------------------- */
.ilb-bye-page { max-width: 600px; margin: 28px auto 48px; }
.ilb-bye {
    background: var(--ilb-card); border: 1px solid var(--ilb-line); border-radius: 18px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 45, 138, .04);
}
.ilb-bye .ilb-auth-hero .ilb-eyebrow .ilb-ico { width: 13px; height: 13px; }
.ilb-bye-body { position: relative; z-index: 1; margin-top: -26px; padding: 0 40px 32px; text-align: center; }
.ilb-bye--plain .ilb-bye-body { margin-top: 0; padding-top: 34px; }
.ilb-bye-page h1 {
    margin: 0 0 12px; font: 400 42px/1.08 var(--ilb-head); color: #fff; letter-spacing: .4px; text-transform: none;
}
.ilb-bye-body p { margin: 0 0 12px; font-size: 18px; color: var(--ilb-text); }
.ilb-bye-body .ilb-bye-lead { font-size: 19px; color: var(--ilb-ink); }
.ilb-bye-body .ilb-bye-sign { margin: 16px 0 22px; font-size: 20px; }
.ilb-bye-sign .ilb-sign { font-size: 1.3em; }
.ilb-bye-sign .ilb-ico { color: var(--ilb-pink2); vertical-align: -0.1em; }
.ilb-bye-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 0 20px; }
.ilb-bye-cta .ilb-btn { min-width: 190px; }
.ilb-bye-body .ilb-bye-safe {
    display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding-top: 16px;
    border-top: 1px solid var(--ilb-line); font-size: 14px; color: var(--ilb-muted);
}
.ilb-bye-safe .ilb-ico { color: var(--ilb-ok); }

/* soft mailing-list nudge under the card */
.ilb-bye-mail {
    display: flex; align-items: center; gap: 14px; margin: 16px 0 0; padding: 14px 16px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 45, 138, .08), rgba(255, 184, 107, .05)); border: 1px solid rgba(255, 45, 138, .25);
}
.ilb-bye-mail-ico {
    flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255, 45, 138, .15); color: var(--ilb-pink2);
}
.ilb-bye-mail-ico .ilb-ico { width: 20px; height: 20px; }
.ilb-bye-mail-text { flex: 1; min-width: 0; font-size: 15px; line-height: 1.35; color: var(--ilb-muted); }
.ilb-bye-mail-text b { display: block; font-size: 16px; color: #fff; }
.ilb-bye-mail-act { flex: none; text-align: right; }
.ilb-am .ilb-btn--sm { padding: 8px 16px; font-size: 16px; }
.ilb-bye-mail-act .ilb-mail-sub { width: auto; }
.ilb-bye-mail-act .ilb-mail-msg { max-width: 220px; font-size: 14px; text-align: right; }

@media (max-width: 700px) {
    .ilb-bye-page { margin: 12px auto 32px; }
    .ilb-bye-body { padding: 0 20px 24px; }
    .ilb-bye-page h1 { font-size: 34px; }
    .ilb-bye-cta .ilb-btn { flex: 1 1 100%; }
    .ilb-bye-mail { flex-wrap: wrap; }
    .ilb-bye-mail-act { flex: 1 1 100%; text-align: left; }
    .ilb-bye-mail-act .ilb-mail-msg { max-width: none; text-align: left; }
}

/* ---------- Signup page (/amember/signup) ---------- */
/* views/wp-themes/generatepress/signup/signup.phtml: card like the login page, wider for the plan list.
   The form is aMember's Am_Form markup (.am-form > form.am-signup-form > .am-row), restyled here only. */
.ilb-signup-page { max-width: 700px; margin: 28px auto 48px; }
.ilb-signup-top { margin: 0 0 16px; }
.ilb-signup {
    background: var(--ilb-card); border: 1px solid var(--ilb-line); border-radius: 18px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 45, 138, .04);
}
.ilb-signup-body { position: relative; z-index: 1; margin-top: -26px; padding: 0 40px 34px; }
.ilb-signup--plain .ilb-signup-body { margin-top: 0; padding-top: 34px; }
.ilb-signup-head { margin: 0 0 22px; text-align: center; }
.ilb-signup-head .ilb-eyebrow { margin: 0 0 12px; }
.ilb-signup-page h1.ilb-signup-title {
    margin: 0 0 6px; padding: 0; font: 400 40px/1.1 var(--ilb-head); color: #fff; letter-spacing: .5px;
    text-align: center; text-transform: none; background: none; border: 0;
}
.ilb-signup-lead { margin: 0; font-size: 17px; color: var(--ilb-muted); }

/* "If you already have an account... log in" / "You are logged-in as X" (WP custom CSS makes it 32px yellow) */
.ilb-signup-page .am-signup .am-info.am-login-text {
    margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; text-align: center;
    font-size: 16px !important; line-height: 1.45; color: var(--ilb-text) !important;
    background: rgba(255, 255, 255, .04); border: 1px solid var(--ilb-line); box-shadow: none;
}
.ilb-signup-page .am-login-text a { font-weight: 700; color: var(--ilb-pink2); }
.ilb-signup-page .am-login-text strong { color: #fff; }

/* Facebook + Google buttons (signup/form/before): side by side, stacked on phones.
   The .am-* rules below only matter if the plugins' own buttons come back (ilb_am_social_html() fallback). */
.ilb-signup-page .ilb-signup-social { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; margin: 0; }
.ilb-signup-page .ilb-signup-social > * { flex: 1 1 100%; margin: 0; }
.ilb-signup-page .ilb-signup-social > #fb-root { position: absolute; }
.ilb-signup-page .ilb-signup-social > .am-fb-signup-button-wrapper,
.ilb-signup-page .ilb-signup-social > .am-google-button-wrapper {
    flex: 0 0 auto; display: flex; justify-content: center; max-width: 100%;
    margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important;
}
.ilb-signup-page .ilb-signup-social .am-fb-signup-button-wrapper::before, .ilb-signup-page .ilb-signup-social .am-fb-signup-button-wrapper::after,
.ilb-signup-page .ilb-signup-social .am-fb-signup-button::before, .ilb-signup-page .ilb-signup-social .am-fb-signup-button::after,
.ilb-signup-page .ilb-signup-social .am-google-button-wrapper::before, .ilb-signup-page .ilb-signup-social .am-google-button-wrapper::after {
    content: none !important; display: none !important;
}
.ilb-signup-page .ilb-signup-social .am-fb-signup-button { line-height: 0; }
.ilb-signup-page .ilb-signup-social .am-google-button a { display: block; border: 0; }
.ilb-signup-page .ilb-signup-social img { display: block; max-width: 100%; height: auto; border-radius: 4px; }
.ilb-signup-page .ilb-or { display: flex; align-items: center; gap: 14px; margin: 22px 0 18px; color: #777783; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; }
.ilb-signup-page .ilb-or::before, .ilb-signup-page .ilb-or::after { content: ""; flex: 1; height: 1px; background: var(--ilb-line); }

/* Form shell: labels above fields, full width (never set display on .am-row: aMember hides rows inline) */
.ilb-signup-page .am-form { margin: 0; padding: 0; border: 0; background: none; color-scheme: dark; } /* dark native controls; not on the page, it would paint the Facebook iframe white */
.ilb-signup-page .am-form form {
    margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
    background: none !important; box-shadow: none !important; width: auto; max-width: none; text-align: left;
}
.ilb-signup-page .am-form form > .am-row, .ilb-signup-page .am-form fieldset > .am-row {
    margin: 0 0 18px !important; padding: 0 !important; border: 0 !important; background: none !important;
}
.ilb-signup-page .am-form fieldset { margin: 0 0 6px; padding: 0; border: 0; background: none; }
.ilb-signup-page .am-form fieldset legend {
    display: block; width: 100%; margin: 8px 0 14px; padding: 0 0 8px !important; font: 400 24px/1.2 var(--ilb-head); color: #fff;
    background: none !important; border: 0 !important; border-bottom: 1px solid var(--ilb-line) !important;
}
.ilb-signup-page .am-row .am-element-title {
    display: block !important; float: none !important; width: auto !important; margin: 0 0 7px !important; padding: 0 !important;
    text-align: left !important; background: none !important; border: 0 !important; border-radius: 0 !important;
}
.ilb-signup-page .am-row .am-element-title label {
    display: inline; margin: 0; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--ilb-text) !important;
}
.ilb-signup-page .am-row .required { color: var(--ilb-pink2) !important; }
.ilb-signup-page .am-row .am-element-title .comment, .ilb-signup-page .am-row .comment {
    display: block; margin: 3px 0 0; padding: 0; font-size: 14px; font-weight: 400; line-height: 1.4;
    color: var(--ilb-muted) !important; background: none; border: 0;
}
.ilb-signup-page .am-row .am-element {
    display: block !important; float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important;
    background: none !important; border: 0 !important; position: relative;
}
.ilb-signup-page .am-row .am-element.group { display: flex !important; flex-wrap: wrap; gap: 10px; }
.ilb-signup-page .am-row .am-element.group > input { flex: 1 1 140px; min-width: 0; }
.ilb-signup-page .am-row .am-element.group > .am-error { flex: 1 1 100%; }

/* Fields (dark, like the login page) */
.ilb-signup-page .am-form input[type=text], .ilb-signup-page .am-form input[type=email], .ilb-signup-page .am-form input[type=password],
.ilb-signup-page .am-form input[type=number], .ilb-signup-page .am-form input[type=tel], .ilb-signup-page .am-form select, .ilb-signup-page .am-form textarea {
    display: block; width: 100% !important; max-width: none !important; height: auto; margin: 0 !important;
    padding: 13px 16px; font-size: 17px; line-height: 1.3; font-family: inherit;
    color: #fff !important; background-color: var(--ilb-field) !important; border: 1px solid #3a3a45 !important;
    border-radius: 10px !important; box-shadow: none !important; transition: border-color .15s, box-shadow .15s;
}
.ilb-signup-page .am-form input:not([type=radio]):not([type=checkbox]):not([type=submit]):focus, .ilb-signup-page .am-form select:focus, .ilb-signup-page .am-form textarea:focus {
    outline: none; border-color: var(--ilb-pink2) !important; box-shadow: 0 0 0 3px rgba(255, 45, 138, .22) !important;
}
.ilb-signup-page .am-form input::placeholder, .ilb-signup-page .am-form textarea::placeholder { color: #6d6d78; }
.ilb-signup-page .am-form input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 1000px #15151b inset; caret-color: #fff; }
.ilb-signup-page .am-signup-form input.valid { padding-right: 42px; background-position: right 14px center; } /* aMember's green check */
.ilb-signup-page .am-form input.am-error, .ilb-signup-page .am-form select.am-error, .ilb-signup-page .am-form textarea.am-error {
    border-color: rgba(255, 110, 110, .75) !important;
}
/* jQuery validate messages (span.am-error appended to the field's parent) */
.ilb-signup-page .am-form span.am-error, .ilb-signup-page .am-form label.am-error {
    display: block; margin: 7px 0 0; padding: 0; font-size: 15px; font-weight: 400; line-height: 1.35;
    color: var(--ilb-err); background: none; border: 0;
}
/* Server-side errors (_error.phtml) */
.ilb-signup-page ul.am-errors, .ilb-signup-page .am-errors {
    list-style: none; margin: 0 0 18px; padding: 12px 14px; font-size: 16px; line-height: 1.45;
    color: #ffd6d6; background: rgba(255, 70, 70, .1); border: 1px solid rgba(255, 110, 110, .45); border-radius: 10px;
}
.ilb-signup-page .am-errors li { margin: 0; padding: 0; list-style: none; background: none; }
.ilb-signup-page .am-errors a { color: #fff; text-decoration: underline; }

/* Password: aMember wraps it in .am-pass-indicator-wrap with a strength bar (and maybe an eye toggle) */
.ilb-signup-page .am-pass-indicator-wrap { display: block; width: 100%; max-width: none; }
.ilb-signup-page .am-pass-indicator-bar { top: -7px; left: 0; right: 0; width: auto; height: 3px; border-radius: 3px; overflow: hidden; background: #2c2c36; }
.ilb-signup-page .am-pass-indicator-bar_bar { height: 3px; }
.ilb-signup-page .am-form .am-pass-reveal { padding-right: 48px !important; }
.ilb-signup-page .am-switch-reveal {
    position: absolute; right: 14px; top: 14px; width: 20px; height: 20px; margin: 0 !important;
    background-size: 18px 18px !important; background-position: center !important; background-repeat: no-repeat !important;
    filter: invert(1); opacity: .55;
}
.ilb-signup-page .am-switch-reveal:hover { opacity: .9; }

/* Plan choice: each product label is a selectable card */
.ilb-signup-page .am-row[id^="row-product_id"] .am-element > br { display: none; }
.ilb-signup-page .am-row[id^="row-product_id"] .am-element > label {
    display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 14px; align-items: start;
    margin: 0 0 10px; padding: 16px 18px; border-radius: 12px; cursor: pointer;
    font-weight: 400; color: var(--ilb-text); background: var(--ilb-card2); border: 1.5px solid var(--ilb-line);
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.ilb-signup-page .am-row[id^="row-product_id"] .am-element > label:last-of-type { margin-bottom: 0; }
.ilb-signup-page .am-row[id^="row-product_id"] .am-element > label > * { grid-column: 2; }
.ilb-signup-page .am-row[id^="row-product_id"] .am-element > label > input[type=radio],
.ilb-signup-page .am-row[id^="row-product_id"] .am-element > label > input[type=checkbox] {
    grid-column: 1; grid-row: 1 / span 3; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ilb-pink2); cursor: pointer;
}
.ilb-signup-page .am-row[id^="row-product_id"] .am-element > label:hover { border-color: #5a5a66; background: #30303b; }
/* Only one plan offered: aMember renders it with a hidden input (no radio), so no radio column */
.ilb-signup-page .am-row[id^="row-product_id"] .am-element > label:has(> input[type=hidden]) {
    grid-template-columns: minmax(0, 1fr); cursor: default; border-color: var(--ilb-pink2);
    background: linear-gradient(135deg, rgba(255, 45, 138, .16), var(--ilb-card2) 65%);
}
.ilb-signup-page .am-row[id^="row-product_id"] .am-element > label:has(> input[type=hidden]) > * { grid-column: 1; }
.ilb-signup-page .am-row[id^="row-product_id"] .am-element > label:has(> input:checked) {
    border-color: var(--ilb-pink2);
    background: linear-gradient(135deg, rgba(255, 45, 138, .16), var(--ilb-card2) 65%);
    box-shadow: 0 0 0 3px rgba(255, 45, 138, .16), 0 10px 26px rgba(0, 0, 0, .3);
}
.ilb-signup-page .am-row[id^="row-product_id"] .am-element > label:has(> input:focus-visible) { outline: 2px solid var(--ilb-pink2); outline-offset: 2px; }
.ilb-signup-page .am-product-title { display: block; font: 700 19px/1.3 "Open Sans Condensed", sans-serif; color: #fff !important; overflow-wrap: anywhere; }
.ilb-signup-page .am-product-terms { display: block; margin: 4px 0 0; font-size: 16px; font-weight: 700; line-height: 1.35; color: #ffb86b !important; }
.ilb-signup-page .am-product-desc {
    display: block; margin: 6px 0 0; font-size: 15px !important; font-style: normal; font-weight: 400; line-height: 1.45; color: var(--ilb-muted) !important;
}

/* Payment system: one quiet "secure payment" line */
.ilb-signup-page #row-paysys_id .am-element {
    padding: 11px 14px !important; border: 1px solid var(--ilb-line) !important; border-radius: 10px;
    background: rgba(255, 255, 255, .03) !important;
}
.ilb-signup-page #row-paysys_id .am-element > .am-paysystem-title {
    display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: #fff;
}
.ilb-signup-page #row-paysys_id .am-element > .am-paysystem-title::before {
    content: ""; flex: none; width: 16px; height: 16px; background: var(--ilb-ok);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 10V7A5 5 0 0 0 7 7v3H5v12h14V10h-2zM9 7a3 3 0 0 1 6 0v3H9V7z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 10V7A5 5 0 0 0 7 7v3H5v12h14V10h-2zM9 7a3 3 0 0 1 6 0v3H9V7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ilb-signup-page #row-paysys_id .am-paysystem-desc { display: inline; font-size: 15px; font-style: normal; color: var(--ilb-muted); }
.ilb-signup-page #row-paysys_id .am-element > .am-paysystem-desc::before { content: "\00b7"; margin: 0 7px; color: #6d6d78; }
.ilb-signup-page #row-paysys_id .am-element > label { display: flex; align-items: center; gap: 10px; margin: 4px 0; font-weight: 400; cursor: pointer; }
.ilb-signup-page #row-paysys_id .am-element > label input { width: 18px; height: 18px; margin: 0; accent-color: var(--ilb-pink2); }
.ilb-signup-page #row-paysys_id .am-element > label .am-paysystem-desc { display: block; }

/* Submit ("Next"): big pink button. aMember's ".am-body-content input[type=submit]:hover/:active" (blue gradient PNG) needs !important */
.ilb-signup-page .am-form input[type=submit], .ilb-signup-page .am-form button[type=submit] {
    display: block; flex: 1 1 100%; width: 100% !important; max-width: none; height: auto; margin: 6px 0 0 !important; padding: 17px 20px !important;
    font: 700 21px/1.2 "Open Sans Condensed", sans-serif; letter-spacing: .3px; text-transform: none; text-shadow: none;
    color: #fff !important; background: var(--ilb-pink) !important; border: 0 !important; border-radius: 10px !important;
    box-shadow: 0 6px 20px rgba(204, 0, 102, .28); cursor: pointer; -webkit-appearance: none; appearance: none;
    transition: background .15s, transform .15s, box-shadow .15s;
}
.ilb-signup-page .am-form input[type=submit]:hover, .ilb-signup-page .am-form input[type=submit]:focus, .ilb-signup-page .am-form input[type=submit]:active,
.ilb-signup-page .am-form button[type=submit]:hover, .ilb-signup-page .am-form button[type=submit]:focus, .ilb-signup-page .am-form button[type=submit]:active {
    background: var(--ilb-pink2) !important; border-color: transparent !important; color: #fff !important;
}
.ilb-signup-page .am-form input[type=submit]:hover, .ilb-signup-page .am-form button[type=submit]:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(255, 45, 138, .35); }
.ilb-signup-page .am-form input[type=submit]:active, .ilb-signup-page .am-form button[type=submit]:active { transform: none; box-shadow: 0 4px 14px rgba(255, 45, 138, .3); }
.ilb-signup-page .am-form input[type=submit]:focus-visible, .ilb-signup-page .am-form button[type=submit]:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ilb-signup-page .am-form input[type=submit]:disabled { opacity: .6; cursor: default; transform: none; background: var(--ilb-pink) !important; }
/* multi-page forms: "Back" is secondary */
.ilb-signup-page .am-form input[type=submit][name$="_back"],
.ilb-signup-page .am-form input[type=submit][name$="_back"]:hover, .ilb-signup-page .am-form input[type=submit][name$="_back"]:focus {
    background: transparent !important; border: 1px solid #45454f !important; color: var(--ilb-ink) !important; box-shadow: none; transform: none;
}
.ilb-signup-page .am-form input[type=submit][name$="_back"]:hover { background: #26262e !important; border-color: #5a5a66 !important; }

@media (max-width: 700px) {
    .ilb-signup-page { margin: 12px auto 32px; }
    .ilb-signup-body { padding: 0 18px 24px; }
    .ilb-signup--plain .ilb-signup-body { padding-top: 24px; }
    .ilb-signup-page h1.ilb-signup-title { font-size: 32px; }
    .ilb-signup-lead { font-size: 16px; }
    .ilb-signup-page .am-row[id^="row-product_id"] .am-element > label { column-gap: 12px; padding: 14px; }
    .ilb-signup-page .am-product-title { font-size: 18px; }
    .ilb-signup-page .am-form input[type=submit] { font-size: 20px; }
}

/* Single-plan forms (vip-all-access, subscription; signup.phtml, ilb_am_signup_plan()):
   "Change plan" link, plan summary on the single-plan card look, compact on phones. */
.ilb-signup-page .ilb-change-plan { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; color: var(--ilb-muted) !important; }
.ilb-signup-page .ilb-change-plan .ilb-ico { width: 16px; height: 16px; color: var(--ilb-pink2); transition: transform .15s; }
.ilb-signup-page .ilb-change-plan:hover { color: #fff !important; }
.ilb-signup-page .ilb-change-plan:hover .ilb-ico { transform: translateX(-3px); }
.ilb-signup-page--one .ilb-signup-head { margin-bottom: 18px; }
.ilb-plan-sum {
    margin: 14px 0 12px; padding: 14px 18px; border-radius: 12px; border: 1.5px solid var(--ilb-pink2);
    background: linear-gradient(135deg, rgba(255, 45, 138, .16), var(--ilb-card2) 65%);
}
.ilb-plan-sum p { margin: 0; }
.ilb-plan-sum .ilb-plan-sum-terms { font-size: 18px; font-weight: 700; line-height: 1.35; color: #ffb86b; }
.ilb-plan-sum .ilb-plan-sum-note { margin-top: 4px; font-size: 15px; color: var(--ilb-muted); }
/* The plan and payment-system rows stay in the form (submitted, aMember's JS intact) but are not
   shown: the summary above says it. Visually hidden, not display:none (see gotchas: .am-row). */
.ilb-signup-page--one .am-signup-form .am-row[id^="row-product_id"], .ilb-signup-page--one .am-signup-form #row-paysys_id {
    position: absolute !important; width: 1px; height: 1px; margin: -1px !important; padding: 0 !important; border: 0 !important;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
/* No cover banner on these forms (Martin, 2026-09-30): the Members' zone badge sits top left of the card, as it did on the cover. */
.ilb-signup-page--one .ilb-signup { position: relative; }
.ilb-signup-page--one .ilb-signup-head .ilb-eyebrow { position: absolute; top: 16px; left: 16px; margin: 0; }
.ilb-signup-page--one .ilb-signup--plain .ilb-signup-body { padding-top: 58px; }
/* "You're already a member" (logged-in member with paid access) */
.ilb-signup-member { display: grid; gap: 12px; text-align: center; }
.ilb-signup-member p { margin: 0 0 4px; }
/* Straight to payment (signup.phtml, ilb-direct-pay.php): status line while the form submits itself;
   the form stays visible, dimmed, with its Next button as the fallback. */
.ilb-signup-page .ilb-dp { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 0; font-size: 18px; font-weight: 700; color: #fff; }
.ilb-signup-page .ilb-dp[hidden] { display: none; }
.ilb-dp-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); border-top-color: var(--ilb-pink2); animation: ilb-dp-spin .8s linear infinite; }
@keyframes ilb-dp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ilb-dp-spin { animation: none; } }
.ilb-signup-page.ilb-dp-on .am-signup { opacity: .35; pointer-events: none; transition: opacity .2s; }
/* Payment not completed (cancel.phtml: CCBill's decline / cancel return) */
.ilb-pay-fail .ilb-pay-fail-form { margin: 0; }
.ilb-pay-fail .ilb-pay-fail-form .ilb-btn { width: 100%; border: 0; cursor: pointer; }
@media (max-width: 700px) {
    .ilb-signup-page--one .ilb-auth-hero { display: none; }
    .ilb-signup-page--one .ilb-signup-body { margin-top: 0; padding-top: 22px; }
    .ilb-signup-page--one h1.ilb-signup-title { font-size: 28px; }
    .ilb-signup-page--one .ilb-signup-top { margin-bottom: 10px; }
    .ilb-plan-sum { padding: 12px 14px; }
    .ilb-plan-sum .ilb-plan-sum-terms { font-size: 17px; }
}

/* ---------- Profile: Sign-in methods card (member/_social-link.phtml) ---------- */
/* Same look as the social sign-in buttons: dark tiles, official marks, 12 px radius, lift + glow. */
.ilb-signin { padding: 24px 30px; }
.ilb-dash .ilb-signin h2 { margin: 0 0 6px; }
.ilb-signin-lead { margin: 0 0 18px; font-size: 16px; color: var(--ilb-muted); }
.ilb-sl-note { margin: 0 0 16px; padding: 12px 14px; font-size: 16px; line-height: 1.45; border-radius: 10px; border: 1px solid; }
.ilb-sl-note--ok { color: #d6ffe7; background: rgba(80, 220, 150, .1); border-color: rgba(111, 220, 159, .45); }
.ilb-sl-note--err { color: #ffd6d6; background: rgba(255, 70, 70, .1); border-color: rgba(255, 110, 110, .45); }
.ilb-sl-note--info { color: var(--ilb-text); background: rgba(255, 255, 255, .04); border-color: var(--ilb-line); }
.ilb-am ul.ilb-sl-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ilb-am .ilb-sl-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0; padding: 14px 16px; list-style: none;
    background: rgba(0, 0, 0, .16); border: 1px solid var(--ilb-line); border-radius: 12px;
}
.ilb-am .ilb-sl-row.is-linked { border-color: rgba(111, 220, 159, .32); }
.ilb-sl-mark { flex: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; }
.ilb-sl-mark--google { background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.ilb-sbtn-mark.ilb-sl-mark svg { width: 36px; height: 36px; }
.ilb-sbtn-mark.ilb-sl-mark--google svg { width: 22px; height: 22px; }
.ilb-sl-info { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ilb-sl-info b { font: 700 19px/1.2 "Open Sans Condensed", sans-serif; color: #fff; }
.ilb-sl-status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 15px; color: var(--ilb-muted); }
.ilb-sl-status.is-on { color: var(--ilb-ok); }
.ilb-sl-status .ilb-ico { width: 15px; height: 15px; }
.ilb-sl-email { color: var(--ilb-text); overflow-wrap: anywhere; }
.ilb-sl-act { flex: none; display: flex; }
.ilb-sl-form { margin: 0; }
.ilb-am .ilb-sl-btn {
    --ilb-sbtn-glow: rgba(255, 255, 255, .14);
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; margin: 0; padding: 0 20px; white-space: nowrap;
    font: 700 16px/1 "Open Sans Condensed", sans-serif; letter-spacing: .3px; text-transform: none; text-shadow: none;
    color: var(--ilb-ink) !important; background: var(--ilb-card2) !important; border: 1px solid #45454f !important; border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 4px 14px rgba(0, 0, 0, .28); cursor: pointer;
    -webkit-appearance: none; appearance: none; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease;
}
.ilb-am .ilb-sl-btn--google { --ilb-sbtn-glow: rgba(66, 133, 244, .38); }
.ilb-am .ilb-sl-btn--facebook { --ilb-sbtn-glow: rgba(8, 102, 255, .45); }
.ilb-am .ilb-sl-btn--disconnect { color: var(--ilb-text) !important; background: transparent !important; box-shadow: none; }
@media (hover: hover) {
    .ilb-am .ilb-sl-btn:hover {
        transform: translateY(-2px); color: #fff !important; background: #33333f !important; border-color: #5a5a6a !important;
        box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .7), 0 0 22px -2px var(--ilb-sbtn-glow);
    }
    .ilb-am .ilb-sl-btn--disconnect:hover { color: #ffd0d0 !important; border-color: rgba(255, 110, 110, .6) !important; background: rgba(255, 70, 70, .08) !important; box-shadow: none; }
    .ilb-am .ilb-sl-btn--danger:hover { background: #e0445b !important; border-color: #e0445b !important; box-shadow: 0 10px 24px -8px rgba(224, 68, 91, .6); }
}
.ilb-am .ilb-sl-btn--danger { color: #fff !important; background: #c62f45 !important; border-color: #c62f45 !important; }
.ilb-am .ilb-sl-btn:active { transform: translateY(0); }
.ilb-am .ilb-sl-btn:focus { outline: none; }
.ilb-am .ilb-sl-btn:focus-visible { outline: none; border-color: var(--ilb-pink2) !important; box-shadow: 0 0 0 3px rgba(255, 45, 138, .45); }
.ilb-am .ilb-sl-btn:disabled, .ilb-am .ilb-sl-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.ilb-am .ilb-sl-btn.is-busy { cursor: progress; }
.ilb-am .ilb-sl-btn.is-busy::after, html:not(.ilb-fb-ready):not(.ilb-fb-failed) .ilb-am .ilb-sl-btn--facebook::after {
    content: ""; flex: none; width: 14px; height: 14px; box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, .22); border-top-color: #fff; border-radius: 50%; animation: ilb-sbtn-spin .8s linear infinite;
}
html:not(.ilb-fb-ready):not(.ilb-fb-failed) .ilb-am .ilb-sl-btn--facebook { opacity: .7; cursor: progress; }
.ilb-sl-pw {
    margin: 16px 0 0; padding: 14px 16px; border-radius: 12px;
    background: rgba(255, 180, 94, .08); border: 1px solid rgba(255, 180, 94, .45);
}
.ilb-sl-pw p { margin: 0 0 12px; font-size: 16px; color: var(--ilb-text); }
.ilb-sl-pw b { color: var(--ilb-warn); }
.ilb-sl-small { margin: 10px 0 0; font-size: 15px; color: var(--ilb-muted); }
.ilb-sl-sendmsg.is-ok { color: var(--ilb-ok); }
.ilb-sl-sendmsg.is-err { color: var(--ilb-err); }
.ilb-am .ilb-sl-link {
    display: inline; margin: 0; padding: 0; border: 0; background: none !important; font: inherit; color: var(--ilb-pink2) !important;
    text-decoration: underline; cursor: pointer; box-shadow: none;
}
.ilb-am .ilb-sl-link:disabled { color: var(--ilb-muted) !important; cursor: default; }
/* Confirmation dialog */
.ilb-sl-dlg {
    width: min(440px, calc(100vw - 32px)); max-width: none; margin: auto; padding: 24px; color: var(--ilb-text);
    background: var(--ilb-card); border: 1px solid var(--ilb-line); border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
}
.ilb-sl-dlg::backdrop { background: rgba(8, 8, 12, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.ilb-sl-dlg h3 { margin: 0 0 10px; font: 400 26px/1.2 var(--ilb-head); color: #fff; text-transform: none; }
.ilb-sl-dlg p { margin: 0 0 14px; font-size: 16px; line-height: 1.5; }
.ilb-sl-label { display: block; margin: 4px 0 6px; font-size: 15px; color: var(--ilb-muted); }
.ilb-am .ilb-sl-input, .ilb-am .ilb-sl-input:focus {
    display: block; width: 100%; height: auto; margin: 0; padding: 12px 14px; font-size: 17px; font-family: inherit; color: #fff !important;
    background: var(--ilb-field) !important; border: 1px solid #3a3a45 !important; border-radius: 10px; box-shadow: none;
}
.ilb-am .ilb-sl-input:focus { outline: none; border-color: var(--ilb-pink2) !important; box-shadow: 0 0 0 3px rgba(255, 45, 138, .22); }
.ilb-am .ilb-sl-input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 1000px #15151b inset; }
.ilb-sl-dlg-act { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin: 20px 0 0; }
@media (max-width: 700px) {
    .ilb-signin { padding: 20px 16px; }
    .ilb-am .ilb-sl-row { padding: 14px; }
    .ilb-sl-act, .ilb-sl-act .ilb-sl-form, .ilb-am .ilb-sl-act .ilb-sl-btn { width: 100%; }
    .ilb-am .ilb-sl-pw .ilb-sl-btn { width: 100%; white-space: normal; height: auto; min-height: 44px; padding: 10px 16px; }
    .ilb-sl-dlg-act { flex-direction: column-reverse; }
    .ilb-am .ilb-sl-dlg-act .ilb-sl-btn { flex: none; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .ilb-am .ilb-sl-btn { transition: none; }
    .ilb-am .ilb-sl-btn:hover { transform: none; }
}
