/* Atlas — login, registration, password reset & user dashboard.
   Every colour / size comes from CSS variables set in Atlas → Login & Registration → Design. */

.atlas-auth, .atlas-dash {
    --atl-primary: #5b21b6; --atl-primary-text: #fff; --atl-bg: #f4f3fb; --atl-card: #fff;
    --atl-text: #1f1d2e; --atl-muted: #6b6880; --atl-input-bg: #fff; --atl-border: #dedbea;
    --atl-radius: 12px; --atl-width: 440px; --atl-logo-w: 140px; --atl-font: inherit;
    --atl-shadow: 0 10px 40px rgba(20,16,50,.08), 0 2px 6px rgba(20,16,50,.05);
    --atl-bg-image: none;
    --atl-ok: #047857; --atl-ok-bg: #ecfdf5; --atl-warn: #92400e; --atl-warn-bg: #fffbeb; --atl-err: #b91c1c; --atl-err-bg: #fef2f2;
    font-family: var(--atl-font);
    color: var(--atl-text);
    box-sizing: border-box;
}
.atlas-auth *, .atlas-auth *::before, .atlas-auth *::after,
.atlas-dash *, .atlas-dash *::before, .atlas-dash *::after { box-sizing: border-box; }
.atlas-auth [hidden], .atlas-dash [hidden] { display: none !important; }

/* ---------- Page / layout ---------- */
.atlas-auth {
    display: flex; align-items: center; justify-content: center;
    min-height: 70vh; padding: 48px 16px;
    background-color: var(--atl-bg);
    background-image: var(--atl-bg-image);
    background-size: cover; background-position: center;
    border-radius: calc(var(--atl-radius) + 6px);
    margin: 0 auto;
}
body.atlas-canvas { margin: 0; background: #fff; }
.atlas-canvas-main .atlas-auth { min-height: 100vh; border-radius: 0; }
.atlas-auth-main { width: 100%; max-width: var(--atl-width); }
.atlas-auth-card {
    background: var(--atl-card);
    border-radius: calc(var(--atl-radius) + 6px);
    box-shadow: var(--atl-shadow);
    padding: 36px 32px 28px;
}
.atlas-layout-plain { background: transparent; background-image: none; padding: 24px 0; min-height: 0; }
.atlas-layout-plain .atlas-auth-card { background: transparent; box-shadow: none; padding: 0; }

.atlas-layout-split { padding: 0; align-items: stretch; overflow: hidden; background-image: none; min-height: 640px; }
.atlas-layout-split .atlas-auth-side {
    flex: 1 1 50%; position: relative; display: flex; align-items: flex-end;
    background: var(--atl-primary) center/cover no-repeat; color: #fff; padding: 40px; min-height: 100%;
}
.atlas-layout-split .atlas-auth-side::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55)); }
.atlas-layout-split .atlas-auth-side-inner { position: relative; font-size: 22px; font-weight: 600; line-height: 1.35; max-width: 420px; }
.atlas-layout-split .atlas-auth-main { flex: 1 1 50%; max-width: none; display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--atl-bg); }
.atlas-layout-split .atlas-auth-card { width: 100%; max-width: var(--atl-width); }
@media (max-width: 820px) {
    .atlas-layout-split { flex-direction: column; min-height: 0; }
    .atlas-layout-split .atlas-auth-side { min-height: 160px; padding: 24px; }
    .atlas-layout-split .atlas-auth-side-inner { font-size: 17px; }
}

/* ---------- Header ---------- */
.atlas-auth-logo { display: block; text-align: center; margin: 0 auto 22px; text-decoration: none !important; }
.atlas-auth-logo img { width: var(--atl-logo-w); max-width: 100%; height: auto; display: inline-block; }
.atlas-auth-brand { font-size: 20px; font-weight: 700; color: var(--atl-text); letter-spacing: .2px; }
.atlas-auth-title { font-size: 24px; line-height: 1.25; font-weight: 700; margin: 0 0 6px; text-align: center; color: var(--atl-text); }
.atlas-auth-sub { margin: 0 0 22px; text-align: center; color: var(--atl-muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- Tabs ---------- */
.atlas-auth-tabs { display: flex; background: color-mix(in srgb, var(--atl-border) 45%, transparent); border-radius: var(--atl-radius); padding: 4px; margin: 0 0 20px; gap: 4px; }
.atlas-auth-tabs button {
    flex: 1; border: 0; background: transparent; padding: 9px 10px; font: inherit; font-size: 14px; font-weight: 600;
    color: var(--atl-muted); border-radius: calc(var(--atl-radius) - 3px); cursor: pointer; transition: background .15s, color .15s;
}
.atlas-auth-tabs button.is-active { background: var(--atl-card); color: var(--atl-text); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

/* ---------- Fields ---------- */
.atlas-grid { display: flex; flex-wrap: wrap; gap: 0 12px; }
.atlas-w-full { flex: 1 1 100%; }
.atlas-w-half { flex: 1 1 calc(50% - 6px); min-width: 140px; }
.atlas-f { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.atlas-f > label, .atlas-f legend, .atlas-f-row label { display: block; font-size: 13.5px; font-weight: 600; margin: 0 0 6px; color: var(--atl-text); padding: 0; }
.atlas-f-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.atlas-req { color: var(--atl-err); }
.atlas-auth input[type=text], .atlas-auth input[type=email], .atlas-auth input[type=password], .atlas-auth input[type=tel],
.atlas-auth input[type=number], .atlas-auth input[type=url], .atlas-auth input[type=date], .atlas-auth select, .atlas-auth textarea,
.atlas-dash input[type=text], .atlas-dash input[type=email], .atlas-dash input[type=password], .atlas-dash input[type=tel],
.atlas-dash input[type=number], .atlas-dash input[type=url], .atlas-dash input[type=date], .atlas-dash select, .atlas-dash textarea {
    display: block; width: 100%; margin: 0; font: inherit; font-size: 15px; line-height: 1.4; color: var(--atl-text);
    background: var(--atl-input-bg); border: 1.5px solid var(--atl-border); border-radius: var(--atl-radius);
    padding: 11px 14px; min-height: 46px; box-shadow: none; outline: none; transition: border-color .15s, box-shadow .15s;
}
.atlas-auth input:focus, .atlas-auth select:focus, .atlas-auth textarea:focus,
.atlas-dash input:focus, .atlas-dash select:focus, .atlas-dash textarea:focus {
    border-color: var(--atl-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--atl-primary) 18%, transparent);
}
.atlas-auth input[readonly], .atlas-dash input[readonly] { opacity: .75; cursor: not-allowed; }
.atlas-f.has-error input, .atlas-f.has-error select, .atlas-f.has-error textarea { border-color: var(--atl-err); }
.atlas-ferr { color: var(--atl-err); font-size: 12.5px; margin-top: 5px; }
.atlas-hint { color: var(--atl-muted); font-size: 12.5px; margin: 6px 0 0; }

.atlas-pass-wrap { position: relative; }
.atlas-pass-wrap input { padding-right: 64px !important; }
.atlas-pass-toggle {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent;
    color: var(--atl-muted); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; padding: 6px 8px; border-radius: 6px;
}
.atlas-pass-toggle:hover { color: var(--atl-primary); }
.atlas-strength { height: 4px; border-radius: 4px; background: var(--atl-border); margin-top: 8px; overflow: hidden; }
.atlas-strength span { display: block; height: 100%; width: 0; background: var(--atl-err); transition: width .2s, background .2s; }

.atlas-check { display: flex !important; gap: 9px; align-items: flex-start; font-size: 14px; font-weight: 500 !important; color: var(--atl-text); margin: 0 0 16px; cursor: pointer; line-height: 1.45; }
.atlas-check input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--atl-primary); flex: none; }
.atlas-radios { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.atlas-radios .atlas-check { margin-bottom: 6px; }

/* OTP */
.atlas-otp-input {
    text-align: center; font-size: 26px !important; letter-spacing: .5em; font-weight: 700 !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; padding-left: calc(14px + .5em) !important;
}
.atlas-otp-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--atl-muted); flex-wrap: wrap; }
.atlas-step-text { color: var(--atl-muted); text-align: center; margin: -8px 0 18px; font-size: 14px; }

