:root{
    --bg:#07080D;
    --surface:#11131A;
    --surface-2:#171922;
    --primary:#FF5A5A;
    --primary-hover:#FF7070;
    --text:#FFFFFF;
    --text-soft:#B6BAC5;
    --text-muted:#7D818C;
    --border:rgba(255,255,255,.06);
    --glass:rgba(255,255,255,.04);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    min-height:100%;
}

body{
    font-family:'Google Sans Flex',system-ui,sans-serif;
    background:var(--bg);
    color:var(--text);
    /* overflow:hidden; */
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

a{
    text-decoration:none;
}

.auth-container{
    width:100%;
    min-height:100vh;
    display:flex;
    background:#090A0F;
}

/* =========================================
LEFT PANEL
========================================= */

.auth-left-panel{
    width:42%;
    min-width:560px;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:60px;
    overflow:hidden;
    background:
        radial-gradient(
            circle at bottom left,
            rgba(255,90,90,.12),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #0B0C11 0%,
            #090A0F 100%
        );
}

.auth-left-panel::before{
    content:'';
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            to right,
            rgba(255,255,255,.02),
            transparent
        );
    pointer-events:none;
}

.auth-left-panel::after{
    content:'';
    position:absolute;
    top:0;
    right:0;
    width:1px;
    height:100%;
    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(255,255,255,.08),
            transparent
        );
}

.auth-left-inner{
    width:100%;
    max-width:420px;
    position:relative;
    z-index:10;
}

.auth-brand{
    margin-bottom:18px;
}

.brand-logo{
    width:270px;
    display:block;
}

.auth-copy{
    margin-bottom:32px;
}

.auth-copy p{
    font-size:17px;
    line-height:1.65;
    color:#8B909B;
    font-weight:400;
    max-width:390px;
}

/* =========================================
GLASS CARD
========================================= */

.auth-glass-card{
    position:relative;
    border-radius:28px;
    padding:30px;
    overflow:hidden;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.018)
        );
    border:1px solid rgba(255,255,255,.05);
    backdrop-filter:blur(22px);
    -webkit-backdrop-filter:blur(22px);
    box-shadow:
        0 18px 50px rgba(0,0,0,.38),
        inset 0 1px 0 rgba(255,255,255,.04);
}

.auth-glass-card::before{
    content:'';
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.025),
            transparent 38%
        );
    pointer-events:none;
}

.form-group{
    margin-bottom:18px;
}

.form-group label{
    display:block;
    margin-bottom:9px;
    font-size:10px;
    letter-spacing:.18em;
    text-transform:uppercase;
    font-weight:650;
    color:#DCDDDF;
}

.password-field{
    position:relative;
}

.form-group input{
    width:100%;
    height:50px;
    border:none;
    outline:none;
    border-radius:14px;
    padding:0 46px 0 16px;
    background:rgba(255,255,255,.018);
    border:1px solid rgba(255,255,255,.04);
    color:#fff;
    font-size:14px;
    font-weight:450;
    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.012);
}

.form-group input::placeholder{
    color:#626671;
    font-weight:400;
}

.form-group input:focus{
    border-color:rgba(255,90,90,.18);
    background:rgba(255,255,255,.03);
    box-shadow:
        0 0 0 3px rgba(255,90,90,.05);
}

.password-toggle{
    position:absolute;
    top:50%;
    right:14px;
    transform:translateY(-50%);
    width:28px;
    height:28px;
    border:none;
    border-radius:8px;
    background:transparent;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#6D717B;
    cursor:pointer;
    transition:.18s ease;
}

.password-toggle:hover{
    background:rgba(255,255,255,.03);
    color:#AEB3BD;
}

.password-toggle svg{
    width:15px;
    height:15px;
}

.form-options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:22px;
}

.checkbox{
    display:flex;
    align-items:center;
    gap:7px;
    color:#838892;
    font-size:12.5px;
}

.forgot-link{
    font-size:12.5px;
    color:#FF7070;
}

.submit-btn{
    width:100%;
    height:52px;
    border:none;
    border-radius:14px;
    cursor:pointer;
    position:relative;
    overflow:hidden;
    color:#fff;
    font-size:15px;
    font-weight:650;
    letter-spacing:-.01em;
    transition:.22s ease;
    background:
        linear-gradient(
            135deg,
            #FF6666 0%,
            #E84444 100%
        );
    box-shadow:
        0 12px 30px rgba(232,64,64,.2);
}

