/*
 * ATBA — the look of the site (October 2026): frosted glass over a soft, slowly moving light.
 * Every page sits on one lit backdrop; headers, cards, panels and fields are panes of frosted glass with fine
 * bright edges and medium corners (no pills); navy type, one teal accent. Light motion throughout: things rise
 * in as they are reached, numbers count up, a soft light follows the pointer across glass, links underline
 * from the left. Applies to all templates — the page wrappers are made transparent and the theme's own colour
 * tokens are redefined, so cards that are not named here turn translucent too.
 * Laid over the templates' own styles (rules start with "body" so they win); the markup is unchanged.
 * Loaded from functions.php (wp_head, late) — remove that hook to go back to the earlier look.
 */
:root {
    --gl-navy: #0f2a4a;
    --gl-ink: #14233a;
    --gl-text: #3c4a5d;
    --gl-muted: #5d6a7c;
    --gl-teal: #0c9a89;
    --gl-teal-2: #12b8a4;
    --gl-edge: rgba(255, 255, 255, .78);
    --gl-line: rgba(15, 42, 74, .12);
    --gl-pane: rgba(255, 255, 255, .56);
    --gl-pane-2: rgba(255, 255, 255, .74);
    --gl-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 22px 44px -30px rgba(15, 42, 74, .45);
    --gl-r: 16px;
    --gl-r-sm: 10px;
    --gl-ease: cubic-bezier(.2, .8, .2, 1);
    /* the theme's own tokens */
    --atba-ui-brand: var(--gl-navy);
    --atba-ui-text: var(--gl-text);
    --atba-ui-muted: var(--gl-muted);
    --atba-ui-accent: var(--gl-teal);
    --atba-ui-surface: rgba(255, 255, 255, .62);
    --atba-ui-canvas: rgba(255, 255, 255, .3);
    --atba-ui-border: var(--gl-line);
    --atba-ui-control-border: rgba(15, 42, 74, .2);
    --atba-ui-hover: rgba(15, 42, 74, .06);
    --atba-ui-brand-hover: #18406e;
    --atba-ui-radius-control: 10px;
    --atba-ui-radius-field: 12px;
}

