/*
 * climb.ge — registration form.
 *
 * Scoped entirely under .cg-reg so nothing here can leak into Elementor
 * content elsewhere on the site. Deliberately self-contained: no external font
 * and no framework, because the page is a conversion step and should not wait
 * on a third-party request to become legible.
 *
 * The accent is climb.ge's own red, taken from the logo mark on the homepage.
 */

.cg-reg {
    --cg-accent:      #ED2E33;
    --cg-accent-dark: #C81F24;
    --cg-accent-tint: #FDEDEE;

    --cg-ink:         #14181F;
    --cg-ink-soft:    #4A5361;
    --cg-muted:       #7C8697;
    --cg-line:        #E2E6EC;
    --cg-line-strong: #CBD2DC;
    --cg-bg:          #F5F7FA;
    --cg-card:        #FFFFFF;
    --cg-ok:          #12874A;

    --cg-radius:      14px;
    --cg-radius-sm:   10px;

    /* System stack: the site loads no webfont, so matching it keeps the form
       from looking like a bolted-on widget. */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, "Noto Sans Georgian", sans-serif;
    color: var(--cg-ink);
    line-height: 1.5;
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: clamp(16px, 4vw, 48px) 16px;
    background: var(--cg-bg);
}

.cg-reg *,
.cg-reg *::before,
.cg-reg *::after { box-sizing: inherit; }

/*
 * The hidden attribute only works through the UA stylesheet's
 * `[hidden] { display: none }`, which ANY author `display` rule silently beats.
 * Several elements here are toggled with el.hidden and also carry a display of
 * their own — the clear button (grid) and the camera's Use/Retake buttons
 * (inline-flex) — so they stayed on screen while reporting hidden === true.
 * That is how a stray × sat over an empty drop zone.
 *
 * Stated explicitly, once, rather than hunting each rule.
 */
.cg-reg [hidden],
.cg-cam [hidden] { display: none !important; }

.cg-reg__card {
    max-width: 680px;
    margin: 0 auto;
    background: var(--cg-card);
    border: 1px solid var(--cg-line);
    border-radius: var(--cg-radius);
    padding: clamp(20px, 4vw, 40px);
    box-shadow: 0 1px 2px rgba(20, 24, 31, .04),
                0 12px 32px -12px rgba(20, 24, 31, .12);
}

/* Sign-in asks for two fields, not twelve, so it gets a narrower card. Same
   stylesheet as registration on purpose: the two pages must not drift apart. */
.cg-reg__card--narrow { max-width: 460px; }

/* ---- header + steps ---------------------------------------------------- */

.cg-reg__head { margin-bottom: 26px; }

.cg-reg__title {
    margin: 0 0 6px;
    font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
    color: var(--cg-ink);
}

.cg-reg__subtitle {
    margin: 0;
    color: var(--cg-muted);
    font-size: .95rem;
}

.cg-steps {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}

.cg-steps__item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    padding: 9px 12px;
    border: 1px solid var(--cg-line);
    border-radius: var(--cg-radius-sm);
    font-size: .84rem;
    color: var(--cg-muted);
    background: #fff;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.cg-steps__item.is-active {
    border-color: var(--cg-accent);
    background: var(--cg-accent-tint);
    color: var(--cg-ink);
    font-weight: 600;
}

.cg-steps__item.is-done { border-color: var(--cg-ok); color: var(--cg-ok); }

.cg-steps__dot {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--cg-line);
    color: var(--cg-ink-soft);
    font-size: .76rem;
    font-weight: 700;
}

