/* ==========================================================================
   Sign-up components: the Create account pop-up (MasterPage.master) and the
   Left / Right, sponsor, password and conditions blocks. Copied out of
   vadix-world.css so the pop-up is styled even on a server whose
   vadix-world.css is older. Linked from MasterPage.master.
   ========================================================================== */

/* ---- Sign-up: binary position (Left / Right) ---------------------------- */
.vx-pos { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.vx-pos__label { flex: 0 0 auto; font-size: .9rem; color: var(--txt-2); }
.vx-pos__opts { flex: 1; display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; }
.vx-pos__opts input { position: absolute; opacity: 0; pointer-events: none; }
.vx-pos__opts label {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 50px; margin: 0;
    border: 1px solid var(--line-strong); border-radius: 12px;
    background: rgba(3, 12, 8, .6);
    font-weight: 700; color: var(--txt); cursor: pointer;
    transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.vx-pos__opts label::before { font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: .8rem; color: var(--txt-3); }
.vx-pos__opts input[value="LEFT"] + label::before { content: "\f060"; }
.vx-pos__opts input[value="RIGHT"] + label::after { content: "\f061"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: .8rem; color: var(--txt-3); }
.vx-pos__opts label:hover { border-color: var(--em-line); }
.vx-pos__opts input:checked + label { border-color: var(--em); background: var(--em-glow); color: #fff; box-shadow: 0 0 18px -6px rgba(25, 229, 138, .6); }
.vx-pos__opts input:checked + label::before, .vx-pos__opts input:checked + label::after { color: var(--em); }
.vx-pos__opts input:focus-visible + label { outline: 2px solid var(--em); outline-offset: 2px; }
.vx-pos--page { margin: 0; }
.vx-pos--page .vx-pos__opts label { height: 54px; }

/* ==========================================================================
   Sign-up (pop-up and Join page)
   ========================================================================== */
.vx-su .modal-dialog { max-width: 580px; }
.vx-su .modal-content {
    border: 1px solid var(--frame) !important;
    background:
        radial-gradient(520px 260px at 50% -40px, rgba(233, 184, 36, .16), transparent 70%),
        radial-gradient(420px 260px at 100% 100%, rgba(25, 229, 138, .08), transparent 70%),
        linear-gradient(180deg, #08130D, #040906) !important;
    box-shadow: 0 30px 90px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(233, 184, 36, .08) !important;
}
.vx-su .modal-content::before {
    content: ""; position: absolute; top: 0; left: 40px; right: 40px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--em), transparent);
    box-shadow: 0 0 14px rgba(25, 229, 138, .45);
}
.vx-su-head { text-align: center; margin-bottom: 6px; }
.vx-su-head img { width: 54px; height: 54px; margin-bottom: 10px; filter: drop-shadow(0 6px 18px rgba(233, 184, 36, .45)); }
.vx-su .me-login-title { font-family: var(--ff-display); font-weight: 900; text-transform: uppercase; font-size: 1.55rem; letter-spacing: .01em;
    background: linear-gradient(180deg, #FFF3C2, var(--gold) 70%, #B8860B); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.vx-su .me-login-sub { margin-bottom: 18px; }

.vx-su-step {
    display: flex; align-items: center; gap: 10px;
    margin: 18px 0 12px;
    font-family: var(--ff-display); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--em);
}
.vx-su-step::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(233, 184, 36, .35), transparent); }
.vx-su-step span {
    width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(180deg, var(--gold-lite), #C08F0E); color: #0A0A0A; font-size: .72rem; letter-spacing: 0;
}
.vx-su-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vx-su-ico { position: relative; }
.vx-su-ico > i { position: absolute; left: 16px; top: 18px; font-size: .85rem; color: var(--gold); opacity: .85; pointer-events: none; z-index: 2; }
.vx-su-ico > input, .vx-su-ico > .form-control { padding-left: 42px !important; }
.vx-su-hint { margin: 2px 0 8px; font-size: .8rem; color: var(--txt-3); line-height: 1.5; }
.vx-su-secure { display: flex !important; align-items: center; justify-content: center; gap: 8px; margin-top: 12px !important; font-size: .78rem !important; color: var(--txt-3) !important; }
.vx-su-secure i { color: var(--em); }
.vx-su .me-login-form input:focus, .vx-su .form-control:focus { border-color: var(--em) !important; box-shadow: 0 0 0 3px rgba(25, 229, 138, .14) !important; }

/* sponsor status chip */
.vx-sponsor-wrap { display: block; }
.me-login-model .vx-sponsor-wrap[id*="lblSpID"] { text-align: left; margin: -4px 0 10px; }
.vx-sponsor {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
    padding: 10px 14px; margin: 8px 0 4px;
    border-radius: 12px; font-size: .86rem; font-weight: 600; line-height: 1.4;
}
.vx-sponsor i { font-size: 1rem; }
.vx-sponsor b { margin-left: auto; color: #fff; font-weight: 700; }
.vx-sponsor small { flex-basis: 100%; padding-left: 26px; font-weight: 400; font-size: .78rem; opacity: .85; }
.vx-sponsor--ok { border: 1px solid var(--em-line); background: rgba(25, 229, 138, .08); color: var(--em); }
.vx-sponsor--bad { border: 1px solid rgba(255, 122, 122, .4); background: rgba(229, 72, 77, .09); color: #FF9DA1; }

/* position cards with a description under each side */
.vx-su .vx-pos { margin: 0 0 4px; }
.vx-pos__opts label { flex-direction: column; height: auto !important; padding: 12px 10px; gap: 2px; line-height: 1.25; }
.vx-pos__opts label::before { display: none; }
.vx-pos__opts input[value="LEFT"] + label { background-image: linear-gradient(90deg, rgba(233, 184, 36, .05), transparent); }
.vx-pos__opts input[value="RIGHT"] + label { background-image: linear-gradient(270deg, rgba(233, 184, 36, .05), transparent); }
.vx-pos__opts input + label { font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .92rem; }
.vx-pos__opts input[value="LEFT"] + label::after,
.vx-pos__opts input[value="RIGHT"] + label::after {
    display: block;
    font-family: var(--ff-sans) !important; font-weight: 400 !important; text-transform: none; letter-spacing: 0;
    font-size: .74rem !important; color: var(--txt-3) !important;
}
.vx-pos__opts input[value="LEFT"] + label::after { content: "Join the left team"; }
.vx-pos__opts input[value="RIGHT"] + label::after { content: "Join the right team"; }
.vx-pos__opts input:checked + label { border-color: var(--em); }
.vx-pos__opts input:checked + label::after { color: var(--em) !important; }

/* password strength */
.vx-pw-meter { display: flex; align-items: center; gap: 5px; margin: -4px 0 12px; }
.vx-pw-meter span { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); transition: background .2s var(--ease); }
.vx-pw-meter em { flex: 0 0 auto; margin-left: 6px; font-style: normal; font-size: .74rem; color: var(--txt-3); min-width: 112px; text-align: right; }
.vx-pw-meter[data-score="1"] span:nth-child(-n+1) { background: #E5484D; }
.vx-pw-meter[data-score="2"] span:nth-child(-n+2) { background: var(--gold); }
.vx-pw-meter[data-score="3"] span:nth-child(-n+3) { background: var(--em-deep); }
.vx-pw-meter[data-score="4"] span:nth-child(-n+4) { background: var(--em); }

/* account conditions */
.vx-terms {
    margin: 16px 0 16px; padding: 16px 18px 14px;
    border: 1px solid var(--frame); border-radius: 16px;
    background: linear-gradient(165deg, rgba(16, 46, 31, .55), rgba(4, 12, 8, .9));
}
.vx-terms__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-family: var(--ff-display); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-lite); }
.vx-terms__list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 7px; }
.vx-terms__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; line-height: 1.5; color: var(--txt-2); text-align: left; }
.vx-terms__list li i { flex: 0 0 18px; height: 18px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font-size: .55rem; background: var(--em-glow); color: var(--em); }
.vx-terms__list b { color: #fff; font-weight: 600; }
.vx-terms__list a { color: var(--gold-lite); text-decoration: underline; text-decoration-color: rgba(233, 184, 36, .4); text-underline-offset: 2px; }
.vx-terms__agree {
    position: relative; display: flex !important; align-items: center; gap: 12px; margin: 0 !important;
    padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(0, 0, 0, .35);
    cursor: pointer; font-weight: 700 !important; color: #fff !important; font-size: .9rem; transition: border-color .2s var(--ease), background .2s var(--ease);
}
.vx-terms__agree input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vx-terms__box { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 6px; border: 2px solid var(--gold); display: grid; place-items: center; transition: background .2s var(--ease); }
.vx-terms__box i { font-size: .7rem; color: #0A0A0A; opacity: 0; transition: opacity .15s; }
.vx-terms__agree input:checked ~ .vx-terms__box { background: linear-gradient(180deg, var(--gold-lite), #C08F0E); }
.vx-terms__agree input:checked ~ .vx-terms__box i { opacity: 1; }
.vx-terms__agree:has(input:checked) { border-color: var(--em); background: rgba(25, 229, 138, .07); }
.vx-terms__agree input:focus-visible ~ .vx-terms__box { outline: 2px solid var(--em); outline-offset: 2px; }

@media (max-width: 575px) {
    .vx-su-row2 { grid-template-columns: 1fr; gap: 0; }
    .vx-pw-meter em { min-width: 0; }
}

.vx-sponsor--wait { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); color: var(--txt-2); font-weight: 500; }

.vx-email-status .vx-sponsor { margin: -4px 0 12px; }
.vx-sponsor small a { color: #fff; text-decoration: underline; }