/* ── the lit backdrop every page sits on ── */
html { background: #e9eff6; }
body { background: transparent !important; color: var(--gl-ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; z-index: -1; inset: -20vmax; pointer-events: none; background:
    radial-gradient(34vmax 34vmax at 18% 22%, rgba(18, 184, 164, .30), transparent 62%),
    radial-gradient(38vmax 38vmax at 82% 16%, rgba(64, 132, 255, .26), transparent 64%),
    radial-gradient(40vmax 40vmax at 70% 82%, rgba(15, 42, 74, .16), transparent 62%),
    radial-gradient(30vmax 30vmax at 22% 86%, rgba(252, 196, 92, .20), transparent 60%);
    animation: gl-drift 38s ease-in-out infinite alternate; will-change: transform; }
@keyframes gl-drift { to { transform: translate3d(4vmax, -3vmax, 0) rotate(8deg) scale(1.06); } }
body ::selection { background: var(--gl-teal); color: #fff; }
/* page wrappers let the backdrop through */
body .page-main-wrapper, body .atba-interior, body .structure-page, body .mem-page, body .cat-page, body .sm-page, body .sp-page,
body .atba-member-profile-page, body .atba-top-travelers-page, body .atba-member-blog-page { background: transparent !important; }

/* a pane of glass */
body .hero-discover, body .hero-stat-line, body .ab-stat-card, body .st-card, body .mem-search, body .cat-search, body .mem-tags-bar, body .cat-tags-bar,
body .sm-chart-wrap, body .sp-rel-card, body .amp-auth-card, body .amp-panel, body .amp-shortcut-card, body .amp-debt-card, body .att-pod,
body .ac-card, body .page-main-wrapper .ac-card, body .cat-page .ac-card, body .atba-interior .ac-card, body .partner-tile, body .page-main-wrapper .partner-tile,
body .atba-interior :is(.nf-search, .search-hero-box), body .atba-interior .atba-contact-options a, body .ml-table-wrap, body .sm-ig-btn {
    border: 1px solid var(--gl-edge) !important; border-radius: var(--gl-r) !important;
    background-color: var(--gl-pane) !important;
    background-image: radial-gradient(260px circle at var(--mx, -400px) var(--my, -400px), rgba(18, 184, 164, .16), transparent 62%);
    -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
    box-shadow: var(--gl-shadow);
    transition: transform .35s var(--gl-ease), box-shadow .35s var(--gl-ease), background-color .25s;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    body .hero-discover, body .hero-stat-line, body .ab-stat-card, body .st-card, body .ac-card, body .partner-tile, body .amp-auth-card, body .amp-panel { background-color: rgba(255, 255, 255, .92) !important; }
}
body .ab-stat-card:hover, body .st-card:hover, body .ac-card:hover, body .sp-rel-card:hover, body .amp-shortcut-card:hover, body .partner-link:hover .partner-tile, body .partner-tile:hover, body .atba-interior .atba-contact-options a:hover {
    transform: translateY(-4px); background-color: var(--gl-pane-2) !important; box-shadow: 0 1px 0 rgba(255, 255, 255, .95) inset, 0 30px 54px -30px rgba(15, 42, 74, .55); }
/* the page heads of the inner pages are bands across the page, not cards */
body .st-hero { margin-bottom: clamp(28px, 4vw, 48px); border: 0 !important; border-bottom: 1px solid var(--gl-line) !important; border-radius: 0 !important; background: rgba(255, 255, 255, .28) !important; box-shadow: none !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
/* member cabinet: the side card lines up with the first panel, the page title sits above the panels */

/* member page: the follower chart gets room */
body .sm-chart-wrap { height: 300px !important; padding: 14px 14px 8px !important; }
@media (max-width: 575.98px) { body .sm-chart-wrap { height: 230px !important; } }
/* the grey bands of the inner pages become a lighter veil */
body .atba-interior :is(.ab-section--alt, .pt-section--alt, .ab-cta-section, .pt-cta-section), body .sm-chart-section { background: rgba(255, 255, 255, .26) !important; border-color: var(--gl-line) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ── header: a frosted bar ── */
body .lp-header { top: var(--lp-admin-offset, 0px); padding: 0; border-bottom: 1px solid var(--gl-edge); background: rgba(255, 255, 255, .58); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%); box-shadow: 0 1px 0 rgba(15, 42, 74, .06); transition: background-color .3s, box-shadow .3s; }
body .lp-header::before { content: none; }
html.rf-scrolled body .lp-header { background: rgba(255, 255, 255, .8); box-shadow: 0 18px 40px -28px rgba(15, 42, 74, .5); }
body .lp-header .lp-header-inner { border: 0; border-radius: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body .lp-header .lp-nav-link { padding: 0 13px; border-radius: 0; color: var(--gl-text) !important; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; transition: color .2s; }
body .lp-header .lp-nav-link:hover { background: transparent !important; color: var(--gl-navy) !important; }
body .lp-header .lp-nav-link::after { display: block; right: 13px; left: 13px; bottom: 8px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gl-teal), var(--gl-teal-2)); opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--gl-ease); }
body .lp-header .lp-nav-link:hover::after, body .lp-header .lp-nav-link.is-active::after { transform: scaleX(1); }
body .lp-header .lp-nav-link.is-active { background: transparent !important; color: var(--gl-navy) !important; }
body .lp-header .lp-profile-icon, body .lp-header #lpToggle { border: 1px solid var(--gl-edge); border-radius: var(--gl-r-sm); background: rgba(255, 255, 255, .6); transition: transform .25s var(--gl-ease), background-color .2s; }
body .lp-header .lp-profile-icon:hover, body .lp-header #lpToggle:hover { transform: translateY(-2px); background: #fff; border-color: var(--gl-edge); color: var(--gl-navy) !important; }
body .lp-header .lp-member-btn { position: relative; overflow: hidden; border: 1px solid var(--gl-navy); border-radius: var(--gl-r-sm); background: var(--gl-navy) !important; color: #fff !important; box-shadow: 0 12px 24px -14px rgba(15, 42, 74, .8); font-size: 14px; letter-spacing: 0; text-transform: none; transition: transform .25s var(--gl-ease), box-shadow .25s; }
body .lp-header .lp-member-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--gl-ease); }
body .lp-header .lp-member-btn:hover { transform: translateY(-2px); background: var(--gl-navy) !important; border-color: var(--gl-navy); box-shadow: 0 18px 30px -14px rgba(15, 42, 74, .9); }
body .lp-header .lp-member-btn:hover::after { transform: translateX(120%); }
body .lp-header .lp-member-btn svg { transition: transform .25s var(--gl-ease); } body .lp-header .lp-member-btn:hover svg { transform: translateX(3px); }
body .lp-header .lp-mobile-nav { top: 100%; right: 0; left: 0; border: 0; border-bottom: 1px solid var(--gl-edge); border-radius: 0 0 20px 20px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 30px 50px -30px rgba(15, 42, 74, .5); }
body .lp-header .lp-mobile-link { border-radius: var(--gl-r-sm); border-bottom: 0; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--gl-text) !important; }
body .lp-header .lp-mobile-link:hover, body .lp-header .lp-mobile-link.is-active { background: rgba(15, 42, 74, .06) !important; color: var(--gl-navy) !important; }
/* how far the page has been read */
#gl-progress { position: fixed; z-index: 2100; top: 0; left: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--gl-teal), var(--gl-teal-2)); transform: scaleX(var(--gl-read, 0)); transform-origin: left; pointer-events: none; }