.cg-steps__item.is-active .cg-steps__dot { background: var(--cg-accent); color: #fff; }
.cg-steps__item.is-done   .cg-steps__dot { background: var(--cg-ok);     color: #fff; }

/* ---- layout ------------------------------------------------------------ */

.cg-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cg-field--wide { grid-column: 1 / -1; }

.cg-field { margin-bottom: 16px; }
.cg-grid .cg-field { margin-bottom: 0; }

.cg-field label {
    display: block;
    margin-bottom: 6px;
    font-size: .855rem;
    font-weight: 600;
    color: var(--cg-ink-soft);
}

.cg-req { color: var(--cg-accent); }

/* ---- inputs ------------------------------------------------------------ */

.cg-reg input[type="text"],
.cg-reg input[type="tel"],
.cg-reg input[type="email"],
.cg-reg input[type="date"],
.cg-reg input[type="file"],
.cg-reg select {
    width: 100%;
    padding: 11px 13px;
    font: inherit;
    font-size: .95rem;
    color: var(--cg-ink);
    background: #fff;
    border: 1px solid var(--cg-line-strong);
    border-radius: var(--cg-radius-sm);
    transition: border-color .16s ease, box-shadow .16s ease;
    -webkit-appearance: none;
    appearance: none;
}

.cg-reg select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C8697' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 17px;
    padding-right: 38px;
}

.cg-reg input[type="file"] { padding: 9px 11px; font-size: .875rem; }

.cg-reg input:focus,
.cg-reg select:focus {
    outline: none;
    border-color: var(--cg-accent);
    box-shadow: 0 0 0 3px rgba(237, 46, 51, .15);
}

.cg-reg input::placeholder { color: #AEB6C2; }

.cg-field.is-invalid input,
.cg-field.is-invalid select { border-color: var(--cg-accent); }

.cg-hint  { margin: 5px 0 0; font-size: .78rem; color: var(--cg-muted); }

.cg-error {
    margin: 5px 0 0;
    font-size: .78rem;
    font-weight: 500;
    color: var(--cg-accent);
    display: none;
}
.cg-field.is-invalid .cg-error { display: block; }

/* phone with fixed country code */
.cg-phone { display: flex; align-items: stretch; }

.cg-phone__cc {
    display: flex;
    align-items: center;
    padding: 0 11px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--cg-ink-soft);
    background: var(--cg-bg);
    border: 1px solid var(--cg-line-strong);
    border-right: none;
    border-radius: var(--cg-radius-sm) 0 0 var(--cg-radius-sm);
}

.cg-phone input { border-radius: 0 var(--cg-radius-sm) var(--cg-radius-sm) 0 !important; }

/* ---- photo drop zone --------------------------------------------------- */

.cg-drop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 22px 18px 20px;
    text-align: center;
    border: 1.5px dashed var(--cg-line-strong);
    border-radius: var(--cg-radius);
    background: var(--cg-bg);
    color: var(--cg-muted);
    transition: border-color .18s ease, background .18s ease;
}

/* Only drag-over reacts. The box used to tint red on hover, which read as an
   error state on a field that was perfectly fine. */
.cg-drop.is-over {
    border-color: var(--cg-accent);
    background: var(--cg-accent-tint);
}

/* Holds either the avatar placeholder or the chosen photo, at one fixed size,
   so the box does not jump when a photo is picked. */
.cg-drop__figure {
    position: relative;
    width: 68px;
    height: 68px;
    margin-bottom: 10px;
}

.cg-drop__avatar,
.cg-drop__preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.cg-drop__avatar {
    display: grid;
    place-items: center;
    color: #97A3B4;
    background: #E9EEF4;
}

.cg-drop__preview {
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 3px 14px rgba(20, 24, 31, .18);
}

.cg-drop__title {
    margin: 0;
    font-size: .95rem;
    font-weight: 600;
    color: var(--cg-ink);
}

.cg-drop__hint {
    margin: 0;
    font-size: .78rem;
    color: var(--cg-muted);
}

.cg-drop__clear {
    position: absolute;
    top: -4px; right: -4px;
    width: 24px; height: 24px;
    display: grid; place-items: center;
    font-size: 17px; line-height: 1;
    color: #fff;
    background: rgba(20, 24, 31, .6);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
}
.cg-drop__clear:hover { background: var(--cg-accent); }

/* ---- photo action buttons ---------------------------------------------- */

.cg-photo-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