.submit-btn:hover{
    transform:translateY(-1px);
    box-shadow:
        0 16px 36px rgba(232,64,64,.26);
}

.auth-support{
    margin-top:24px;
    text-align:center;
    color:#7F848F;
    font-size:13px;
}

.auth-support a{
    color:#FF6B6B;
}

/* =========================================
RIGHT PANEL
========================================= */

.auth-right-panel{
    flex:1;
    position:relative;
    overflow:hidden;
    background:url('/theme/superstar/img/bg-auth.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.auth-right-panel::after{
    content:'';
    position:absolute;
    inset:0;
    z-index:3;
    background:
        linear-gradient(
            90deg,
            #090A0F 0%,
            rgba(9,10,15,.88) 12%,
            rgba(9,10,15,.22) 40%,
            rgba(9,10,15,.35) 100%
        );
}

.hero-scene{
    position:absolute;
    inset:0;
}

.hero-scene img{
    width:100%;
    height:100%;
    object-fit:cover;
    filter:
        brightness(.42)
        saturate(.82)
        contrast(1.05)
        blur(.3px);
    transform:scale(1.06);
}

/* =========================================
HERO CONTENT
========================================= */

.hero-content{
    position:absolute;
    left:110px;
    bottom:85px;
    z-index:10;
    max-width:760px;
}

.hero-content h1{
    font-size:92px;
    line-height:.92;
    letter-spacing:-.075em;
    color:#fff;
    font-weight:500;
    margin-bottom:30px;
}

.hero-content h1 span{
    color:#FF6B6B;
    font-style:italic;
    position:relative;
    margin-right: 10px;
}

.hero-content h1 span::after{
    content:'';
    position:absolute;
    left:0;
    bottom:10px;
    width:100%;
    height:14px;
    background:rgba(255,107,107,.12);
    filter:blur(10px);
}

.hero-content p{
    max-width:620px;
    font-size:27px;
    line-height:1.55;
    color:#B8BAC2;
    margin-bottom:48px;
}

/* =========================================
FEATURE CARDS
========================================= */

.feature-grid{
    display:flex;
    gap:18px;
}

.feature-item{
    width:220px;
    padding:22px;
    border-radius:26px;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.06),
            rgba(255,255,255,.025)
        );
    border:1px solid rgba(255,255,255,.06);
    backdrop-filter:blur(30px);
    -webkit-backdrop-filter:blur(30px);
    box-shadow:
        0 10px 40px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.05);
}

.feature-icon{
    width:48px;
    height:48px;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,107,107,.08);
    color:#FF6B6B;
    margin-bottom:18px;
    font-size:24px;
}

.feature-item strong{
    display:block;
    color:#fff;
    font-size:15px;
    margin-bottom:8px;
    font-weight:600;
}

.feature-item span{
    color:#9598A2;
    line-height:1.65;
    font-size:14px;
}

/* =========================================
ALERTS
========================================= */

.alert-error,
.alert-success{
    margin-bottom:22px;
    padding:18px 20px;
    border-radius:18px;
    font-size:14px;
}

.alert-error{
    background:rgba(255,90,90,.08);
    color:#FF7B7B;
    border:1px solid rgba(255,90,90,.14);
}

.alert-success{
    background:rgba(54,211,153,.08);
    color:#7DFFC8;
    border:1px solid rgba(54,211,153,.14);
}

/* =========================================
RESPONSIVE
========================================= */

@media(max-width:1400px){

    .hero-content h1{
        font-size:72px;
    }

    .hero-content p{
        font-size:22px;
    }

    .feature-grid{
        flex-wrap:wrap;
    }
}

@media(max-width:1180px){

    .auth-right-panel{
        display:none;
    }

    .auth-left-panel{
        width:100%;
        min-width:100%;
    }
}

@media(max-width:640px){

    body{
        overflow:auto;
    }

    .auth-left-panel{
        padding:28px;
    }

    .auth-glass-card{
        padding:28px;
        border-radius:26px;
    }

    .brand-logo{
        width:240px;
    }

    .auth-copy p{
        font-size:16px;
    }

    .form-options{
        flex-direction:column;
        align-items:flex-start;
        gap:14px;
    }
}


/* =========================================
SUPPORT / LOGIN INSTRUCTIONS
========================================= */