/* ---------- Buttons & links ---------- */
.atlas-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
    background: var(--atl-primary); color: var(--atl-primary-text) !important; border: 0; border-radius: var(--atl-radius);
    padding: 13px 20px; min-height: 48px; font: inherit; font-size: 15.5px; font-weight: 600; cursor: pointer;
    text-decoration: none !important; transition: filter .15s, transform .05s, opacity .15s; text-align: center; line-height: 1.2;
}
.atlas-btn:hover { filter: brightness(1.08); }
.atlas-btn:active { transform: translateY(1px); }
.atlas-btn:disabled, .atlas-btn.is-loading, .atlas-btn.is-disabled { opacity: .6; cursor: not-allowed; filter: none; }
.atlas-btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: atlas-spin .7s linear infinite; }
@keyframes atlas-spin { to { transform: rotate(360deg); } }
.atlas-btn-inline { display: inline-flex; width: auto; }
.atlas-btn-ghost { background: transparent; color: var(--atl-primary) !important; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--atl-primary) 35%, transparent); }
.atlas-btn-ghost:hover { background: color-mix(in srgb, var(--atl-primary) 7%, transparent); filter: none; }
.atlas-btn-sm { display: inline-flex; width: auto; min-height: 36px; padding: 8px 14px; font-size: 13.5px; }

.atlas-link { background: none; border: 0; padding: 0; font: inherit; color: var(--atl-primary); cursor: pointer; text-decoration: none; font-weight: 600; }
.atlas-link:hover { text-decoration: underline; }
.atlas-link:disabled { color: var(--atl-muted); cursor: default; text-decoration: none; font-weight: 500; }
.atlas-small { font-size: 13px; }
.atlas-back { display: block; margin: 14px auto 0; font-size: 13.5px; }
.atlas-auth-alt { text-align: center; margin: 20px 0 0; font-size: 14px; color: var(--atl-muted); }
.atlas-auth-alt a, .atlas-auth-foot a { color: var(--atl-primary); font-weight: 600; text-decoration: none; }
.atlas-auth-foot { margin-top: 16px; font-size: 13px; color: var(--atl-muted); text-align: center; }