/* Two-class selector on purpose. One of these is .cg-btn--primary, which is a
   full-width block button with a 22px top margin everywhere else in this form,
   and that rule is defined further down this file — so at equal specificity it
   won and pushed the camera button 22px below the gallery one.
   Compact and content-width here, not stretched: they are a choice between two
   ways to add a photo, not the form's main action. */
.cg-photo-actions .cg-photo-actions__btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 132px;
    margin-top: 0;
    padding: 9px 18px;
    font-size: .875rem;
    border-radius: 8px;
}

/* ---- camera modal ------------------------------------------------------- */

/* Scoped to the document, not .cg-reg, because the dialog is fixed-position
   and its own stacking context. z-index clears Elementor's sticky header. */
.cg-cam {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(12, 15, 20, .78);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, "Noto Sans Georgian", sans-serif;
}

.cg-cam[hidden] { display: none; }

.cg-cam__box {
    width: 100%;
    max-width: 420px;
    padding: 22px;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5);
}

.cg-cam__title {
    margin: 0 0 16px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #14181F;
}

/* Square stage: the capture is a centre crop, so showing a square preview is
   the honest thing — what you see is what gets saved. */
.cg-cam__stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto 14px;
    overflow: hidden;
    border-radius: 50%;
    background: #0C0F14;
    display: grid;
    place-items: center;
}

.cg-cam__video,
.cg-cam__shot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mirrored preview only. The captured frame is drawn un-mirrored — see the
   note in register.js. */
.cg-cam__video { transform: scaleX(-1); }

.cg-cam__msg {
    padding: 22px;
    font-size: .88rem;
    line-height: 1.45;
    color: #E8EAEE;
}

.cg-cam__hint {
    margin: 0 0 16px;
    font-size: .8rem;
    color: #7C8697;
}

.cg-cam__actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cg-cam__actions .cg-btn { flex: 1; margin-top: 0; }
.cg-cam__snap { width: auto !important; }

/* Stop the page scrolling behind the dialog on touch devices. */
body.cg-noscroll { overflow: hidden; }

@media (max-width: 420px) {
    .cg-cam__box { padding: 16px; }
    .cg-photo-actions { flex-direction: column; }
}

/* ---- minor notice ------------------------------------------------------ */

.cg-minor {
    padding: 15px;
    border: 1px solid #F3D9A6;
    border-radius: var(--cg-radius-sm);
    background: #FFF9EC;
}

.cg-note {
    margin-bottom: 11px;
    font-size: .85rem;
    color: #6B4E12;
}

/* ---- buttons ----------------------------------------------------------- */

.cg-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    font: inherit;
    font-size: .95rem;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: var(--cg-radius-sm);
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .06s ease;
}

.cg-btn:active { transform: translateY(1px); }

.cg-btn--primary {
    width: 100%;
    margin-top: 22px;
    color: #fff;
    background: var(--cg-accent);
}
.cg-btn--primary:hover:not(:disabled) { background: var(--cg-accent-dark); }

.cg-btn:disabled { opacity: .6; cursor: not-allowed; }

.cg-btn--ghost {
    color: var(--cg-ink-soft);
    background: #fff;
    border-color: var(--cg-line-strong);
}
.cg-btn--ghost:hover { border-color: var(--cg-ink-soft); }

.cg-btn--link {
    padding: 13px 4px;
    color: var(--cg-accent);
    background: none;
}
.cg-btn--link:disabled { color: var(--cg-muted); }

.cg-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

/* spinner, shown only while a request is in flight */
.cg-spinner {
    width: 15px; height: 15px;
    display: none;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cg-spin .6s linear infinite;
}
.cg-btn.is-busy .cg-spinner { display: block; }
.cg-btn.is-busy .cg-btn__label { opacity: .85; }

@keyframes cg-spin { to { transform: rotate(360deg); } }

/* ---- alert ------------------------------------------------------------- */

.cg-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    font-size: .88rem;
    border-radius: var(--cg-radius-sm);
    border: 1px solid var(--cg-accent);
    background: var(--cg-accent-tint);
    color: #8E1114;
}
.cg-alert.is-ok {
    border-color: #A8DCC0;
    background: #EAF7F0;
    color: var(--cg-ok);
}

