/* CoreXaPay v6.8.3
   Login / Register redesign
   Amaç: aynı 1:1 banner her iki sayfada da bozulmadan gösterilsin.
*/

body.auth-body{
    min-height:100vh;
    background:
        radial-gradient(circle at 8% 12%, rgba(123,74,184,.09), transparent 29%),
        radial-gradient(circle at 88% 18%, rgba(177,127,232,.08), transparent 27%),
        linear-gradient(180deg,#fbfaff 0%,#f7f4fb 52%,#fbfaff 100%);
}

body.auth-body::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    background-image:
        linear-gradient(rgba(93,62,126,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(93,62,126,.025) 1px, transparent 1px);
    background-size:34px 34px;
    mask-image:linear-gradient(to bottom,rgba(0,0,0,.28),transparent 72%);
}

.cx-auth-page{
    position:relative;
    z-index:1;
    width:100%;
    padding:34px 0 42px;
}

.cx-auth-shell{
    width:min(1280px,calc(100% - 48px))!important;
    margin:0 auto!important;
    display:grid!important;
    grid-template-columns:minmax(0,610px) minmax(0,580px)!important;
    justify-content:center!important;
    align-items:start!important;
    gap:30px!important;
}

.cx-auth-panel.auth-wrap{
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:34px 38px 30px!important;
    display:block!important;
    border-radius:22px!important;
    border:1px solid #e4dced!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:
        0 24px 70px rgba(58,37,79,.09),
        0 3px 12px rgba(58,37,79,.035)!important;
    backdrop-filter:blur(10px);
}

.cx-auth-shell-login .cx-auth-panel{
    min-height:560px!important;
}

.cx-auth-brand{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    min-height:58px;
    margin-bottom:25px;
}

.cx-auth-brand .brand,
.cx-auth-brand .brand-link{
    justify-content:flex-start!important;
}

.cx-auth-brand .brand-logo{
    max-width:230px!important;
    width:auto!important;
    height:58px!important;
    object-fit:contain!important;
}

.cx-auth-heading{
    margin-bottom:25px;
}

.cx-auth-kicker{
    display:inline-flex;
    align-items:center;
    min-height:27px;
    padding:5px 9px;
    margin-bottom:10px;
    border:1px solid #e1d5ef;
    border-radius:999px;
    background:#f7f1fd;
    color:#6f3eaa;
    font-size:10px;
    line-height:1;
    font-weight:800;
    letter-spacing:1.15px;
}

.cx-auth-heading h1,
.cx-auth-panel.auth-wrap h1{
    margin:0 0 9px!important;
    color:#20172b!important;
    font-size:30px!important;
    line-height:1.16!important;
    letter-spacing:-.8px!important;
    font-weight:780!important;
}

.cx-auth-heading p{
    margin:0;
    max-width:470px;
    color:#75697f;
    font-size:13px;
    line-height:1.7;
}

.cx-auth-form{
    gap:16px!important;
}

.cx-auth-panel .field label{
    margin-bottom:7px!important;
    color:#3a2e45!important;
    font-size:11px!important;
    font-weight:750!important;
}

.cx-auth-panel .input{
    min-height:48px!important;
    padding:11px 13px!important;
    border:1px solid #dcd2e6!important;
    border-radius:11px!important;
    background:#fff!important;
    color:#241a2d!important;
    box-shadow:0 1px 0 rgba(40,22,55,.02);
}

.cx-auth-panel .input::placeholder{
    color:#aaa0b1!important;
}

.cx-auth-panel .input:hover{
    border-color:#c9bad8!important;
}

.cx-auth-panel .input:focus{
    border-color:#8152b5!important;
    box-shadow:0 0 0 4px rgba(117,70,169,.10)!important;
}

.cx-auth-label-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:7px;
}

.cx-auth-label-row label{
    margin:0!important;
}

.cx-auth-label-row a{
    color:#7443aa;
    font-size:11px;
    font-weight:700;
}

.cx-auth-label-row a:hover{
    color:#54287f;
    text-decoration:underline;
}

.cx-password-field{
    position:relative;
}

.cx-password-field .input{
    padding-right:72px!important;
}

.cx-password-toggle{
    position:absolute;
    top:50%;
    right:9px;
    transform:translateY(-50%);
    border:0;
    border-radius:7px;
    background:#f4eef9;
    color:#7043a2;
    padding:6px 8px;
    font-size:10px;
    font-weight:800;
    cursor:pointer;
}

.cx-password-toggle:hover{
    background:#ebe1f5;
}