/* ---------- Messages ---------- */
.atlas-msg, .atlas-alert { border-radius: calc(var(--atl-radius) - 2px); padding: 11px 14px; font-size: 14px; line-height: 1.5; margin: 0 0 14px; background: var(--atl-err-bg); color: var(--atl-err); }
.atlas-msg.is-ok, .atlas-alert-ok { background: var(--atl-ok-bg); color: var(--atl-ok); }
.atlas-msg.is-info { background: color-mix(in srgb, var(--atl-primary) 8%, #fff); color: var(--atl-text); }
.atlas-alert { background: var(--atl-warn-bg); color: var(--atl-warn); }
.atlas-alert-ok { background: var(--atl-ok-bg); color: var(--atl-ok); }

@media (max-width: 480px) {
    .atlas-auth { padding: 20px 12px; border-radius: 0; }
    .atlas-auth-card { padding: 28px 20px 22px; }
    .atlas-w-half { flex-basis: 100%; }
}

/* =================================================================
   User dashboard
   ================================================================= */
.atlas-dash { max-width: 1080px; margin: 0 auto; padding: 8px 0 40px; }
.atlas-dash-head {
    display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
    background: var(--atl-card); border-radius: calc(var(--atl-radius) + 6px); box-shadow: var(--atl-shadow);
    padding: 24px 26px; margin-bottom: 18px;
    border-top: 4px solid var(--atl-primary);
}
.atlas-dash-id { display: flex; gap: 16px; align-items: center; min-width: 0; }
.atlas-avatar {
    width: 54px; height: 54px; border-radius: 50%; flex: none; display: grid; place-items: center;
    background: color-mix(in srgb, var(--atl-primary) 12%, #fff); color: var(--atl-primary); font-weight: 700; font-size: 18px;
}
.atlas-dash-title { margin: 0; font-size: 22px; line-height: 1.25; color: var(--atl-text); }
.atlas-dash-sub { margin: 4px 0 0; color: var(--atl-muted); font-size: 14px; }
.atlas-dash-stats { display: flex; gap: 10px; }
.atlas-dash-stats > div { background: var(--atl-bg); border-radius: var(--atl-radius); padding: 10px 18px; text-align: center; min-width: 92px; }
.atlas-dash-stats strong { display: block; font-size: 22px; color: var(--atl-text); line-height: 1.1; }
.atlas-dash-stats span { font-size: 12px; color: var(--atl-muted); text-transform: uppercase; letter-spacing: .06em; }

.atlas-dash-tabs { display: flex; gap: 4px; border-bottom: 1.5px solid var(--atl-border); margin: 0 0 22px; overflow-x: auto; scrollbar-width: none; }
.atlas-dash-tabs a {
    padding: 11px 16px; font-weight: 600; font-size: 14.5px; color: var(--atl-muted); text-decoration: none !important;
    border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; white-space: nowrap;
}
.atlas-dash-tabs a.is-active { color: var(--atl-primary); border-bottom-color: var(--atl-primary); }
.atlas-dash-tabs a:hover { color: var(--atl-text); }
.atlas-dash-tabs .atlas-dash-logout { margin-left: auto; }

.atlas-dash-section { margin-bottom: 30px; }
.atlas-dash-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.atlas-dash-section-head h2, .atlas-dash-h2 { font-size: 18px; margin: 0; color: var(--atl-text); }
.atlas-count { display: inline-block; font-size: 12px; font-weight: 700; background: var(--atl-bg); color: var(--atl-muted); padding: 2px 9px; border-radius: 99px; vertical-align: middle; margin-left: 4px; }

.atlas-wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.atlas-wcard {
    background: var(--atl-card); border-radius: calc(var(--atl-radius) + 4px); overflow: hidden;
    box-shadow: 0 1px 2px rgba(20,16,50,.06), 0 0 0 1px color-mix(in srgb, var(--atl-border) 70%, transparent);
    display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s;
}
.atlas-wcard:hover { box-shadow: var(--atl-shadow); transform: translateY(-1px); }
.atlas-wcard.is-past { opacity: .82; }
.atlas-wcard-img {
    display: block; position: relative; aspect-ratio: 16/7; background: linear-gradient(135deg, var(--atl-primary), color-mix(in srgb, var(--atl-primary) 55%, #000)) center/cover no-repeat;
}
.atlas-chip { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.92); color: #222; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .04em; }
.atlas-wcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.atlas-wcard-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.atlas-wcard-title { font-size: 16.5px; line-height: 1.35; margin: 0; }
.atlas-wcard-title a { color: var(--atl-text); text-decoration: none; }
.atlas-wcard-title a:hover { color: var(--atl-primary); }
.atlas-wcard-date { margin: 0; color: var(--atl-muted); font-size: 13.5px; }
.atlas-wcard-meta { display: flex; gap: 18px; margin: 4px 0 2px; font-size: 13px; }
.atlas-wcard-meta dt { color: var(--atl-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.atlas-wcard-meta dd { margin: 0; font-weight: 600; }
.atlas-wcard-meta code { font-size: 12.5px; background: none; padding: 0; color: var(--atl-text); }
.atlas-wcard-note { font-size: 13px; color: var(--atl-warn); background: var(--atl-warn-bg); padding: 8px 10px; border-radius: 8px; margin: 2px 0 0; }
.atlas-wcard-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }

.atlas-badge { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .04em; }
.atlas-badge-ok { background: var(--atl-ok-bg); color: var(--atl-ok); }
.atlas-badge-warn { background: var(--atl-warn-bg); color: var(--atl-warn); }
.atlas-badge-muted { background: var(--atl-bg); color: var(--atl-muted); }
.atlas-when { font-size: 12.5px; color: var(--atl-muted); font-weight: 600; }
.atlas-when-soon { color: var(--atl-primary); }
.atlas-when-live { color: #dc2626; }

.atlas-dash-empty { text-align: center; padding: 40px 20px; background: var(--atl-card); border-radius: calc(var(--atl-radius) + 4px); border: 1.5px dashed var(--atl-border); color: var(--atl-muted); }
.atlas-dash-empty h3 { margin: 0 0 14px; color: var(--atl-text); }
.atlas-dash-empty p { margin: 0 0 14px; }
.atlas-dash-guest .atlas-btn-inline { margin: 4px; }
.atlas-dash-form, .atlas-dash-narrow { max-width: 620px; }
.atlas-dash-narrow .atlas-auth-form { margin-top: 18px; max-width: 440px; }

@media (max-width: 600px) {
    .atlas-dash-head { padding: 18px; }
    .atlas-dash-stats { width: 100%; }
    .atlas-dash-stats > div { flex: 1; }
    .atlas-wgrid { grid-template-columns: 1fr; }
    .atlas-dash-tabs { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); }
    .atlas-dash-tabs::-webkit-scrollbar { display: none; }
    .atlas-dash-tabs a { padding: 10px 12px; flex: none; scroll-snap-align: start; }
    .atlas-dash-tabs .atlas-dash-logout { margin-left: 8px; }
}

/* Admin live preview */
.atlas-auth-preview { min-height: 0; padding: 28px 16px; }

/* =================================================================
   v5.6 — two-column "showcase" layout (form left, learning panel right)
   ================================================================= */
.atlas-auth.atlas-layout-showcase {
    display: flex; align-items: stretch; justify-content: stretch; min-height: 100vh; padding: 0; margin: 0;
    border-radius: 0; background: #fff; background-image: none;
}
.atlas-sc-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; padding: 26px clamp(20px, 4vw, 52px) 22px; }
.atlas-sc-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.atlas-layout-showcase .atlas-auth-logo { margin: 0; text-align: left; }
.atlas-layout-showcase .atlas-auth-logo img { width: auto; max-height: 40px; max-width: var(--atl-logo-w); }
.atlas-sc-switch { margin: 0; font-size: 14.5px; color: var(--atl-muted); }
.atlas-sc-switch a { color: var(--atl-text) !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; }
.atlas-sc-switch a:hover { color: var(--atl-primary) !important; }
.atlas-sc-center { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 0; }
.atlas-layout-showcase .atlas-auth-card { width: 100%; max-width: 400px; background: transparent; box-shadow: none; padding: 0; border-radius: 0; }
.atlas-layout-showcase .atlas-auth-title { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.atlas-layout-showcase .atlas-auth-sub { margin-bottom: 26px; }
.atlas-sc-foot { font-size: 13px; color: var(--atl-muted); text-align: center; }
.atlas-sc-foot a { color: var(--atl-muted) !important; text-decoration: underline !important; }
@media (min-width: 961px) { .atlas-layout-showcase .atlas-auth-alt { display: none; } }

.atlas-sc-side {
    flex: 0 0 clamp(360px, 33vw, 520px); position: relative; overflow: hidden; color: #fff;
    background-color: var(--atl-panel);
    display: flex; flex-direction: column; justify-content: center; padding: 72px clamp(32px, 3.4vw, 56px) 56px;
}
.atlas-sc-side::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 32px 32px;
    -webkit-mask-image: linear-gradient(160deg, #000 0%, transparent 55%); mask-image: linear-gradient(160deg, #000 0%, transparent 55%);
}
.atlas-sc-side::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--atl-primary); }
.atlas-sc-slides { position: relative; display: grid; }
.atlas-sc-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease, visibility 0s .45s; }
.atlas-sc-slide.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease; }
.atlas-sc-kicker { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); }
.atlas-sc-title { margin: 0 0 14px; font-size: clamp(24px, 1.2rem + 1vw, 32px); line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; color: #fff; }
.atlas-sc-text { margin: 0 0 8px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.82); max-width: 40ch; }
.atlas-sc-meta { margin: 0 0 8px; font-size: 14px; color: rgba(255,255,255,.62); }
.atlas-auth .atlas-sc-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; font-size: 15px; color: #fff !important; text-decoration: none !important; }
.atlas-auth .atlas-sc-link::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
.atlas-auth .atlas-sc-link:hover { color: #fff !important; text-decoration: underline !important; }
.atlas-sc-kicker span { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.atlas-sc-date { margin: -4px 0 12px; font-size: 15px; font-weight: 700; color: #fff; }
.atlas-sc-post .atlas-sc-kicker span { background: rgba(255,255,255,.95); color: var(--atl-ink, #051151); border-color: transparent; }
.atlas-sc-price { margin: 6px 0 12px; color: #fff; }
.atlas-sc-price strong { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.atlas-sc-price span { font-size: 15px; color: rgba(255,255,255,.7); }
.atlas-sc-benefits { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.atlas-sc-benefits li { position: relative; padding-left: 28px; font-size: 15px; color: rgba(255,255,255,.88); }
.atlas-sc-benefits li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: rgba(52,211,153,.2); }
.atlas-sc-benefits li::after { content: ""; position: absolute; left: 6px; top: 6px; width: 6px; height: 9px; border-right: 2px solid #34d399; border-bottom: 2px solid #34d399; transform: rotate(45deg); }
.atlas-sc-badge { display: inline-block; margin: 0 0 14px; padding: 8px 16px; border-radius: 12px; background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -0.01em; box-shadow: 0 14px 30px -12px rgba(249,115,22,.7); transform: rotate(-2deg); }
.atlas-sc-coupon { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 8px 0 6px; font-size: 14px; color: rgba(255,255,255,.75); }
.atlas-sc-coupon code { padding: 7px 14px; border: 2px dashed rgba(255,255,255,.55); border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 16px; font-weight: 700; letter-spacing: .08em; }
.atlas-sc-coupon em { font-style: normal; font-size: 13px; color: #fcd34d; font-weight: 600; }
.atlas-sc-media { margin-top: 30px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 24px 48px -20px rgba(0,0,0,.6); background: rgba(255,255,255,.04); }
.atlas-sc-media img { display: block; width: 100%; height: auto; }
.atlas-sc-dots { position: relative; display: flex; gap: 8px; margin-top: 36px; }
.atlas-auth .atlas-sc-dots button {
    width: 34px; height: 4px; padding: 0 !important; border: 0 !important; border-radius: 4px !important; cursor: pointer;
    background: rgba(255,255,255,.28) !important; min-height: 0; transition: background-color .2s, width .2s;
}
.atlas-auth .atlas-sc-dots button.is-on { background: #fff !important; width: 48px; }
.atlas-auth .atlas-sc-dots button:hover { background: rgba(255,255,255,.6) !important; }
@media (max-width: 960px) {
    .atlas-sc-side { display: none; }
    .atlas-sc-center { align-items: flex-start; padding-top: 32px; }
}
@media (max-width: 480px) {
    .atlas-sc-main { padding: 18px 18px 16px; }
    .atlas-sc-switch { font-size: 13.5px; }
    .atlas-layout-showcase .atlas-auth-title { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .atlas-sc-slide, .atlas-sc-slide.is-on { transition: none; transform: none; } }

/* =================================================================
   Theme neutralisers (Hello Elementor / Elementor kit button & link styles)
   ================================================================= */
.atlas-auth a, .atlas-dash a { text-decoration: none; }
.atlas-auth .atlas-btn, .atlas-dash .atlas-btn, .atlas-auth button.atlas-btn, .atlas-dash button.atlas-btn {
    background: var(--atl-primary) !important; color: var(--atl-primary-text) !important; border: 0 !important;
    border-radius: var(--atl-radius) !important; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important;
    font-family: inherit !important;
}
.atlas-auth .atlas-btn:hover, .atlas-auth .atlas-btn:focus, .atlas-dash .atlas-btn:hover, .atlas-dash .atlas-btn:focus {
    background: var(--atl-primary-dark, var(--atl-primary)) !important; color: var(--atl-primary-text) !important; filter: none;
}
.atlas-auth .atlas-btn-ghost, .atlas-dash .atlas-btn-ghost { background: transparent !important; color: var(--atl-primary) !important; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--atl-primary) 35%, transparent) !important; }
.atlas-auth .atlas-btn-ghost:hover, .atlas-dash .atlas-btn-ghost:hover { background: color-mix(in srgb, var(--atl-primary) 8%, #fff) !important; color: var(--atl-primary-dark, var(--atl-primary)) !important; }
.atlas-dash .atlas-btn.is-disabled, .atlas-dash .atlas-btn.is-disabled:hover { background: var(--atl-bg) !important; color: var(--atl-muted) !important; }
.atlas-auth .atlas-auth-tabs button { background: transparent !important; color: var(--atl-muted) !important; border: 0 !important; box-shadow: none !important; text-transform: none !important; font-family: inherit !important; }
.atlas-auth .atlas-auth-tabs button.is-active { background: var(--atl-card) !important; color: var(--atl-text) !important; box-shadow: 0 1px 3px rgba(0,0,0,.08) !important; }
.atlas-auth .atlas-auth-tabs button:hover { color: var(--atl-text) !important; }
.atlas-auth .atlas-pass-toggle, .atlas-dash .atlas-pass-toggle { background: transparent !important; border: 0 !important; color: var(--atl-muted) !important; box-shadow: none !important; padding: 6px 8px !important; font-family: inherit !important; }
.atlas-auth .atlas-pass-toggle:hover, .atlas-dash .atlas-pass-toggle:hover { color: var(--atl-primary) !important; background: transparent !important; }
.atlas-auth .atlas-link, .atlas-dash .atlas-link, .atlas-auth a.atlas-link, .atlas-dash a.atlas-link { background: none !important; border: 0 !important; padding: 0 !important; color: var(--atl-primary) !important; box-shadow: none !important; font-family: inherit !important; }
.atlas-auth .atlas-link:hover, .atlas-dash .atlas-link:hover { color: var(--atl-primary-dark, var(--atl-primary)) !important; background: none !important; }
.atlas-auth .atlas-link:disabled { color: var(--atl-muted) !important; }
.atlas-auth .atlas-auth-alt a, .atlas-auth .atlas-auth-foot a { color: var(--atl-primary) !important; }
.atlas-auth .atlas-auth-alt a:hover { color: var(--atl-primary-dark, var(--atl-primary)) !important; text-decoration: underline !important; }
.atlas-dash .atlas-dash-tabs a { color: var(--atl-muted) !important; }
.atlas-dash .atlas-dash-tabs a.is-active, .atlas-dash .atlas-dash-tabs a:hover { color: var(--atl-primary) !important; }
.atlas-dash .atlas-wcard-title a { color: var(--atl-text) !important; }
.atlas-dash .atlas-wcard-title a:hover { color: var(--atl-primary) !important; }
.atlas-auth input, .atlas-auth select, .atlas-auth textarea, .atlas-dash input, .atlas-dash select, .atlas-dash textarea { font-family: inherit !important; }
.atlas-auth input[type=text]:focus, .atlas-auth input[type=email]:focus, .atlas-auth input[type=password]:focus, .atlas-auth input[type=tel]:focus { border-color: var(--atl-primary) !important; }
.atlas-auth button, .atlas-dash button, .atlas-auth [type=submit], .atlas-dash [type=submit] {
    text-transform: none !important; letter-spacing: normal !important; font-family: inherit !important; white-space: normal; text-shadow: none !important;
}
.atlas-auth .atlas-btn, .atlas-dash .atlas-btn { font-weight: 600 !important; font-size: 15.5px !important; line-height: 1.2 !important; padding: 13px 20px !important; }
.atlas-dash .atlas-btn-sm { font-size: 13.5px !important; padding: 8px 14px !important; }
.atlas-auth .atlas-auth-tabs button { font-size: 14px !important; font-weight: 600 !important; padding: 9px 10px !important; }
.atlas-auth .atlas-pass-toggle { font-size: 12.5px !important; font-weight: 600 !important; }
.atlas-auth label, .atlas-dash label { line-height: 1.4; vertical-align: baseline; }
@media (min-width: 961px) {
    .atlas-sc-side { align-self: flex-start; position: sticky; top: 0; height: 100vh; min-height: 560px; }
    .admin-bar .atlas-sc-side { top: 32px; height: calc(100vh - 32px); }
}

/* =================================================================
   v5.7 — card form inside the two-column page, and theme leak fixes
   ================================================================= */
.atlas-auth.atlas-layout-showcase { background: var(--atl-bg); }
.atlas-layout-showcase .atlas-sc-main { background: var(--atl-bg); }
.atlas-layout-showcase .atlas-auth-card {
    max-width: var(--atl-width); background: var(--atl-card); border-radius: calc(var(--atl-radius) + 8px);
    box-shadow: 0 1px 2px rgba(5,17,81,.06), 0 18px 48px -18px rgba(5,17,81,.22); padding: 36px 32px 30px;
    border: 1px solid color-mix(in srgb, var(--atl-text) 8%, transparent);
}
.atlas-layout-showcase .atlas-auth-logo { text-align: center; margin: 0 auto 22px; display: block; }
.atlas-layout-showcase .atlas-auth-logo img { max-height: 46px; width: auto; max-width: var(--atl-logo-w); display: inline-block; }
.atlas-layout-showcase .atlas-auth-title { font-size: 26px; }
.atlas-auth .atlas-sc-home { font-size: 14px; font-weight: 600; color: var(--atl-muted) !important; }
.atlas-auth .atlas-sc-home::before { content: ""; display: inline-block; width: 7px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-right: 8px; vertical-align: 1px; }
.atlas-auth .atlas-sc-home:hover { color: var(--atl-primary) !important; }
@media (max-width: 480px) { .atlas-layout-showcase .atlas-auth-card { padding: 26px 18px 22px; } .atlas-sc-home { display: none; } }

/* Theme leaks (Hello Elementor / kit): label spacing, input margins, link colours */
.atlas-auth .atlas-f > label, .atlas-auth .atlas-f-row label, .atlas-dash .atlas-f > label, .atlas-auth .atlas-f legend {
    display: block !important; line-height: 1.35 !important; margin: 0 0 7px !important; vertical-align: baseline;
}
.atlas-auth .atlas-f-row { margin: 0 0 7px; }
.atlas-auth .atlas-f-row label { margin: 0 !important; }
.atlas-auth input, .atlas-auth select, .atlas-auth textarea, .atlas-dash input, .atlas-dash select, .atlas-dash textarea { margin: 0 !important; }
.atlas-auth .atlas-f { margin: 0 0 16px !important; }
.atlas-auth .atlas-check { margin: 0 0 18px !important; line-height: 1.45 !important; }
.atlas-auth .atlas-check input { width: 17px !important; height: 17px !important; min-height: 0 !important; padding: 0 !important; }
.atlas-auth .atlas-check a, .atlas-auth .atlas-auth-sub a, .atlas-auth .atlas-msg a { color: var(--atl-primary) !important; font-weight: 600; text-decoration: underline !important; }
.atlas-auth .atlas-check a:hover { color: var(--atl-primary-dark) !important; }
.atlas-auth .atlas-btn { margin: 4px 0 0 !important; min-height: 50px; }
.atlas-auth .atlas-auth-title { color: var(--atl-text) !important; }
.atlas-auth input[type=text], .atlas-auth input[type=email], .atlas-auth input[type=password], .atlas-auth input[type=tel], .atlas-auth input[type=number], .atlas-auth input[type=url], .atlas-auth input[type=date], .atlas-auth select {
    border: 1.5px solid var(--atl-border) !important; border-radius: var(--atl-radius) !important; padding: 11px 14px !important; min-height: 48px; background: var(--atl-input-bg) !important; color: var(--atl-text) !important; box-shadow: none !important; font-size: 15px !important;
}
.atlas-auth .atlas-pass-wrap input { padding-right: 64px !important; }

/* Dashboard: navy header band, crisper text */
.atlas-dash .atlas-dash-head { background: var(--atl-panel, var(--atl-text)); color: #fff; border-top: 0; box-shadow: 0 18px 40px -22px rgba(5,17,81,.45); }
.atlas-dash .atlas-dash-title { color: #fff !important; }
.atlas-dash .atlas-dash-sub { color: rgba(255,255,255,.78); }
.atlas-dash .atlas-dash-head .atlas-avatar { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); }
.atlas-dash .atlas-dash-stats > div { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.atlas-dash .atlas-dash-stats strong { color: #fff; }
.atlas-dash .atlas-dash-stats span { color: rgba(255,255,255,.7); }
.atlas-dash .atlas-dash-section-head h2, .atlas-dash .atlas-dash-h2 { color: var(--atl-text) !important; }
.atlas-dash .atlas-dash-empty { color: var(--atl-muted); border-color: color-mix(in srgb, var(--atl-text) 18%, transparent); }
.atlas-dash .atlas-dash-empty p { color: var(--atl-text); font-size: 15.5px; }
.atlas-dash .atlas-dash-tabs a.is-active { border-bottom-color: var(--atl-primary) !important; }
.atlas-dash .atlas-link { font-weight: 700; }

/* =================================================================
   v5.8 — support tickets (dashboard tab and [atlas_support])
   ================================================================= */
.atlas-support { max-width: 860px; }
.atlas-sup-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.atlas-sup-form { background: var(--atl-card); border: 1px solid var(--atl-border); border-radius: calc(var(--atl-radius) + 4px); padding: 20px; margin-bottom: 22px; }
.atlas-dash textarea { width: 100%; min-height: 110px; border: 1.5px solid var(--atl-border) !important; border-radius: var(--atl-radius) !important; padding: 11px 14px !important; font-size: 15px !important; color: var(--atl-text) !important; background: #fff !important; }
.atlas-sup-list { display: grid; gap: 8px; }
.atlas-dash a.atlas-sup-row { display: grid; grid-template-columns: 110px 1fr auto 130px; gap: 14px; align-items: center; padding: 14px 16px; background: var(--atl-card); border: 1px solid var(--atl-border); border-radius: var(--atl-radius); color: var(--atl-text) !important; }
.atlas-dash a.atlas-sup-row:hover { border-color: var(--atl-primary); }
.atlas-sup-num { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; font-weight: 700; color: var(--atl-muted); }
.atlas-sup-subj { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.atlas-sup-date { font-size: 13px; color: var(--atl-muted); text-align: right; }
@media (max-width: 640px) { .atlas-dash a.atlas-sup-row { grid-template-columns: 1fr auto; } .atlas-sup-num, .atlas-sup-date { display: none; } }
.atlas-sup-lookup { margin-top: 18px; }
.atlas-sup-lookup summary { cursor: pointer; font-weight: 600; color: var(--atl-primary); }
.atlas-sup-lookup form { margin-top: 12px; max-width: 420px; }
.atlas-sup-thead { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin: 10px 0 18px; }
.atlas-sup-thead .atlas-dash-h2 { margin-top: 4px; }
.atlas-sup-msgs { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.atlas-sup-msg { padding: 14px 16px; border-radius: calc(var(--atl-radius) + 2px); border: 1px solid var(--atl-border); background: var(--atl-card); max-width: 88%; }
.atlas-sup-msg.is-user { justify-self: end; background: var(--atl-primary-soft, #f3f2fb); border-color: transparent; }
.atlas-sup-msg.is-staff { justify-self: start; border-left: 3px solid var(--atl-primary); }
.atlas-sup-msg.is-system { justify-self: center; background: transparent; border-style: dashed; font-size: 13px; color: var(--atl-muted); max-width: 100%; }
.atlas-sup-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--atl-muted); margin-bottom: 6px; }
.atlas-sup-meta strong { color: var(--atl-text); }
.atlas-sup-body { font-size: 15px; line-height: 1.6; color: var(--atl-text); word-wrap: break-word; }
.atlas-sup-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.atlas-sup-wa { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 18px; padding: 12px 16px; border: 1px solid #c8ead6; background: #effaf3; border-radius: 12px; font-size: 14.5px; color: #0d4f2c; }
.atlas-auth .atlas-sup-wa-btn, .atlas-sup-wa-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; background: #128c4a !important; color: #fff !important; font-weight: 700; text-decoration: none !important; }
.atlas-sup-wa-btn:hover { background: #0d6f3a !important; color: #fff !important; }

/* =================================================================
   v5.9 — learning panel: tinted card per slide type, gradient + geometry
   ================================================================= */
.atlas-sc-side { background: linear-gradient(160deg, var(--atl-panel) 0%, color-mix(in srgb, var(--atl-panel) 70%, #000) 100%); isolation: isolate; }
.atlas-sc-side::before { z-index: -1; opacity: .7; }
.atlas-sc-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.atlas-sc-bg i { position: absolute; inset: -20%; opacity: 0; transition: opacity .8s ease; }
.atlas-sc-bg .g-event      { background: radial-gradient(42% 38% at 82% 14%, rgba(56,189,248,.34), transparent 70%), radial-gradient(40% 36% at 10% 92%, rgba(99,102,241,.30), transparent 70%); }
.atlas-sc-bg .g-post       { background: radial-gradient(42% 38% at 82% 14%, rgba(167,139,250,.34), transparent 70%), radial-gradient(40% 36% at 10% 92%, rgba(236,72,153,.20), transparent 70%); }
.atlas-sc-bg .g-membership { background: radial-gradient(42% 38% at 82% 14%, rgba(52,211,153,.30), transparent 70%), radial-gradient(40% 36% at 10% 92%, rgba(20,184,166,.24), transparent 70%); }
.atlas-sc-bg .g-offer      { background: radial-gradient(42% 38% at 82% 14%, rgba(251,191,36,.30), transparent 70%), radial-gradient(40% 36% at 10% 92%, rgba(249,115,22,.24), transparent 70%); }
.atlas-sc-bg .g-custom     { background: radial-gradient(42% 38% at 82% 14%, rgba(129,140,248,.32), transparent 70%), radial-gradient(40% 36% at 10% 92%, rgba(56,189,248,.18), transparent 70%); }
.atlas-sc-side[data-kind="event"] .g-event, .atlas-sc-side[data-kind="post"] .g-post, .atlas-sc-side[data-kind="membership"] .g-membership,
.atlas-sc-side[data-kind="offer"] .g-offer, .atlas-sc-side[data-kind="custom"] .g-custom { opacity: 1; }
.atlas-sc-geo { position: absolute; right: -40px; top: -30px; width: 420px; height: 420px; color: rgba(255,255,255,.09); }

.atlas-sc-slide { --acc: #818cf8; --acc-ink: #0b1440; }
.atlas-sc-event { --acc: #38bdf8; }
.atlas-sc-post { --acc: #a78bfa; }
.atlas-sc-membership { --acc: #34d399; }
.atlas-sc-offer { --acc: #fbbf24; }
.atlas-sc-card {
    position: relative; padding: 24px 24px 22px; border-radius: 20px;
    background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
    border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.atlas-sc-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 3px; border-radius: 0 0 4px 4px; background: var(--acc); }
.atlas-sc-kicker span { background: color-mix(in srgb, var(--acc) 22%, transparent); border-color: color-mix(in srgb, var(--acc) 45%, transparent); color: color-mix(in srgb, var(--acc) 35%, #fff); }
.atlas-sc-post .atlas-sc-kicker span { background: color-mix(in srgb, var(--acc) 22%, transparent); color: color-mix(in srgb, var(--acc) 35%, #fff); border-color: color-mix(in srgb, var(--acc) 45%, transparent); }
.atlas-sc-title { font-size: clamp(22px, 1.1rem + .9vw, 29px); }
.atlas-sc-text { font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.atlas-sc-event .atlas-sc-text { -webkit-line-clamp: 2; }
.atlas-sc-date { color: color-mix(in srgb, var(--acc) 30%, #fff); }
.atlas-auth .atlas-sc-link { margin-top: 14px; padding: 10px 16px; border-radius: 10px; background: var(--acc); color: var(--acc-ink) !important; font-size: 14.5px; }
.atlas-auth .atlas-sc-link:hover { color: var(--acc-ink) !important; text-decoration: none !important; filter: brightness(1.08); }
.atlas-sc-media { margin-top: 20px; border-radius: 14px; }
.atlas-sc-media img { aspect-ratio: 16 / 9; object-fit: cover; }
.atlas-sc-event .atlas-sc-media { margin: 0 0 18px; }
.atlas-sc-benefits li::after { border-color: var(--acc); }
.atlas-auth .atlas-sc-dots button.is-on { background: color-mix(in srgb, var(--acc-on, #fff) 100%, transparent) !important; }
.atlas-sc-side[data-kind="event"] { --acc-on: #38bdf8; }
.atlas-sc-side[data-kind="post"] { --acc-on: #a78bfa; }
.atlas-sc-side[data-kind="membership"] { --acc-on: #34d399; }
.atlas-sc-side[data-kind="offer"] { --acc-on: #fbbf24; }
.atlas-sc-side[data-kind="custom"] { --acc-on: #818cf8; }
@media (max-height: 760px) and (min-width: 961px) {
    .atlas-sc-side { padding-top: 40px; padding-bottom: 32px; }
    .atlas-sc-card { padding: 18px 18px 16px; }
    .atlas-sc-event .atlas-sc-media img { aspect-ratio: 16 / 7; }
    .atlas-sc-media { margin-top: 14px; }
    .atlas-sc-dots { margin-top: 20px; }
}

/* =================================================================
   v5.9 — slim page banner under the site header
   ================================================================= */
body.atlas-has-banner { overflow-x: clip; }
.atlas-has-banner .page-header, .atlas-has-banner .entry-header .entry-title, .atlas-has-banner .site-main > .page > .entry-title, .atlas-has-banner .wp-block-post-title,
.atlas-has-banner .ast-single-entry-banner, .atlas-has-banner .entry-hero, .atlas-has-banner .page-title-section, .atlas-has-banner .elementor-page-title { display: none !important; }
/* The banner sits right under the site header: remove the theme's top padding above it. */
.atlas-has-banner .site-main:has(> .page-content > .atlas-banner:first-child), .atlas-has-banner .site-main:has(> .atlas-banner:first-child) { padding-top: 0 !important; margin-top: 0 !important; }
.atlas-banner {
    position: relative; overflow: hidden; isolation: isolate;
    width: 100vw; margin: 0 calc(50% - 50vw) 0; box-sizing: border-box;
    background: linear-gradient(100deg, color-mix(in srgb, var(--atl-brand, #1a0c6d) 9%, #fff) 0%, color-mix(in srgb, var(--atl-brand, #1a0c6d) 4%, #fff) 55%, #fff 100%);
    border-bottom: 1px solid color-mix(in srgb, var(--atl-brand, #1a0c6d) 12%, #fff);
    color: var(--atl-ink, #051151); font-family: var(--atl-font, inherit);
}
.atlas-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(color-mix(in srgb, var(--atl-brand, #1a0c6d) 6%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--atl-brand, #1a0c6d) 6%, transparent) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); mask-image: linear-gradient(90deg, transparent 30%, #000 100%); }
.atlas-banner-geo { position: absolute; right: 0; top: 0; height: 100%; width: min(60%, 640px); z-index: -1; color: color-mix(in srgb, var(--atl-brand, #1a0c6d) 16%, transparent); stroke-width: 1; }
.atlas-banner-in { max-width: 1240px; margin: 0 auto; padding: 26px 24px 24px; display: flex; align-items: center; gap: 16px; }
.atlas-banner-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--atl-ink, #051151); color: #fff; box-shadow: 0 10px 24px -12px rgba(5,17,81,.6); }
.atlas-banner-txt { min-width: 0; }
.atlas-banner-crumbs { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: color-mix(in srgb, var(--atl-ink, #051151) 60%, #fff); margin-bottom: 2px; }
.atlas-banner .atlas-banner-crumbs a { color: inherit !important; text-decoration: none !important; }
.atlas-banner .atlas-banner-crumbs a:hover { color: var(--atl-brand, #1a0c6d) !important; text-decoration: underline !important; }
.atlas-banner .atlas-banner-title { margin: 0 !important; padding: 0 !important; font-size: clamp(21px, 1rem + 1vw, 28px) !important; line-height: 1.2 !important; font-weight: 750 !important; letter-spacing: -0.015em !important; color: var(--atl-ink, #051151) !important; text-transform: none !important; font-family: inherit !important; }
.atlas-banner-sub { margin: 3px 0 0 !important; font-size: 14.5px; color: color-mix(in srgb, var(--atl-ink, #051151) 68%, #fff); }
.atlas-banner + .atlas-dash, .atlas-banner + .atlas-dash-guest { margin-top: 28px; }
@media (max-width: 640px) {
    .atlas-banner-in { padding: 18px 16px; gap: 12px; }
    .atlas-banner-ico { width: 40px; height: 40px; border-radius: 12px; }
    .atlas-banner-sub { font-size: 13.5px; }
    .atlas-banner-geo { width: 90%; opacity: .7; }
}

/* Two-column login pages inside the website's own header and footer */
.atlas-auth.atlas-layout-showcase.atlas-in-theme { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); min-height: 0; }
.atlas-in-theme .atlas-sc-main { padding-top: 18px; }
.atlas-in-theme .atlas-sc-home { visibility: hidden; }
.atlas-in-theme .atlas-sc-center { padding: 28px 0 36px; }
@media (min-width: 961px) {
    .atlas-in-theme .atlas-sc-side { position: relative; top: auto; align-self: stretch; height: auto; min-height: 640px; }
    .admin-bar .atlas-in-theme .atlas-sc-side { top: auto; height: auto; }
}

/* Profile photo */
.atlas-avatar.has-photo, .atlas-photo-img.has-photo { overflow: hidden; padding: 0; background: #fff; }
.atlas-avatar img, .atlas-photo-img img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 50%; display: block; }
.atlas-photo { display: flex; align-items: center; gap: 18px; padding: 18px 20px; margin: 0 0 22px; border: 1px solid var(--atl-border, #dedbea); border-radius: calc(var(--atl-radius, 12px) + 4px); background: var(--atl-card, #fff); }
.atlas-photo-img { flex: none; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--atl-primary) 12%, #fff); color: var(--atl-primary); font-weight: 750; font-size: 26px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--atl-primary) 10%, #fff); }
.atlas-photo-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.atlas-photo-txt strong { font-size: 15.5px; color: var(--atl-text); }
.atlas-photo-txt > span { font-size: 13.5px; color: var(--atl-muted); }
.atlas-photo-actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.atlas-dash .atlas-photo-pick { cursor: pointer; margin: 0; }
.atlas-dash .atlas-photo-pick.is-loading { opacity: .6; pointer-events: none; }
.atlas-photo .atlas-msg { margin: 8px 0 0; }
.atlas-photo .atlas-photo-remove { color: #b42318 !important; font-size: 14px; }
@media (max-width: 480px) { .atlas-photo { flex-direction: column; text-align: center; } .atlas-photo-actions { justify-content: center; } }

/* =================================================================
   v6.0 — full-screen login / register / reset that fit one screen
   ================================================================= */
.atlas-layout-showcase .atlas-sc-top { min-height: 44px; }
.atlas-layout-showcase .atlas-sc-logo { display: inline-flex; align-items: center; text-decoration: none !important; }
.atlas-layout-showcase .atlas-sc-logo img { display: block; width: auto; max-height: 38px; max-width: min(var(--atl-logo-w, 160px), 220px); }
.atlas-layout-showcase .atlas-sc-logo .atlas-auth-brand { font-size: 20px; font-weight: 800; color: var(--atl-text); }
.atlas-sc-foot { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }
.atlas-sc-foot .atlas-sc-home { visibility: visible !important; font-size: 13.5px !important; }
.atlas-in-theme .atlas-sc-logo { visibility: hidden; }

@media (min-width: 961px) {
    body.atlas-canvas { overflow: hidden; }
    .atlas-canvas .atlas-auth.atlas-layout-showcase { height: 100vh; height: 100dvh; min-height: 520px; overflow: hidden; }
    .admin-bar.atlas-canvas .atlas-auth.atlas-layout-showcase { height: calc(100vh - 32px); }
    .atlas-canvas .atlas-sc-main { height: 100%; overflow-y: auto; padding: 22px clamp(24px, 3.4vw, 48px) 16px; scrollbar-width: thin; }
    .atlas-canvas .atlas-sc-center { padding: 10px 0; }
    .atlas-canvas .atlas-layout-showcase .atlas-auth-card { padding: 28px 30px 24px; }
    .atlas-canvas .atlas-auth .atlas-f { margin-bottom: 13px !important; }
    .atlas-canvas .atlas-layout-showcase .atlas-auth-sub { margin-bottom: 18px; }
    /* Registration: two fields per row so the whole form fits */
    .atlas-canvas .atlas-screen-register .atlas-auth-card { max-width: 560px; }
    .atlas-canvas .atlas-screen-register .atlas-grid > .atlas-f.atlas-w-full:not(:has(textarea)):not(:has(.atlas-check)):not(fieldset) { flex: 1 1 calc(50% - 6px); }
    .atlas-canvas .atlas-screen-register .atlas-hint { font-size: 12px; margin-top: 4px; }
    /* Learning panel: content starts at the top, never scrolls */
    .atlas-canvas .atlas-sc-side { position: relative; top: auto; height: 100%; min-height: 0; align-self: stretch; justify-content: flex-start; padding: clamp(28px, 6vh, 56px) clamp(28px, 3vw, 48px) 28px; overflow: hidden; }
    .atlas-canvas .atlas-sc-slides { flex: 0 1 auto; min-height: 0; }
    .atlas-canvas .atlas-sc-event .atlas-sc-media img { max-height: 30vh; width: 100%; object-fit: cover; aspect-ratio: auto; }
    .atlas-canvas .atlas-sc-media img { max-height: 24vh; object-fit: cover; }
    .atlas-canvas .atlas-sc-dots { margin-top: 22px; }
}
@media (min-width: 961px) and (max-height: 780px) {
    .atlas-canvas .atlas-sc-main { padding-top: 14px; padding-bottom: 10px; }
    .atlas-canvas .atlas-layout-showcase .atlas-auth-card { padding: 20px 26px 18px; }
    .atlas-canvas .atlas-layout-showcase .atlas-auth-title { font-size: 22px; }
    .atlas-canvas .atlas-layout-showcase .atlas-auth-sub { margin-bottom: 12px; font-size: 13.5px; }
    .atlas-canvas .atlas-auth .atlas-f { margin-bottom: 9px !important; }
    .atlas-canvas .atlas-auth input[type=text], .atlas-canvas .atlas-auth input[type=email], .atlas-canvas .atlas-auth input[type=password], .atlas-canvas .atlas-auth input[type=tel], .atlas-canvas .atlas-auth select { min-height: 42px !important; padding-top: 8px !important; padding-bottom: 8px !important; }
    .atlas-canvas .atlas-auth .atlas-btn { min-height: 44px; padding-top: 11px !important; padding-bottom: 11px !important; }
    .atlas-canvas .atlas-sc-card { padding: 18px 20px 16px; }
    .atlas-canvas .atlas-sc-title { font-size: 22px; margin-bottom: 8px; }
    .atlas-canvas .atlas-sc-text { font-size: 14.5px; -webkit-line-clamp: 3; }
    .atlas-canvas .atlas-sc-event .atlas-sc-media img { max-height: 22vh; }
    .atlas-canvas .atlas-sc-media img { max-height: 18vh; }
}

/* ================= v6.0: wallet, payments, certificates (dashboard) ================= */
.atlas-wallet, .atlas-pay, .atlas-certs { display: grid; gap: 18px; }
.atlas-dash-h3 { font-size: 16px; margin: 6px 0 0; color: var(--atl-text); }
.atlas-wallet-card { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; align-items: center; padding: 22px 24px; border-radius: calc(var(--atl-radius) + 6px); color: #fff;
    background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--atl-primary) 55%, #fff) 0%, transparent 55%), linear-gradient(135deg, var(--atl-primary) 0%, color-mix(in srgb, var(--atl-primary) 60%, #000) 100%); box-shadow: 0 10px 30px color-mix(in srgb, var(--atl-primary) 28%, transparent); }
.atlas-wallet-card::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgba(255,255,255,.08); }
.atlas-wallet-lbl { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.atlas-wallet-bal { display: block; font-size: 34px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.atlas-wallet-held { display: block; margin-top: 4px; font-size: 12.5px; opacity: .9; }
.atlas-wallet-card p { margin: 0; font-size: 14px; line-height: 1.5; opacity: .92; max-width: 46ch; position: relative; z-index: 1; }
.atlas-wallet-add { padding: 18px 20px; border: 1px solid var(--atl-border); border-radius: calc(var(--atl-radius) + 4px); background: var(--atl-card); }
.atlas-wallet-add h3 { margin: 0 0 12px; font-size: 16px; color: var(--atl-text); }
.atlas-wallet-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.atlas-wallet-presets .atlas-chip { position: static; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--atl-primary) 7%, #fff); color: var(--atl-primary); border: 1px solid color-mix(in srgb, var(--atl-primary) 25%, transparent); cursor: pointer; min-height: 38px; }
.atlas-wallet-presets .atlas-chip:hover, .atlas-wallet-presets .atlas-chip.is-on { background: var(--atl-primary); color: #fff; }
.atlas-wallet-row { display: flex; gap: 10px; align-items: stretch; }
.atlas-wallet-sym { display: grid; place-items: center; padding: 0 14px; border: 1px solid var(--atl-border); border-radius: calc(var(--atl-radius) - 2px); font-weight: 700; color: var(--atl-muted); background: color-mix(in srgb, var(--atl-text) 3%, #fff); }
.atlas-wallet-row input { flex: 1; min-width: 0; min-height: 46px; font-size: 16px; }
.atlas-wallet-row .atlas-btn { width: auto; white-space: nowrap; }
.atlas-wallet-add .atlas-hint { margin: 10px 0 0; }
.atlas-wallet-add .atlas-msg { margin: 12px 0 0; }
.atlas-tx, .atlas-pay-list { border: 1px solid var(--atl-border); border-radius: calc(var(--atl-radius) + 4px); background: var(--atl-card); overflow: hidden; }
.atlas-tx-row, .atlas-pay-row { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 13px 16px; }
.atlas-tx-row + .atlas-tx-row, .atlas-pay-row + .atlas-pay-row { border-top: 1px solid var(--atl-border); }
.atlas-tx-ico, .atlas-pay-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.atlas-tx-ico.is-in, .atlas-pay-ico.is-wallet { background: var(--atl-ok-bg); color: var(--atl-ok); }
.atlas-tx-ico.is-out { background: color-mix(in srgb, var(--atl-primary) 9%, #fff); color: var(--atl-primary); }
.atlas-pay-ico.is-reg { background: color-mix(in srgb, var(--atl-primary) 9%, #fff); }
.atlas-tx-main strong, .atlas-pay-main strong { display: block; color: var(--atl-text); font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.atlas-tx-main span, .atlas-pay-main span { display: block; color: var(--atl-muted); font-size: 12.5px; overflow-wrap: anywhere; }
.atlas-tx-amt, .atlas-pay-amt { text-align: right; font-weight: 700; color: var(--atl-text); white-space: nowrap; }
.atlas-tx-amt.is-in { color: var(--atl-ok); }
.atlas-tx-amt span, .atlas-pay-amt span { display: block; font-size: 12px; font-weight: 500; color: var(--atl-muted); }
.atlas-pay-row { grid-template-columns: 38px minmax(0,1fr) auto auto; }
.atlas-pay-st { display: inline-block !important; margin-top: 3px; padding: 1px 8px; border-radius: 99px; font-size: 11.5px !important; font-weight: 700 !important; background: color-mix(in srgb, var(--atl-text) 7%, #fff); }
.atlas-pay-st.is-paid { background: var(--atl-ok-bg); color: var(--atl-ok) !important; }
.atlas-pay-st.is-failed, .atlas-pay-st.is-refunded { background: var(--atl-err-bg); color: var(--atl-err) !important; }
.atlas-pay-st.is-pending { background: var(--atl-warn-bg); color: var(--atl-warn) !important; }
.atlas-pay-inv { display: flex; align-items: center; gap: 10px; min-width: 120px; justify-content: flex-end; }
.atlas-pay-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.atlas-pay-sum > div { padding: 14px 16px; border-radius: calc(var(--atl-radius) + 2px); border: 1px solid var(--atl-border); background: var(--atl-card); }
.atlas-pay-sum span { display: block; font-size: 12.5px; color: var(--atl-muted); }
.atlas-pay-sum strong { display: block; margin-top: 2px; font-size: 21px; color: var(--atl-text); }
.atlas-cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.atlas-cert-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: calc(var(--atl-radius) + 4px); border: 1px solid var(--atl-border); background: linear-gradient(160deg, color-mix(in srgb, var(--atl-primary) 6%, #fff), var(--atl-card) 60%); }
.atlas-cert-card strong { color: var(--atl-text); font-size: 15px; line-height: 1.35; }
.atlas-cert-card > span:not(.atlas-cert-badge) { font-size: 12.5px; color: var(--atl-muted); overflow-wrap: anywhere; }
.atlas-cert-badge { font-size: 24px; line-height: 1; }
.atlas-cert-card.is-waiting { background: var(--atl-card); border-style: dashed; }
.atlas-cert-card.is-revoked { opacity: .6; }
.atlas-cert-act { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
@media (max-width: 640px) {
    .atlas-wallet-card { grid-template-columns: 1fr; padding: 20px; }
    .atlas-wallet-bal { font-size: 30px; }
    .atlas-wallet-row { flex-wrap: wrap; }
    .atlas-wallet-row input { flex: 1 1 140px; }
    .atlas-wallet-row .atlas-btn { flex: 1 1 100%; }
    .atlas-pay-row { grid-template-columns: 38px minmax(0,1fr) auto; }
    .atlas-pay-inv { grid-column: 2 / -1; justify-content: flex-start; min-width: 0; }
    .atlas-tx-row, .atlas-pay-row { padding: 12px; gap: 10px; }
}
@media (max-width: 640px) { .atlas-tx-main strong, .atlas-pay-main strong { white-space: normal; } }
.atlas-sup-otp { margin: 4px 0 14px; padding: 12px 14px; border-radius: calc(var(--atl-radius) - 2px); background: color-mix(in srgb, var(--atl-primary) 6%, #fff); border: 1px solid color-mix(in srgb, var(--atl-primary) 20%, transparent); }
.atlas-sup-otp label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--atl-text); }
.atlas-sup-otp-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.atlas-sup-otp-row input { max-width: 180px; letter-spacing: .3em; font-weight: 700; text-align: center; }
/* v6.1 wallet parts */
.atlas-wallet-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.atlas-wallet-split > div { padding: 14px 16px; border-radius: calc(var(--atl-radius) + 2px); border: 1px solid var(--atl-border); background: var(--atl-card); }
.atlas-wallet-split .is-promo { background: #fff8eb; border-color: #f6d79a; }
.atlas-wallet-split span { display: block; font-size: 12.5px; color: var(--atl-muted); }
.atlas-wallet-split strong { display: block; font-size: 22px; color: var(--atl-text); margin: 2px 0; }
.atlas-wallet-split em { font-style: normal; font-size: 12.5px; color: var(--atl-muted); }
.atlas-tx-ico.is-promo { background: #fff3d6; color: #b54708; }
@media (max-width: 520px) { .atlas-wallet-split { grid-template-columns: 1fr; } }
.atlas-gift-forms { display: grid; gap: 14px; }
.atlas-gift-buy summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.atlas-gift-buy summary::-webkit-details-marker { display: none; }
.atlas-gift-buy summary h3 { margin: 0; display: flex; align-items: center; gap: 8px; }
.atlas-gift-buy summary h3::after { content: "+"; margin-left: auto; font-weight: 700; color: var(--atl-primary); }
.atlas-gift-buy[open] summary h3::after { content: "−"; }
.atlas-gift-buy summary span { font-size: 13.5px; color: var(--atl-muted); }
.atlas-gift-buy form { margin-top: 14px; }
.atlas-gift-redeem input[name=code] { text-transform: uppercase; letter-spacing: .06em; font-family: ui-monospace, Menlo, monospace; }
.atlas-btn-li{background:#0a66c2!important;border-color:#0a66c2!important}

/* ===== v6.2 wallet: each block has its own colour ===== */
.atlas-wallet-split > div { position: relative; padding: 16px 16px 14px 64px !important; }
.atlas-ws-ico { position: absolute; left: 16px; top: 16px; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; }
.atlas-wallet-split .is-own { background: linear-gradient(135deg, #ecfdf3 0%, #f6fef9 100%) !important; border-color: #a6e9c3 !important; }
.atlas-wallet-split .is-own .atlas-ws-ico { background: #12b76a; color: #fff; }
.atlas-wallet-split .is-own strong { color: #05603a !important; }
.atlas-wallet-split .is-own span:not(.atlas-ws-ico), .atlas-wallet-split .is-own em { color: #326b4e !important; }
.atlas-wallet-split .is-promo { background: linear-gradient(135deg, #fff8eb 0%, #fffcf5 100%) !important; border-color: #f7d48b !important; }
.atlas-wallet-split .is-promo .atlas-ws-ico { background: #f79009; color: #fff; }
.atlas-wallet-split .is-promo strong { color: #93370d !important; }
.atlas-wallet-split .is-promo span:not(.atlas-ws-ico), .atlas-wallet-split .is-promo em { color: #7a4a14 !important; }

.atlas-wa-head { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.atlas-wa-head h3 { margin: 0 !important; }
.atlas-wa-head p { margin: 2px 0 0; font-size: 13px; color: var(--atl-muted); }
.atlas-wa-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.atlas-wa-offer { margin-left: auto; flex: none; padding: 5px 11px; border-radius: 999px; background: #fff1e6; color: #c2410c; border: 1px solid #fdba8c; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.atlas-wa-pay { margin: 10px 0 0; padding: 9px 12px; border-radius: 10px; background: #ecfdf3; color: #05603a; font-size: 13.5px; border: 1px dashed #a6e9c3; }
.atlas-wa-pay[hidden] { display: none; }

/* Add money: brand blue */
.atlas-wa-topup { border-color: color-mix(in srgb, var(--atl-primary) 22%, #fff) !important; background: linear-gradient(180deg, color-mix(in srgb, var(--atl-primary) 5%, #fff) 0%, #fff 70%) !important; }
.atlas-wa-topup .atlas-wa-ico { background: var(--atl-primary); }

/* Redeem: violet */
.atlas-gift-redeem { border-color: #d9d0fb !important; background: linear-gradient(180deg, #f6f3ff 0%, #fff 75%) !important; }
.atlas-gift-redeem .atlas-wa-ico { background: linear-gradient(135deg, #7a5af8, #6938ef); }
.atlas-dash .atlas-gift-redeem button.atlas-btn, .atlas-gift-redeem .atlas-btn { background: #6938ef !important; border-color: #6938ef !important; color: #fff !important; }
.atlas-dash .atlas-gift-redeem button.atlas-btn:hover, .atlas-gift-redeem .atlas-btn:hover { background: #5925dc !important; }
.atlas-gift-redeem input { letter-spacing: .08em; font-weight: 600; }
.atlas-gift-redeem input:focus { border-color: #7a5af8 !important; box-shadow: 0 0 0 3px rgba(122, 90, 248, .18) !important; }

/* Buy a gift card: coral */
.atlas-gift-buy { border-color: #fcd0b4 !important; background: linear-gradient(180deg, #fff6ef 0%, #fff 75%) !important; }
.atlas-gift-buy summary { flex-direction: row !important; align-items: center; gap: 12px !important; }
.atlas-gift-buy summary .atlas-wa-ico { background: linear-gradient(135deg, #fb6514, #e04f16); }
.atlas-gb-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.atlas-gb-t > span { font-size: 13px; color: var(--atl-muted); }
.atlas-gift-buy summary h3::after { content: none !important; }
.atlas-gift-buy summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid #fcd0b4; color: #e04f16; font-weight: 800; }
.atlas-gift-buy[open] summary::after { content: "−"; }
.atlas-gift-buy summary .atlas-wa-offer { margin-left: 0; }
.atlas-gift-buy form { margin-top: 14px; }
.atlas-dash .atlas-gift-buy button.atlas-btn, .atlas-gift-buy .atlas-btn { background: #e04f16 !important; border-color: #e04f16 !important; color: #fff !important; }
.atlas-dash .atlas-gift-buy button.atlas-btn:hover, .atlas-gift-buy .atlas-btn:hover { background: #b93815 !important; }
@media (max-width: 520px) {
  .atlas-wallet-split > div { padding-left: 60px !important; }
  .atlas-wa-head { flex-wrap: wrap; }
  .atlas-wa-offer { margin-left: 52px; }
  .atlas-gift-buy summary { flex-wrap: wrap; }
  .atlas-gb-t { flex: 1 1 calc(100% - 100px); }
  .atlas-gift-buy summary .atlas-wa-offer { order: 3; margin-left: 52px; }
}

/* ===== v6.2 partner programme on the account pages ===== */
.atlas-partner-cta { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; border: 1px solid #fdd8b5; background: linear-gradient(135deg, #fff6ed, #fffaf5); color: #7a2e0e !important; text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.atlas-partner-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -12px rgba(224, 79, 22, .6); }
.atlas-partner-cta-ico { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #fdb022, #f79009); color: #fff; font-weight: 800; font-size: 17px; }
.atlas-partner-cta > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; line-height: 1.3; }
.atlas-partner-cta strong { font-size: 14.5px; color: #93370d; } .atlas-partner-cta em { font-style: normal; font-size: 12.5px; color: #b54708; }
.atlas-partner-side { justify-content: center; }
.atlas-pp-card { position: relative; z-index: 1; max-width: 460px; margin: 0 auto; padding: 8px 0; color: #fff; }
.atlas-pp-art { width: 100%; max-width: 380px; height: auto; display: block; margin: 0 0 18px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.25)); }
.atlas-pp-card .atlas-sc-title { color: #fff !important; }
.atlas-pp-points { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 9px; }
.atlas-pp-points li { position: relative; padding-left: 28px; font-size: 15px; opacity: .95; }
.atlas-pp-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%; background: rgba(50, 213, 131, .25); color: #6ce9a6; font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.atlas-pp-steps { display: flex; gap: 8px; flex-wrap: wrap; }
.atlas-pp-steps span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-size: 13px; font-weight: 600; }
.atlas-pp-steps b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #fdb022; color: #3d1d00; font-size: 12px; }
.atlas-partner-form .atls-otp input { letter-spacing: .3em; font-weight: 700; font-size: 20px; text-align: center; }
.atlas-partner-form .atls-msg { margin: 10px 0; }
.atlas-auth-or { display: flex; align-items: center; gap: 10px; color: var(--atl-muted); font-size: 13px; margin: 14px 0; }
.atlas-auth-or::before, .atlas-auth-or::after { content: ""; flex: 1; height: 1px; background: var(--atl-border); }