/* ---- step 2 + done ----------------------------------------------------- */

.cg-sent { margin: 0 0 18px; color: var(--cg-ink-soft); font-size: .93rem; }

.cg-code {
    text-align: center;
    font-size: 1.6rem !important;
    font-weight: 700;
    letter-spacing: .42em;
    text-indent: .42em;
    padding: 14px 13px !important;
}

.cg-fineprint {
    margin: 14px 0 0;
    font-size: .76rem;
    color: var(--cg-muted);
    text-align: center;
}

.cg-done { text-align: center; padding: 14px 0 6px; }

.cg-done__tick {
    width: 62px; height: 62px;
    margin: 0 auto 16px;
    display: grid; place-items: center;
    color: #fff;
    background: var(--cg-ok);
    border-radius: 50%;
}

.cg-done__title { margin: 0 0 8px; font-size: 1.35rem; font-weight: 700; }
.cg-done__text  { margin: 0 0 20px; color: var(--cg-muted); }

.cg-done__no {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 13px 26px;
    border: 1px dashed var(--cg-line-strong);
    border-radius: var(--cg-radius-sm);
    background: var(--cg-bg);
}
.cg-done__no span   { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--cg-muted); }
.cg-done__no strong { font-size: 1.2rem; letter-spacing: .04em; }

/* ---- pass selection ---------------------------------------------------- */

.cg-packages {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--cg-line);
    text-align: left;
}

.cg-packages__title {
    margin: 0 0 4px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
}

.cg-packages__lead {
    margin: 0 0 18px;
    font-size: .88rem;
    color: var(--cg-muted);
    text-align: center;
}

.cg-packages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.cg-packages__empty {
    margin: 0;
    padding: 16px;
    text-align: center;
    font-size: .88rem;
    color: var(--cg-muted);
    background: var(--cg-bg);
    border-radius: var(--cg-radius-sm);
}

.cg-pkg {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 16px;
    border: 1px solid var(--cg-line-strong);
    border-radius: var(--cg-radius-sm);
    background: #fff;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.cg-pkg:hover {
    border-color: var(--cg-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -12px rgba(20, 24, 31, .28);
}

.cg-pkg__name  { font-size: .98rem; font-weight: 700; line-height: 1.3; }
.cg-pkg__meta  { font-size: .78rem; color: var(--cg-muted); }

.cg-pkg__price {
    margin-top: 8px;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--cg-ink);
}

.cg-pkg__buy { margin-top: 12px; width: 100%; padding: 10px 14px; font-size: .9rem; }

/* ---- responsive -------------------------------------------------------- */

@media (max-width: 560px) {
    .cg-grid { grid-template-columns: 1fr; }
    .cg-steps__label { display: none; }
    .cg-steps__item { flex: 0 0 auto; justify-content: center; }
    .cg-reg__card { padding: 20px 16px; }
    .cg-row { flex-direction: column-reverse; align-items: stretch; }
    .cg-btn--ghost, .cg-btn--link { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .cg-reg *, .cg-reg *::before, .cg-reg *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ==========================================================================
   Member dashboard (signed in)
   --------------------------------------------------------------------------
   Dark card, following geoclimbing.ge's member card so the two feel like one
   federation — but in climb.ge's red rather than its blue. Scoped under
   .cg-dash so none of it reaches the light form above it.

   There is deliberately no federation/approval banner here. climb.ge members
   run on standard rules, and a "request under review" strip would describe a
   queue this site does not have.
   ========================================================================== */

.cg-dash {
    --d-bg:     #0F1626;
    --d-line:   #1E2A42;
    --d-raised: #131C2E;
    --d-text:   #FFFFFF;
    --d-muted:  #8FA6C4;

    margin: 0 auto;
    padding: 22px 18px 18px;
    text-align: center;
    color: var(--d-text);
    background: var(--d-bg);
    border: 1px solid var(--d-line);
    border-radius: 20px;
}

/* ---- header ---- */

.cg-dash__head { margin-bottom: 18px; }

.cg-dash__avatar {
    position: relative;
    width: 84px;
    height: 84px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    background: #1B2740;
    border: 2px solid #2A3958;
}

.cg-dash__avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Sits behind the photo, so a missing or broken image degrades to the
   member's initial instead of an empty hole. */
.cg-dash__avatar-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 800;
    color: #5D739A;
}

.cg-dash__name {
    margin: 0 0 2px;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
}

.cg-dash__no {
    margin: 0 0 14px;
    font-size: .84rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--d-muted);
}