.cx-auth-submit{
    width:100%;
    min-height:48px;
    margin-top:2px;
    border-radius:11px!important;
    background:linear-gradient(135deg,#7041a8,#8d58c2)!important;
    border-color:#7041a8!important;
    box-shadow:0 10px 22px rgba(112,65,168,.17);
}

.cx-auth-submit:hover{
    background:linear-gradient(135deg,#633794,#814daf)!important;
    transform:translateY(-1px);
}

.cx-auth-panel .auth-separator{
    margin:22px 0 17px!important;
    color:#95899f!important;
}

.cx-auth-panel .auth-separator::before,
.cx-auth-panel .auth-separator::after{
    background:#e8e0ee!important;
}

.cx-social-auth-grid{
    gap:9px!important;
}

.cx-auth-panel .social-btn{
    min-height:45px;
    border-radius:10px!important;
}

.cx-auth-panel .social-btn.google{
    border-color:#ded8e4!important;
    box-shadow:none!important;
}

.cx-auth-panel .social-btn.discord{
    box-shadow:none!important;
}

.cx-auth-bottom{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
    margin-top:21px;
    padding-top:18px;
    border-top:1px solid #eee8f2;
    color:#807487;
    font-size:12px;
    text-align:center;
}

.cx-auth-bottom a{
    color:#6f3eaa;
    font-weight:800;
}

.cx-auth-bottom a:hover{
    text-decoration:underline;
}

.cx-auth-security{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:7px;
    margin-top:14px;
    color:#9a8fa0;
    font-size:10px;
    line-height:1.45;
    text-align:left;
}

.cx-auth-security-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 18px;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#edf8f2;
    color:#25825b;
    font-size:10px;
    font-weight:900;
}

.cx-auth-promo-column{
    width:100%;
    min-width:0;
    align-self:start;
    position:sticky;
    top:28px;
}

.auth-ad-card.cx-auth-banner{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:1 / 1!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    align-self:auto!important;
    justify-self:auto!important;
    border:1px solid #e3d8ed!important;
    border-radius:22px!important;
    background:#f7f3fb!important;
    box-shadow:
        0 24px 70px rgba(58,37,79,.09),
        0 3px 12px rgba(58,37,79,.035)!important;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}

a.auth-ad-card.cx-auth-banner:hover{
    transform:translateY(-2px)!important;
    border-color:#cdb8df!important;
    box-shadow:0 28px 78px rgba(58,37,79,.12)!important;
}

.auth-ad-card.cx-auth-banner > img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-width:none!important;
    max-height:none!important;
    aspect-ratio:1 / 1!important;
    margin:0!important;
    padding:0!important;
    object-fit:contain!important;
    object-position:center center!important;
    transform:none!important;
    background:#fff!important;
}

.auth-ad-card.cx-auth-banner .auth-ad-placeholder{
    width:100%;
    height:100%;
    min-height:0!important;
    aspect-ratio:1 / 1;
    padding:40px!important;
    color:#33253e!important;
    background:
        radial-gradient(circle at 20% 15%,rgba(141,88,194,.13),transparent 36%),
        linear-gradient(145deg,#faf7fd,#fff)!important;
}

.auth-ad-card.cx-auth-banner .auth-ad-placeholder strong{
    color:#2a1d35!important;
}

.auth-ad-card.cx-auth-banner .auth-ad-placeholder span{
    color:#81748a!important;
}

.cx-auth-promo-note{
    display:flex;
    flex-direction:column;
    gap:3px;
    padding:13px 4px 0;
    text-align:center;
}

.cx-auth-promo-note span{
    color:#9b8ea4;
    font-size:9px;
    font-weight:800;
    letter-spacing:1.2px;
}

.cx-auth-promo-note strong{
    color:#54475d;
    font-size:11px;
    font-weight:650;
    line-height:1.55;
}

.cx-auth-register-steps{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    margin:0 0 24px;
    padding:11px;
    border:1px solid #e7ddef;
    border-radius:12px;
    background:#faf8fc;
}

.cx-auth-register-steps > div{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-width:0;
    padding:3px 6px;
    color:#74687d;
}

.cx-auth-register-steps > div:not(:last-child)::after{
    content:"";
    position:absolute;
    top:50%;
    right:0;
    width:1px;
    height:20px;
    transform:translateY(-50%);
    background:#e4dbea;
}

.cx-auth-register-steps span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:23px;
    height:23px;
    border-radius:50%;
    background:#eee4f7;
    color:#7443aa;
    font-size:10px;
    font-weight:900;
}

.cx-auth-register-steps strong{
    font-size:10px;
    font-weight:750;
}

.cx-auth-terms{
    padding:12px 13px;
    border:1px solid #e5dced;
    border-radius:11px;
    background:#fbf9fd;
    color:#55495d!important;
    line-height:1.55;
}

.cx-auth-terms input{
    flex:0 0 auto;
    width:16px;
    height:16px;
    accent-color:#7041a8;
}