/* ── front page: opening ── */
body .hero.atba-hero { margin-top: 0; padding-top: 0; background: transparent; border-bottom: 1px solid var(--gl-line); color: var(--gl-ink); }
body .hero.atba-hero::after { content: ""; display: block; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 30%), rgba(255, 255, 255, .55), transparent 62%); -webkit-mask-image: none; mask-image: none; }
body .atba-hero > .container { position: relative; z-index: 1; }
body .atba-hero .hero-inner { padding: clamp(40px, 6vw, 88px) 0; gap: clamp(24px, 4vw, 56px); align-items: center; }
body .atba-hero .hero-left { grid-column: auto !important; }
body .atba-hero .hero-eyebrow { display: inline-flex; margin: 0 0 18px; padding: 7px 14px 7px 10px; border: 1px solid var(--gl-edge); border-radius: var(--gl-r-sm); background: var(--gl-pane); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--gl-navy); font-size: .78rem; font-weight: 600; letter-spacing: .02em; text-transform: none; }
body .atba-hero .hero-eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--gl-teal); box-shadow: 0 0 0 4px rgba(12, 154, 137, .2); animation: gl-pulse 2.6s ease-in-out infinite; }
@keyframes gl-pulse { 50% { box-shadow: 0 0 0 8px rgba(12, 154, 137, 0); } }
body .atba-hero .hero-title { max-width: 16ch; color: var(--gl-navy); font-family: inherit; font-size: clamp(2.1rem, 4.8vw, 4rem); font-weight: 750; line-height: 1.06; letter-spacing: -.035em; }
body .atba-hero .hero-stats { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; margin-top: clamp(24px, 3vw, 40px); padding-top: 0; border-top: 0; }
body .atba-hero .hero-stat-line { flex: 0 1 auto; padding: 14px 20px 13px !important; border-left: 1px solid var(--gl-edge) !important; }
body .atba-hero .hero-stat-line:hover { transform: translateY(-3px); }
body .atba-hero .hero-stat-num { color: var(--gl-navy); font-family: inherit; font-size: clamp(1.45rem, 2.3vw, 2rem); font-weight: 750; letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
body .atba-hero .hero-stat-label { color: var(--gl-muted); font-size: .76rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
body .atba-hero .hero-discover { grid-column: auto !important; display: block; width: 100% !important; padding: clamp(18px, 2.2vw, 26px); border-top: 1px solid var(--gl-edge) !important; color: var(--gl-ink); }
body .atba-hero .hero-search-label { color: var(--gl-navy); font-size: 1rem; font-weight: 700; letter-spacing: -.01em; text-transform: none; }
body .atba-hero .hero-search-field { min-height: 54px; padding: 4px 4px 4px 14px; border: 1px solid var(--gl-edge); border-radius: 12px; background: rgba(255, 255, 255, .72); transition: box-shadow .2s, border-color .2s; }
body .atba-hero .hero-search-field:focus-within { border-color: var(--gl-teal); box-shadow: 0 0 0 4px rgba(12, 154, 137, .16) !important; }
body .atba-hero .hero-search-input { font-family: inherit; font-size: .95rem; color: var(--gl-ink); }
body .atba-hero .hero-search-btn { padding: 0 20px; border: 0; border-radius: 9px; background: var(--gl-navy); color: #fff; font-size: .875rem; font-weight: 600; letter-spacing: 0; text-transform: none; transition: background-color .2s, transform .2s var(--gl-ease); }
body .atba-hero .hero-search-btn::after { content: none; }
body .atba-hero .hero-search-btn:hover { background: #18406e; color: #fff; transform: translateY(-1px); }
body .atba-hero .hero-quick-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
body .atba-hero .hero-quick-links a { padding: 7px 12px; border: 1px solid var(--gl-edge); border-radius: var(--gl-r-sm); background: rgba(255, 255, 255, .6); color: var(--gl-navy); font-size: .8125rem; font-weight: 600; letter-spacing: 0; text-transform: none; text-decoration: none; transition: transform .25s var(--gl-ease), background-color .2s; }
body .atba-hero .hero-quick-links a:hover { transform: translateY(-2px); border-color: var(--gl-edge); background: #fff; color: var(--gl-teal); }

/* ── sections and their headings (front page and inner pages) ── */
body .page-main-wrapper > .container + .container { border-top: 1px solid var(--gl-line); }
body .page-main-wrapper .card-header, body .page-main-wrapper .partners-heading { align-items: flex-end !important; }
body .page-main-wrapper .section-title { font-family: inherit; font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 750; line-height: 1.15; letter-spacing: -.03em; color: var(--gl-navy); }
body .page-main-wrapper .section-title::before { content: none; }
body .page-main-wrapper .section-title::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 12px; border-radius: 3px; background: linear-gradient(90deg, var(--gl-teal), var(--gl-teal-2)); transition: width .5s var(--gl-ease); }
body .page-main-wrapper .card-header:hover .section-title::after, body .page-main-wrapper .partners-heading:hover .section-title::after { width: 88px; }
body .page-main-wrapper .section-description { max-width: 60ch; margin-top: 12px; color: var(--gl-text); font-family: inherit; font-size: .95rem; font-style: normal; line-height: 1.6; }
body .page-main-wrapper .btn-outline-main, body .btn-outline-main.section-cta { gap: 8px; padding: 10px 16px; border: 1px solid var(--gl-edge); border-radius: var(--gl-r-sm); background: var(--gl-pane); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--gl-shadow); color: var(--gl-navy); font-size: .875rem; font-weight: 600; letter-spacing: 0; text-transform: none; transition: transform .25s var(--gl-ease), background-color .2s, color .2s; }
body .page-main-wrapper .btn-outline-main:hover { transform: translateY(-2px); background: var(--gl-navy); border-color: var(--gl-navy); color: #fff; }
body .page-main-wrapper .btn-outline-main span { display: inline-block; transition: transform .25s var(--gl-ease); }
body .page-main-wrapper .btn-outline-main:hover span { transform: translateX(4px); }
body h1, body h2, body .ac-title, body .mc-name { font-family: inherit; }

/* member cards */
body .mc-card, body .page-main-wrapper .mc-card { border-radius: var(--gl-r); overflow: hidden; outline: 0; box-shadow: 0 22px 40px -30px rgba(15, 42, 74, .6); transition: transform .4s var(--gl-ease), box-shadow .4s var(--gl-ease); }
body .mc-card:hover, body .page-main-wrapper .mc-card:hover { transform: translateY(-6px); box-shadow: 0 34px 56px -30px rgba(15, 42, 74, .75); }
body .mc-card .mc-img-wrap { border-radius: var(--gl-r); }
body .mc-card .mc-img { filter: none; transition: transform .8s var(--gl-ease); }
body .mc-card:hover .mc-img { transform: scale(1.06); filter: none; }
body .mc-card .mc-name { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
body .mc-card .mc-tags { font-size: .72rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
body .mc-card .mc-pill, body .mem-page .mc-pill, body .sm-page .mc-pill, body .atba-interior .mc-pill { border: 1px solid rgba(255, 255, 255, .6); border-radius: 9px; background: rgba(255, 255, 255, .7) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--gl-ink); }
body .mc-card--leader, body .page-main-wrapper .mc-card--leader { padding: 0; border: 0; border-radius: var(--gl-r); outline: 0; box-shadow: 0 22px 40px -30px rgba(15, 42, 74, .6); }   /* the leader of the year is marked by the badge alone */
body .mc-card--leader .mc-img-wrap { border: 0; }
body .mc-card .mc-leader-badge { border-radius: 8px; background: var(--gl-teal); color: #fff; box-shadow: none; letter-spacing: .04em; }

/* news, blog and related cards */
body .ac-card, body .page-main-wrapper .ac-card { padding-top: 0; overflow: hidden; }
body .ac-card .ac-img-wrap, body .cat-page .ac-img-wrap, body .atba-interior .ac-img-wrap, body .page-main-wrapper .ac-img-wrap { border-radius: 0; background: transparent !important; }
body .ac-card .ac-img { filter: none; transition: transform .8s var(--gl-ease); }
body .ac-card:hover .ac-img { transform: scale(1.05); }
body .ac-card .ac-badge, body .cat-page .ac-badge, body .atba-interior .ac-badge, body .sp-rel-badge { border: 1px solid rgba(255, 255, 255, .6); border-radius: 8px; background: rgba(255, 255, 255, .78) !important; color: var(--gl-navy); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); letter-spacing: .03em; }
body .ac-card .ac-footer, body .page-main-wrapper .ac-card .ac-footer { padding: 16px 18px 18px; background: transparent !important; }
body .ac-card .ac-title { font-size: 1.05rem; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; color: var(--gl-navy); text-decoration: none; background: linear-gradient(var(--gl-teal), var(--gl-teal)) no-repeat 0 100% / 0 2px; display: inline; transition: background-size .45s var(--gl-ease); }
body .ac-card:hover .ac-title { text-decoration: none; background-size: 100% 2px; }
body .ac-card .ac-meta { color: var(--gl-muted); font-size: .78rem; font-weight: 500; letter-spacing: 0; text-transform: none; }

/* partners */
body .page-main-wrapper .partners-marquee-track, body .page-main-wrapper .partners-track { gap: 14px; }
body .page-main-wrapper .partner-tile, body .partner-tile { margin-left: 0; }
body .partner-tile::before { display: none; }
body .partner-tile img { filter: none; opacity: 1; mix-blend-mode: normal; transition: transform .35s var(--gl-ease); }
body .partner-link:hover .partner-tile img, body .partner-tile:hover img { transform: scale(1.06); }

/* chips, fields and buttons of the inner pages */
body .mem-tags .mem-tag, body .cat-tags .cat-tag, body .atba-interior .st-pill { border: 1px solid var(--gl-edge); border-radius: var(--gl-r-sm); background-color: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .25s var(--gl-ease), background-color .2s, color .2s; }
body .mem-tags .mem-tag:hover, body .cat-tags .cat-tag:hover { transform: translateY(-2px); }
body .mem-tags .mem-tag--active, body .mem-tags .mem-tag--active:hover, body .cat-tags .cat-tag--active, body .cat-tags .cat-tag--active:hover { background-color: var(--gl-navy) !important; border-color: var(--gl-navy); color: #fff !important; box-shadow: 0 12px 22px -14px rgba(15, 42, 74, .8); }
body .mem-tags-bar, body .cat-tags-bar { border-radius: 0 !important; border-right: 0 !important; border-left: 0 !important; box-shadow: none; }
body .cat-search-input, body .amp-field input, body .atba-member-profile-page .amp-field input, body .amb-field input, body .amb-field textarea, body .ml-select,
body .atba-interior input[type="text"], body .atba-interior input[type="email"], body .atba-interior input[type="tel"], body .atba-interior input[type="search"], body .atba-interior input[type="date"], body .atba-interior select, body .atba-interior textarea {
    border: 1px solid rgba(15, 42, 74, .16); border-radius: 12px; background-color: rgba(255, 255, 255, .7) !important; transition: border-color .2s, box-shadow .2s, background-color .2s; }
body .cat-search-input:focus, body .amp-field input:focus, body .amb-field input:focus, body .amb-field textarea:focus, body .atba-interior input:focus, body .atba-interior select:focus, body .atba-interior textarea:focus { border-color: var(--gl-teal); background-color: #fff !important; box-shadow: 0 0 0 4px rgba(12, 154, 137, .16); outline: 0; }
body .atba-interior .ml-table th { background: rgba(255, 255, 255, .5) !important; }
body .sm-photo { box-shadow: 0 24px 44px -26px rgba(15, 42, 74, .6); }

/* ── footer ── */
body .ft.atba-footer { position: relative; overflow: hidden; margin-top: clamp(32px, 5vw, 72px); border-top: 1px solid rgba(255, 255, 255, .12); border-radius: 28px 28px 0 0; background: radial-gradient(60% 120% at 12% 0%, rgba(18, 184, 164, .22), transparent 60%), radial-gradient(50% 100% at 92% 10%, rgba(64, 132, 255, .2), transparent 62%), #0b2038; color: #dbe4f0; }
body .atba-footer .ft-inner::before { content: none; }
body .atba-footer .ft-logo { content: url("/wp-content/plugins/atba-crm/assets/img/atba-logo-white.svg"); }
body .atba-footer .ft-tagline { color: #a9b8cc; }
body .atba-footer .ft-col-title { color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
body .atba-footer .ft-link { color: #c3cfdf; font-family: inherit; font-size: .9rem; text-decoration: none; background: linear-gradient(var(--gl-teal-2), var(--gl-teal-2)) no-repeat 0 100% / 0 1px; transition: background-size .4s var(--gl-ease), color .2s; }
body .atba-footer .ft-link:hover { color: #fff; text-decoration: none; background-size: 100% 1px; }
body .atba-footer .ft-join { border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--gl-r-sm); background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: .875rem; font-weight: 600; letter-spacing: 0; text-transform: none; transition: transform .25s var(--gl-ease), background-color .2s; }
body .atba-footer .ft-join:hover { transform: translateY(-2px); background: var(--gl-teal); border-color: var(--gl-teal); color: #fff; }
body .atba-footer .ft-social-link { border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--gl-r-sm); background: rgba(255, 255, 255, .08); transition: transform .25s var(--gl-ease), background-color .2s; }
body .atba-footer .ft-social-link:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .18); }
body .atba-footer .ft-social img { filter: invert(1); }
body .atba-footer .ft-bottom { border-top-color: rgba(255, 255, 255, .14); color: #93a3b9; font-size: .8rem; letter-spacing: 0; text-transform: none; }
body .atba-footer .ft-bottom a { color: #c3cfdf; }
body .atba-footer a:focus-visible { outline-color: var(--gl-teal-2); }

/* ── light motion: things rise in as they are reached (only when scripting runs and motion is welcome) ── */
html.rf-on .rf { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s var(--gl-ease); transition-delay: var(--rf-d, 0ms); }
html.rf-on .rf.rf-in { opacity: 1; transform: none; }
html.rf-on .rf.rf-done { transition: transform .35s var(--gl-ease), box-shadow .35s var(--gl-ease), background-color .25s; transition-delay: 0ms; }

@media (max-width: 767.98px) {
    body .atba-hero .hero-stat-line { flex: 1 1 calc(50% - 6px); padding: 12px 14px !important; }
    body .atba-hero .hero-stat-num { font-size: clamp(1.25rem, 6vw, 1.6rem); }
    body .ft.atba-footer { border-radius: 22px 22px 0 0; }
    body::before { animation-duration: 60s; }
}
@media (prefers-reduced-motion: reduce) {
    body::before, body .atba-hero .hero-eyebrow span { animation: none; }
    body *, body *::before, body *::after { transition: none !important; }
    html.rf-on .rf { opacity: 1; transform: none; }
    #gl-progress { display: none; }
}

/* the ranking is one sheet of glass: a head, then plain rows parted by hairlines */
body .att-list-head { margin: 0; padding: 14px 24px !important; border: 1px solid var(--gl-edge); border-bottom: 1px solid var(--gl-line); border-radius: var(--gl-r) var(--gl-r) 0 0; background: rgba(255, 255, 255, .5) !important; -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); color: var(--gl-muted, #5d6a7c); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
body .att-list { border: 1px solid var(--gl-edge) !important; border-top: 0 !important; border-radius: 0 0 var(--gl-r) var(--gl-r) !important; overflow: hidden; background: var(--gl-pane) !important; -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: var(--gl-shadow); }
body .att-list .att-item { margin: 0; padding: 12px 24px !important; border: 0 !important; border-bottom: 1px solid var(--gl-line) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; transform: none !important; transition: background-color .2s; }
body .att-list .att-item:last-child { border-bottom: 0 !important; }
body .att-list .att-item:hover { background: rgba(255, 255, 255, .55) !important; }
body .att-list .att-rank { font-weight: 600; }
body .att-list .att-rank-tier1 { color: var(--gl-teal); }
@media (max-width: 575.98px) { body .att-list-head, body .att-list .att-item { padding-left: 16px !important; padding-right: 16px !important; } }
/* the contact form sits on its own pane */
body .atba-interior .atba-cf { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--gl-edge); border-radius: var(--gl-r); background: var(--gl-pane); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: var(--gl-shadow); }

/* the members list page: a glass filter band and one sheet for the table */
body .ml-page { background: transparent !important; }
body .ml-hero { background: transparent !important; border: 0 !important; }
body .ml-hero .ml-hr { width: 44px; height: 3px; border: 0; border-radius: 3px; background: var(--gl-teal); opacity: 1; }
body .ml-hero-stats { border: 1px solid var(--gl-edge) !important; border-radius: var(--gl-r) !important; background: var(--gl-pane) !important; -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: var(--gl-shadow); }
body .ml-hero-num { color: var(--gl-navy) !important; }
body .ml-hero-divider { background: var(--gl-line) !important; }
body .ml-filter-bar { border: 0 !important; border-top: 1px solid var(--gl-line) !important; border-bottom: 1px solid var(--gl-line) !important; background: rgba(255, 255, 255, .42) !important; -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: none !important; }
body .ml-filter-label { color: var(--gl-muted) !important; }
body .ml-btn, body .ml-email-btn, body .ml-f-save { border: 1px solid var(--gl-edge) !important; border-radius: 10px !important; background: rgba(255, 255, 255, .7) !important; color: var(--gl-navy) !important; box-shadow: 0 8px 18px -14px rgba(15, 42, 74, .6); transition: transform .25s var(--gl-ease), background-color .2s, color .2s, box-shadow .25s; }
body .ml-btn:hover, body .ml-email-btn:hover, body .ml-f-save:hover { transform: translateY(-2px); background: var(--gl-navy) !important; border-color: var(--gl-navy) !important; color: #fff !important; }
body .ml-btn:hover svg { stroke: currentColor; }
body .ml-table-wrap { margin-top: clamp(20px, 3vw, 32px); padding: 0 !important; overflow: hidden; }
body .ml-table-scroll { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }
body .ml-table { background: transparent !important; }
body .ml-table thead tr, body .atba-interior .ml-table thead th { background: rgba(255, 255, 255, .5) !important; }
body .atba-interior .ml-table thead th { padding-top: 15px; padding-bottom: 15px; border: 0 !important; border-bottom: 1px solid var(--gl-line) !important; color: var(--gl-muted) !important; font-size: .72rem !important; font-weight: 600 !important; letter-spacing: .05em; text-transform: uppercase; }
body .ml-table tbody tr { border-bottom: 1px solid var(--gl-line) !important; background: transparent !important; transition: background-color .2s; }
body .ml-table tbody tr:last-child { border-bottom: 0 !important; }
body .ml-table tbody tr:hover { background: rgba(255, 255, 255, .55) !important; }
body .ml-table tbody td { background: transparent !important; border: 0 !important; }
body .ml-name-link:hover, body .ml-insta-link:hover { color: var(--gl-teal) !important; }
body .ml-f-input { border: 1px solid var(--gl-line) !important; border-radius: 10px !important; background: rgba(255, 255, 255, .8) !important; }
body .ml-tag { border: 1px solid var(--gl-line) !important; border-radius: 999px !important; background: rgba(255, 255, 255, .7) !important; color: var(--gl-navy) !important; }

/* the search pane on the front page gets real room beside the headline */
@media (min-width: 576px) { body .atba-hero .hero-discover { max-width: none !important; } }
@media (min-width: 992px) { body .atba-hero .hero-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) !important; } body .atba-hero .hero-discover { justify-self: stretch !important; } }
body .atba-hero .hero-discover { padding: clamp(22px, 3vw, 40px) !important; }
body .atba-hero .hero-search-label { display: block; margin-bottom: 16px; font-size: clamp(1.15rem, 1.6vw, 1.45rem); }
body .atba-hero .hero-search-field { min-height: 66px; padding: 6px 6px 6px 18px; border-radius: 14px; }
body .atba-hero .hero-search-input { font-size: 1.05rem; }
body .atba-hero .hero-search-btn { align-self: stretch; padding: 0 28px; border-radius: 10px; font-size: 1rem; }
body .atba-hero .hero-quick-links { margin-top: 18px; gap: 10px; }
body .atba-hero .hero-quick-links a { padding: 12px 18px; font-size: 1rem; }

/* a member whose payment is overdue is dimmed for visitors; staff see the row as usual, with a note saying why */
body .ml-table tbody tr.ml-row-expired { opacity: .42; filter: grayscale(35%); }
body .ml-table tbody tr.ml-row-expired--staff a, body .ml-table tbody tr.ml-row-expired--staff .rowSelect { pointer-events: auto; cursor: pointer; }
body .ml-table tbody tr.ml-row-expired--staff { opacity: 1; filter: none; }
body .ml-table tbody tr.ml-row-expired--staff .ml-name-link::after { content: "Ödəniş gecikir"; display: inline-block; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: #b91c1c; color: #fff; font-size: .68rem; font-weight: 600; letter-spacing: .02em; vertical-align: middle; }

/* the list page opens like the other inner pages: a band, the title on the left, the two figures as glass tiles on the right */
body .ml-page .ml-hero { padding: clamp(32px, 5vw, 56px) 0 clamp(26px, 4vw, 40px) !important; border-bottom: 1px solid var(--gl-line) !important; background: rgba(255, 255, 255, .28) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-align: left !important; }
body .ml-page .ml-hero .row { justify-content: flex-start !important; text-align: left !important; }
body .ml-page .ml-hero .row > [class*="col"] { flex: 0 0 100%; width: 100%; max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: end; text-align: left !important; }
body .ml-page .ml-eyebrow { grid-column: 1; margin: 0 0 10px; color: var(--gl-teal) !important; opacity: 1 !important; font-size: .78rem; font-weight: 700; letter-spacing: .12em; }
body .ml-page .ml-title { grid-column: 1; margin: 0 !important; color: var(--gl-navy) !important; font-size: clamp(2rem, 4vw, 2.9rem) !important; font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
body .ml-page .ml-hero .ml-hr { display: none; }
body .ml-page .ml-hero-stats { grid-column: 2; grid-row: 1 / span 2; display: flex !important; align-items: stretch; gap: 12px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none !important; opacity: 1 !important; transform: none !important; }
body .ml-page .ml-hero-divider { display: none; }
body .ml-page .ml-hero-stat { align-items: flex-start !important; gap: 8px !important; padding: 16px 22px; border: 1px solid var(--gl-edge); border-radius: var(--gl-r); background: var(--gl-pane); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: var(--gl-shadow); transition: transform .35s var(--gl-ease); }
body .ml-page .ml-hero-stat:hover { transform: translateY(-3px); }
body .ml-page .ml-hero-num { font-size: clamp(1.35rem, 2.2vw, 1.75rem) !important; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
body .ml-page .ml-hero-label { color: var(--gl-muted) !important; font-size: .78rem !important; font-weight: 500; letter-spacing: 0 !important; text-transform: none !important; }
@media (max-width: 767.98px) {
    body .ml-page .ml-hero .row > [class*="col"] { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
    body .ml-page .ml-hero-stats { grid-column: 1; grid-row: auto; margin-top: 20px !important; flex-wrap: wrap; }
    body .ml-page .ml-hero-stat { flex: 1 1 140px; padding: 14px 16px; }
}

/* the cabinet: every tab starts level with the side card, and its title sits on a pane of its own */
body .atba-member-profile-page .amp-content-head { margin: 0 0 16px; padding: 22px 24px !important; min-height: 0; border: 1px solid var(--gl-edge); border-radius: var(--gl-r); background: var(--gl-pane) !important; -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: var(--gl-shadow); }
body .atba-member-profile-page .amp-content-head h1 { margin: 0 0 6px !important; color: var(--gl-navy); font-size: clamp(1.35rem, 2.4vw, 1.7rem) !important; font-weight: 800; letter-spacing: -.02em; }
body .atba-member-profile-page .amp-content-head p { margin: 0; color: var(--gl-muted); font-size: .9375rem; line-height: 1.55; }
body .atba-member-profile-page .amp-content > :first-child { margin-top: 0 !important; }

/* the membership card */
body .amp-card-dialog { width: min(94vw, 700px); }
body .amp-member-card { padding: clamp(22px, 4vw, 34px) !important; border: 1px solid rgba(255, 255, 255, .16); border-radius: 26px !important;
    background: radial-gradient(90% 120% at 100% 0%, rgba(47, 111, 219, .55) 0%, transparent 60%), radial-gradient(80% 110% at 0% 100%, rgba(18, 184, 164, .42) 0%, transparent 62%), linear-gradient(135deg, #0b1f3a 0%, #0f2a4a 55%, #0a1a31 100%) !important;
    box-shadow: 0 40px 80px -30px rgba(8, 20, 40, .75), inset 0 1px 0 rgba(255, 255, 255, .18) !important; }
body .amp-member-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 22px); }
body .amp-member-card-shine { top: 0 !important; left: -60% !important; right: auto !important; width: 45% !important; height: 100% !important; border-radius: 0 !important; background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .13) 50%, transparent 100%) !important; transform: skewX(-18deg); animation: gl-card-sheen 6s ease-in-out 1s infinite; }
@keyframes gl-card-sheen { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { body .amp-member-card-shine { animation: none; } }
body .amp-member-card-brand { justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 3.4vw, 30px) !important; padding-bottom: 0 !important; border-bottom: 0 !important; }
body .amp-member-card-brand img { height: 34px !important; width: auto; filter: none !important; }
body .amp-member-card-brand span { max-width: 190px; text-align: right; font-size: .68rem !important; font-weight: 600 !important; letter-spacing: .14em !important; line-height: 1.5; text-transform: uppercase; color: rgba(255, 255, 255, .62) !important; }
body .amp-member-card-top { grid-template-columns: 108px minmax(0, 1fr) auto !important; gap: clamp(16px, 3vw, 26px) !important; align-items: center; }
body .amp-member-card-avatar-shell { width: 108px !important; height: 108px !important; padding: 3px !important; border: 0 !important; border-radius: 26px !important; background: linear-gradient(135deg, #12b8a4, #2f6fdb) !important; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .7); overflow: hidden; }
body .amp-member-card-avatar { display: block; width: 100% !important; height: 100% !important; border: 0 !important; border-radius: 23px !important; object-fit: cover; }
body .amp-member-card-info h2 { margin: 0 0 14px !important; color: #fff !important; font-size: clamp(1.3rem, 3.2vw, 1.75rem) !important; font-weight: 800 !important; letter-spacing: -.02em; line-height: 1.15; }
body .amp-member-card-meta { display: grid !important; grid-template-columns: repeat(2, minmax(0, auto)); justify-content: start; gap: 12px 28px !important; margin: 0; padding: 0; list-style: none; }
body .amp-member-card-meta li { display: grid !important; gap: 3px; margin: 0 !important; padding: 0 !important; border: 0 !important; }
body .amp-member-card-meta li:nth-child(2) { order: 3; grid-column: 1 / -1; }
body .amp-member-card-meta span { color: rgba(255, 255, 255, .55) !important; font-size: .64rem !important; font-weight: 600 !important; letter-spacing: .14em; text-transform: uppercase; }
body .amp-member-card-meta strong { color: #fff; font-size: 1rem !important; font-weight: 700 !important; letter-spacing: .02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
body .amp-member-card-qr-box { padding: 8px !important; border-radius: 16px !important; background: #fff !important; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .7); }
body .amp-member-card-qr-box img { display: block; width: 104px; height: 104px; }
body .amp-member-card-qr-label { margin: 10px 0 0 !important; text-align: center; color: rgba(255, 255, 255, .6) !important; font-size: .62rem !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
body .amp-card-close { top: -16px !important; right: -16px !important; width: 40px !important; height: 40px !important; border: 1px solid var(--gl-edge) !important; transition: transform .25s var(--gl-ease); }
body .amp-card-close:hover { transform: rotate(90deg); }
@media (max-width: 575.98px) {
    body .amp-member-card-top { grid-template-columns: 84px minmax(0, 1fr) !important; }
    body .amp-member-card-avatar-shell { width: 84px !important; height: 84px !important; border-radius: 22px !important; }
    body .amp-member-card-avatar { border-radius: 19px !important; }
    body .amp-member-card-qr-wrap { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-top: 4px; }
    body .amp-member-card-qr-box img { width: 84px; height: 84px; }
    body .amp-member-card-qr-label { margin: 0 !important; text-align: left; }
    body .amp-member-card-brand span { max-width: 130px; font-size: .58rem !important; }
    body .amp-card-close { top: -12px !important; right: -6px !important; }
}

/* the cabinet wrapper must not be a scroll box, or the side card's "stick below the header" turns into a fixed push-down */
body .atba-member-profile-page { overflow-x: clip !important; overflow-y: visible !important; }
/* the membership card on a phone: text to the left, nothing breaks mid-number */
@media (max-width: 575.98px) {
    body .amp-member-card-info, body .amp-member-card-info h2 { text-align: left !important; }
    body .amp-member-card-meta { justify-items: start; gap: 10px 16px !important; text-align: left; }
    body .amp-member-card-meta span { font-size: .56rem !important; letter-spacing: .1em; white-space: nowrap; }
    body .amp-member-card-meta strong { font-size: .92rem !important; white-space: nowrap; overflow-wrap: normal; }
}

/* ...and once it is inside that panel it is plain text with a hairline under it */
body .atba-member-profile-page .amp-panel > .amp-content-head { margin: 0 0 20px; padding: 0 0 18px !important; border: 0; border-bottom: 1px solid var(--gl-line); border-radius: 0; background: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }

/* signed in: "Çıxış et" comes after the Profilim button */
body .lp-header .lp-right .lp-logout-btn { order: 2; }
body .lp-header .lp-right #lpToggle { order: 3; }
/* the print title dialog on the members list */
.ml-modal { position: fixed; inset: 0; z-index: 5000; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.ml-modal.is-on { opacity: 1; }
.ml-modal-back { position: absolute; inset: 0; background: rgba(15, 42, 74, .38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ml-modal-box { position: relative; width: min(100%, 460px); padding: 26px; border: 1px solid var(--gl-edge); border-radius: 22px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 40px 80px -30px rgba(15, 42, 74, .6); transform: translateY(10px) scale(.98); transition: transform .3s var(--gl-ease); }
.ml-modal.is-on .ml-modal-box { transform: none; }
.ml-modal-box h2 { margin: 0 0 6px; color: var(--gl-navy); font-size: 1.3rem !important; font-weight: 800; letter-spacing: -.02em; }
.ml-modal-box p { margin: 0 0 16px; color: var(--gl-muted); font-size: .9375rem; line-height: 1.55; }
.ml-modal-box input { width: 100%; min-height: 50px; padding: 12px 16px; font: inherit; font-size: 1rem; color: var(--gl-ink); border: 1px solid #d5dbe4; border-radius: 12px; background: #fff; outline: 0; transition: border-color .2s, box-shadow .2s; }
.ml-modal-box input:focus { border-color: var(--gl-teal); box-shadow: 0 0 0 4px rgba(12, 154, 137, .16); }
.ml-modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.ml-modal-foot .ml-btn { min-height: 46px; padding: 0 20px; font-weight: 600; cursor: pointer; }
body .ml-modal-foot .ml-modal-ok { background: var(--gl-navy) !important; border-color: var(--gl-navy) !important; color: #fff !important; }