.cg-dash__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0;
    padding: 9px 18px;
    font-size: .82rem;
    font-weight: 700;
    border-radius: 12px;
}

.cg-dash__status.is-active   { background: linear-gradient(135deg, #C81F24, #ED2E33); color: #fff; }
.cg-dash__status.is-inactive { background: linear-gradient(135deg, #3A4459, #2A3242); color: #C7D3E5; }

.cg-dash__dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .26);
}
.cg-dash__status.is-inactive .cg-dash__dot {
    background: #8FA6C4;
    box-shadow: 0 0 0 4px rgba(143, 166, 196, .2);
}

/* ---- QR, and its absence ---- */

.cg-dash__qr {
    margin-bottom: 16px;
    padding: 18px;
    background: #fff;
    border-radius: 16px;
}
.cg-dash__qr img { width: 100%; max-width: 220px; height: auto; display: block; margin: 0 auto; }
.cg-dash__qr-hint { margin: 12px 0 0; font-size: .8rem; font-weight: 600; color: #1A2332; }

.cg-dash__qr-locked {
    margin-bottom: 16px;
    padding: 24px 18px;
    color: #5D739A;
    background: var(--d-raised);
    border: 1px dashed #2A3958;
    border-radius: 16px;
}
.cg-dash__qr-locked p { margin: 8px 0 0; font-size: .86rem; line-height: 1.5; color: #8FA6C4; }
.cg-dash__qr-locked-en { font-size: .78rem !important; color: #5D739A !important; }

/* ---- personal details ---- */

.cg-dash__info {
    margin-bottom: 16px;
    padding: 6px 16px;
    text-align: left;
    background: linear-gradient(135deg, #7E1418, #C81F24);
    border-radius: 14px;
}

.cg-dash__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 9px 0;
    font-size: .86rem;
    color: #F6D2D3;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.cg-dash__row:last-child { border-bottom: none; }
.cg-dash__row b { color: #fff; font-weight: 700; text-align: right; word-break: break-word; }

/* ---- passes, on the dark ground ---- */

.cg-packages--dash { border-top-color: var(--d-line); text-align: center; }
.cg-packages--dash .cg-packages__title { color: #fff; }
.cg-packages--dash .cg-packages__lead  { color: var(--d-muted); }
.cg-packages--dash .cg-pkg {
    background: var(--d-raised);
    border-color: #2A3958;
    text-align: left;
}
.cg-packages--dash .cg-pkg:hover { border-color: var(--cg-accent); }
.cg-packages--dash .cg-pkg__name  { color: #fff; }
.cg-packages--dash .cg-pkg__meta  { color: var(--d-muted); }
.cg-packages--dash .cg-pkg__price { color: #fff; }
.cg-packages--dash .cg-packages__empty { background: var(--d-raised); color: var(--d-muted); }

/* ---- log out ---- */

.cg-dash__logout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 11px 22px;
    font: inherit;
    font-size: .88rem;
    font-weight: 600;
    color: #C7D3E5;
    background: transparent;
    border: 1px solid #2A3958;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.cg-dash__logout:hover { color: #fff; border-color: var(--cg-accent); background: rgba(237, 46, 51, .12); }
.cg-dash__logout:disabled { opacity: .6; cursor: not-allowed; }

/* The signed-in card is its own dark surface, so the light page card around it
   would only draw a second border. */
.cg-login .cg-panel[data-panel="3"]:not([hidden]) { margin: -4px 0; }