.support-page{
    min-height:100vh;
    padding:64px 32px 90px;
    background:
        radial-gradient(
            circle at top left,
            rgba(255,90,90,.08),
            transparent 24%
        ),
        linear-gradient(
            180deg,
            #090A0F 0%,
            #07080D 100%
        );
    overflow-x:hidden;
}

.support-page .auth-logo{
    display:flex;
    justify-content:center;
    margin-bottom:34px;
}

.support-page .auth-logo img{
    width:260px;
    display:block;
}

[data-theme="dark"] .logo-light{
    display:none !important;
}

[data-theme="dark"] .logo-dark{
    display:block !important;
}

.support-container{
    width:100%;
    max-width:920px;
    margin:0 auto;
}

/* =========================================
HERO
========================================= */

.support-hero{
    text-align:center;
    margin-bottom:36px;
}

.support-hero h1{
    font-size:52px;
    line-height:1;
    letter-spacing:-.055em;
    color:#fff;
    margin-bottom:14px;
    font-weight:800;
}

.support-subtitle{
    color:#9A9EA8;
    font-size:18px;
    line-height:1.6;
}

/* =========================================
CARDS
========================================= */

.simple-credentials,
.support-card{
    position:relative;
    border-radius:30px;
    padding:34px;
    margin-bottom:24px;
    overflow:hidden;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.02)
        );
    border:1px solid rgba(255,255,255,.06);
    backdrop-filter:blur(26px);
    -webkit-backdrop-filter:blur(26px);
    box-shadow:
        0 18px 60px rgba(0,0,0,.38),
        inset 0 1px 0 rgba(255,255,255,.04);
}

.simple-credentials::before,
.support-card::before{
    content:'';
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.03),
            transparent 42%
        );
    pointer-events:none;
}

/* =========================================
HEADER
========================================= */

.credentials-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-bottom:24px;
}

.header-left{
    display:flex;
    align-items:center;
    gap:14px;
}

.header-left i{
    width:48px;
    height:48px;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,90,90,.08);
    color:#FF6B6B;
    font-size:18px;
}

.header-left h3{
    font-size:24px;
    letter-spacing:-.03em;
    color:#fff;
    font-weight:700;
}

.copy-all-btn{
    height:46px;
    padding:0 20px;
    border:none;
    border-radius:16px;
    cursor:pointer;
    color:#fff;
    font-size:14px;
    font-weight:600;
    transition:.25s ease;
    background:
        linear-gradient(
            135deg,
            #FF6B6B 0%,
            #E84040 100%
        );
    box-shadow:
        0 14px 36px rgba(232,64,64,.22);
}

.copy-all-btn:hover{
    transform:translateY(-2px);
}

/* =========================================
TEXT
========================================= */

.credentials-intro,
.card-content p,
.support-notice-content p,
.channel-info p,
.welcome-text{
    color:#9A9EA8;
    line-height:1.75;
    font-size:15px;
}

.credentials-intro{
    margin-bottom:28px;
}

.credentials-intro strong,
.welcome-text strong,
.support-notice p strong{
    color:#fff;
}

/* =========================================
CREDENTIAL ITEMS
========================================= */

.credentials-list{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.credential-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
    padding:20px 22px;
    border-radius:22px;
    background:rgba(255,255,255,.025);
    border:1px solid rgba(255,255,255,.05);
    transition:.24s ease;
}

.credential-item:hover{
    background:rgba(255,255,255,.04);
    border-color:rgba(255,255,255,.08);
}

.credential-label{
    min-width:170px;
    display:flex;
    align-items:center;
    gap:12px;
}

.credential-label i{
    color:#FF6B6B;
    font-size:15px;
}

.credential-label span{
    color:#fff;
    font-size:14px;
    font-weight:600;
    letter-spacing:.01em;
}

.credential-value{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:14px;
    flex-wrap:wrap;
    color:#A7ABB5;
    font-size:14px;
}

.url-link{
    color:#FF7B7B;
    font-weight:500;
    transition:.2s ease;
}

.url-link:hover{
    color:#FFA0A0;
}

.external-icon{
    margin-left:6px;
    font-size:11px;
}

.password-text{
    padding:10px 14px;
    border-radius:14px;
    color:#fff;
    font-size:14px;
    font-family:'SF Mono','Fira Code',monospace;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.06);
}

.copy-btn{
    height:40px;
    padding:0 16px;
    border:none;
    border-radius:14px;
    cursor:pointer;
    color:#fff;
    font-size:13px;
    font-weight:600;
    transition:.22s ease;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.06);
}