.cx-auth-terms strong{
    display:block;
    margin-bottom:2px;
    color:#34283d;
    font-size:11px;
}

.cx-auth-terms a{
    color:#6c3ca4!important;
    font-weight:750;
}

.cx-auth-panel .g-recaptcha{
    display:flex!important;
    justify-content:center!important;
    width:100%!important;
    margin:2px auto 0!important;
}

.cx-auth-panel .g-recaptcha > div{
    margin:0 auto!important;
}

/* Eski stretch kurallarını kesin olarak iptal et */
.auth-body .auth-split-shell,
.auth-body .auth-split-shell > :last-child,
.auth-body .auth-ad-card,
.auth-body .auth-ad-card img{
    min-height:0!important;
}

@media(max-width:1050px){
    .cx-auth-shell{
        grid-template-columns:minmax(0,560px) minmax(0,500px)!important;
        gap:24px!important;
    }

    .cx-auth-panel.auth-wrap{
        padding:30px 30px 27px!important;
    }
}

@media(max-width:900px){
    .cx-auth-page{
        padding:22px 0 34px;
    }

    .cx-auth-shell{
        width:min(620px,calc(100% - 28px))!important;
        grid-template-columns:1fr!important;
        gap:18px!important;
    }

    .cx-auth-promo-column{
        position:static;
        order:-1;
        width:min(100%,500px);
        margin:0 auto;
    }

    .auth-ad-card.cx-auth-banner{
        width:100%!important;
        aspect-ratio:1 / 1!important;
        border-radius:18px!important;
    }

    .cx-auth-shell-login .cx-auth-panel{
        min-height:0!important;
    }

    .cx-auth-panel.auth-wrap{
        border-radius:18px!important;
    }

    .cx-auth-promo-note{
        display:none;
    }
}

@media(max-width:580px){
    .cx-auth-page{
        padding:12px 0 24px;
    }

    .cx-auth-shell{
        width:min(100% - 20px,560px)!important;
        gap:12px!important;
    }

    .cx-auth-panel.auth-wrap{
        padding:24px 19px 22px!important;
        border-radius:16px!important;
    }

    .cx-auth-brand{
        min-height:48px;
        margin-bottom:18px;
    }

    .cx-auth-brand .brand-logo{
        max-width:205px!important;
        height:48px!important;
    }

    .cx-auth-heading{
        margin-bottom:20px;
    }

    .cx-auth-heading h1,
    .cx-auth-panel.auth-wrap h1{
        font-size:25px!important;
    }

    .cx-auth-two-col{
        grid-template-columns:1fr!important;
    }

    .cx-auth-register-steps strong{
        display:none;
    }

    .cx-auth-register-steps > div{
        padding:2px;
    }

    .cx-auth-register-steps > div:not(:last-child)::after{
        height:18px;
    }

    .auth-ad-card.cx-auth-banner{
        border-radius:16px!important;
    }
}

/* Auth ekranı dark tema ile açılırsa da yapı bozulmasın */
html[data-theme="dark"] body.auth-body{
    background:
        radial-gradient(circle at 8% 12%,rgba(112,65,168,.16),transparent 29%),
        linear-gradient(180deg,#0b111b 0%,#11151f 100%);
}

html[data-theme="dark"] .cx-auth-panel.auth-wrap{
    background:rgba(17,22,32,.97)!important;
    border-color:#2c3040!important;
}

html[data-theme="dark"] .cx-auth-heading h1,
html[data-theme="dark"] .cx-auth-panel.auth-wrap h1{
    color:#f6f2fa!important;
}

html[data-theme="dark"] .cx-auth-heading p,
html[data-theme="dark"] .cx-auth-bottom{
    color:#a9a0b0!important;
}

html[data-theme="dark"] .cx-auth-panel .field label{
    color:#ddd5e3!important;
}

html[data-theme="dark"] .cx-auth-panel .input{
    background:#111722!important;
    border-color:#303746!important;
    color:#f3eff7!important;
}

html[data-theme="dark"] .cx-auth-register-steps,
html[data-theme="dark"] .cx-auth-terms{
    background:#121823!important;
    border-color:#303746!important;
}

html[data-theme="dark"] .cx-auth-terms,
html[data-theme="dark"] .cx-auth-terms strong{
    color:#ded6e4!important;
}

html[data-theme="dark"] .cx-auth-bottom{
    border-color:#303746!important;
}

html[data-theme="dark"] .auth-ad-card.cx-auth-banner{
    border-color:#303746!important;
    background:#111722!important;
}

html[data-theme="dark"] .cx-auth-security{
    color:#8f8795!important;
}


/* v6.8.4: banner zaten tüm tanıtım metnini içerdiği için alt tekrar satırını gizle */
.cx-auth-promo-note{display:none!important;}