.copy-btn:hover{
    background:rgba(255,255,255,.08);
}

/* =========================================
TOOLTIP
========================================= */

.info-tooltip{
    position:relative;
}

.info-icon{
    color:#80838C;
    cursor:pointer;
}

.tooltip-text{
    position:absolute;
    left:50%;
    bottom:calc(100% + 12px);
    transform:translateX(-50%);
    white-space:nowrap;
    padding:10px 14px;
    border-radius:12px;
    background:#171922;
    color:#fff;
    font-size:12px;
    opacity:0;
    visibility:hidden;
    transition:.2s ease;
    border:1px solid rgba(255,255,255,.06);
}

.info-tooltip:hover .tooltip-text{
    opacity:1;
    visibility:visible;
}

/* =========================================
NOTICES
========================================= */

.credentials-note,
.support-notice,
.support-notice-info{
    border-radius:22px;
    padding:22px;
    margin-top:26px;
    background:rgba(255,255,255,.025);
    border:1px solid rgba(255,255,255,.05);
}

.credentials-note{
    border-left:3px solid #FF6B6B;
}

.credentials-note p,
.support-notice p{
    color:#A7ABB5;
    line-height:1.7;
    font-size:14px;
}

.support-notice-info{
    display:flex;
    gap:18px;
    margin:28px 0;
}

.support-notice-info i,
.support-notice i{
    color:#FF6B6B;
    margin-top:3px;
}

.support-notice{
    display:flex;
    gap:16px;
}

/* =========================================
CHANNEL
========================================= */

.channel{
    display:flex;
    gap:18px;
    padding:24px;
    border-radius:24px;
    margin-top:22px;
    background:rgba(255,255,255,.025);
    border:1px solid rgba(255,255,255,.05);
}

.channel-icon i{
    width:52px;
    height:52px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,90,90,.08);
    color:#FF6B6B;
    font-size:18px;
}

.channel-info h4{
    color:#fff;
    font-size:18px;
    margin-bottom:6px;
    font-weight:600;
}

.channel-action{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-top:8px;
    color:#FF7B7B;
    font-size:14px;
    font-weight:600;
}

/* =========================================
WELCOME
========================================= */

.welcome-message{
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.06),
            rgba(255,255,255,.025)
        );
}

.welcome-header{
    margin-bottom:18px;
}

.welcome-header h3{
    color:#fff;
    font-size:30px;
    letter-spacing:-.04em;
    font-weight:700;
}

.welcome-features{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    margin-top:28px;
}

.feature-highlight{
    display:flex;
    align-items:center;
    gap:10px;
    padding:14px 18px;
    border-radius:18px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.05);
}

.feature-highlight i{
    color:#FF6B6B;
}

.feature-highlight span{
    color:#fff;
    font-size:14px;
    font-weight:500;
}

.signature{
    margin-top:30px;
    padding-top:24px;
    border-top:1px solid rgba(255,255,255,.06);
}

.signature strong{
    display:block;
    margin-bottom:8px;
    color:#fff;
    font-size:16px;
}

.signature p{
    color:#888C96;
    font-size:14px;
}

/* =========================================
TOAST
========================================= */

.global-toast{
    position:fixed;
    left:50%;
    bottom:30px;
    transform:translateX(-50%) translateY(120px);
    z-index:9999;
    display:flex;
    align-items:center;
    gap:12px;
    padding:16px 22px;
    border-radius:18px;
    color:#fff;
    font-size:14px;
    font-weight:600;
    background:#171922;
    border:1px solid rgba(255,255,255,.06);
    box-shadow:
        0 18px 50px rgba(0,0,0,.45);
    transition:.32s cubic-bezier(.2,.8,.2,1);
}

.global-toast.show{
    transform:translateX(-50%) translateY(0);
}

.global-toast i{
    color:#7DFFC8;
}

/* =========================================
RESPONSIVE
========================================= */

@media(max-width:768px){

    .support-page{
        padding:34px 18px 70px;
    }

    .support-hero h1{
        font-size:38px;
    }

    .simple-credentials,
    .support-card{
        padding:24px;
        border-radius:24px;
    }

    .credentials-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .credential-item{
        flex-direction:column;
        align-items:flex-start;
    }

    .credential-value{
        width:100%;
        justify-content:flex-start;
    }

    .support-notice-info,
    .support-notice,
    .channel{
        flex-direction:column;
    }

    .welcome-features{
        flex-direction:column;
    }
}