/*==================================================
        SENKU STAKES
        FORGOT PASSWORD PAGE
        PART 1
==================================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

:root{

    --bg:#070b16;

    --card:#111827;

    --card2:#171f33;

    --primary:#7b2cff;

    --secondary:#00d4ff;

    --text:#ffffff;

    --muted:#9ca3af;

    --border:rgba(255,255,255,.08);

}


html{

    scroll-behavior:smooth;

}


body{

    font-family:"Inter",sans-serif;

    background:var(--bg);

    color:var(--text);

    min-height:100vh;

    overflow-x:hidden;

}


/*=============================
        BACKGROUND GRID
=============================*/

body::before{

    content:"";

    position:fixed;

    inset:0;

    background-image:

    linear-gradient(
        rgba(255,255,255,.03) 1px,
        transparent 1px
    ),

    linear-gradient(
        90deg,
        rgba(255,255,255,.03) 1px,
        transparent 1px
    );

    background-size:55px 55px;

    z-index:-5;

}


/*=============================
            GLOWS
=============================*/

.glow{

    position:fixed;

    border-radius:50%;

    filter:blur(140px);

    opacity:.22;

    z-index:-4;

}


.glow1{

    width:420px;

    height:420px;

    background:#7b2cff;

    top:-150px;

    left:-150px;

}


.glow2{

    width:520px;

    height:520px;

    background:#00d4ff;

    right:-200px;

    bottom:-200px;

}


.glow3{

    width:300px;

    height:300px;

    background:#8b5cf6;

    top:45%;

    left:50%;

}


/*=============================
            HEADER
=============================*/

header{

    padding:30px 7%;

}


.logo{

    display:flex;

    align-items:center;

    gap:15px;

    text-decoration:none;

    color:#fff;

}


.logo-box{

    width:60px;

    height:60px;

    border-radius:18px;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:26px;

    font-weight:800;

    background:

    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    box-shadow:

    0 20px 45px rgba(123,44,255,.35);

}


.logo h2{

    font-size:25px;

    font-weight:800;

}


.logo small{

    color:var(--muted);

}


/*=============================
            MAIN
=============================*/

main{

    min-height:calc(100vh - 130px);

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px 20px 80px;

}


/*=============================
        FORGOT CARD
=============================*/

.forgot-card{

    width:100%;

    max-width:560px;

    background:

    rgba(17,24,39,.90);

    backdrop-filter:blur(22px);

    border-radius:32px;

    border:1px solid var(--border);

    padding:50px;

    box-shadow:

    0 35px 70px rgba(0,0,0,.45);

    position:relative;

    overflow:hidden;

}


.forgot-card::before{

    content:"";

    position:absolute;

    inset:0;

    border-radius:32px;

    padding:1px;

    background:

    linear-gradient(
        135deg,
        rgba(123,44,255,.6),
        rgba(0,212,255,.4),
        transparent
    );

    -webkit-mask:

    linear-gradient(#fff 0 0) content-box,

    linear-gradient(#fff 0 0);

    -webkit-mask-composite:xor;

}


.forgot-card::after{

    content:"";

    position:absolute;

    width:260px;

    height:260px;

    border-radius:50%;

    background:

    rgba(123,44,255,.08);

    right:-130px;

    top:-130px;

}
/*==================================================
            CARD TOP
==================================================*/

.card-top{

    position:relative;

    z-index:2;

    text-align:center;

    margin-bottom:38px;

}


.forgot-icon{

    width:92px;

    height:92px;

    margin:auto;

    border-radius:26px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:

    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    font-size:34px;

    box-shadow:

    0 25px 50px rgba(123,44,255,.35);

    margin-bottom:25px;

    animation:floatIcon 4s ease-in-out infinite;

}


@keyframes floatIcon{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-8px);

    }

    100%{

        transform:translateY(0);

    }

}


.card-top h1{

    font-size:42px;

    font-weight:800;

    margin-bottom:14px;

}


.card-top p{

    color:var(--muted);

    font-size:16px;

    line-height:1.8;

}


/*==================================================
                FORM
==================================================*/

form{

    position:relative;

    z-index:2;

    display:flex;

    flex-direction:column;

    gap:22px;

}


.input-group{

    display:flex;

    flex-direction:column;

    gap:10px;

}


.input-group label{

    font-size:15px;

    font-weight:600;

    color:#d8def0;

}


.input-group input{

    width:100%;

    height:62px;

    padding:0 20px;

    border-radius:18px;

    border:1px solid var(--border);

    outline:none;

    background:var(--card2);

    color:#fff;

    font-size:15px;

    transition:.35s;

}


.input-group input::placeholder{

    color:#7f8aa8;

}


.input-group input:hover{

    border-color:rgba(123,44,255,.35);

}


.input-group input:focus{

    border-color:var(--primary);

    background:#1b2540;

    box-shadow:

    0 0 0 4px rgba(123,44,255,.18);

}


/*==================================================
        RESET BUTTON
==================================================*/

.reset-btn{

    width:100%;

    height:62px;

    border:none;

    border-radius:18px;

    cursor:pointer;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    color:#fff;

    font-size:17px;

    font-weight:700;

    background:

    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    box-shadow:

    0 18px 45px rgba(123,44,255,.35);

    transition:.35s;

}


.reset-btn:hover{

    transform:translateY(-4px);

    box-shadow:

    0 28px 60px rgba(123,44,255,.45);

}


.reset-btn:active{

    transform:scale(.98);

}


/*==================================================
                DIVIDER
==================================================*/

.divider{

    display:flex;

    align-items:center;

    gap:18px;

    margin:5px 0;

}


.divider::before,

.divider::after{

    content:"";

    flex:1;

    height:1px;

    background:rgba(255,255,255,.08);

}


.divider span{

    color:#8e97b4;

    font-size:13px;

    font-weight:700;

    letter-spacing:2px;

}
/*==================================================
            BACK TO LOGIN
==================================================*/

.back-login{

    width:100%;

    height:58px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    border-radius:18px;

    text-decoration:none;

    color:#ffffff;

    font-size:15px;

    font-weight:600;

    background:#171f33;

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

}


.back-login:hover{

    transform:translateY(-3px);

    border-color:var(--primary);

    background:#1d2742;

    box-shadow:

    0 15px 35px rgba(123,44,255,.18);

}


.back-login i{

    font-size:16px;

}


/*==================================================
        SECURITY BOX
==================================================*/

.security-box{

    position:relative;

    z-index:2;

    display:flex;

    align-items:flex-start;

    gap:18px;

    margin-top:35px;

    padding:22px;

    border-radius:22px;

    background:

    rgba(123,44,255,.08);

    border:1px solid rgba(123,44,255,.18);

}


.security-icon{

    min-width:52px;

    height:52px;

    border-radius:16px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:

    linear-gradient(
        135deg,
        #7b2cff,
        #00d4ff
    );

    font-size:20px;

}


.security-box h3{

    font-size:17px;

    margin-bottom:8px;

}


.security-box p{

    color:#aeb6cd;

    font-size:14px;

    line-height:1.7;

}


/*==================================================
            BOTTOM TEXT
==================================================*/

.bottom-text{

    position:relative;

    z-index:2;

    text-align:center;

    margin-top:32px;

    color:var(--muted);

    font-size:15px;

}


.bottom-text a{

    color:#9d7dff;

    font-weight:700;

    text-decoration:none;

    margin-left:5px;

    transition:.3s;

}


.bottom-text a:hover{

    color:var(--secondary);

}


/*==================================================
            CARD ANIMATION
==================================================*/

.forgot-card{

    animation:

    cardShow .8s ease;

}


@keyframes cardShow{

    from{

        opacity:0;

        transform:

        translateY(40px)
        scale(.96);

    }


    to{

        opacity:1;

        transform:

        translateY(0)
        scale(1);

    }

}


/*==================================================
            SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:10px;

}


::-webkit-scrollbar-track{

    background:#0b1020;

}


::-webkit-scrollbar-thumb{

    background:

    linear-gradient(
        var(--primary),
        var(--secondary)
    );

    border-radius:20px;

}


/*==================================================
            RESPONSIVE
==================================================*/

@media(max-width:700px){


    header{

        padding:22px;

    }


    main{

        padding:25px 15px 50px;

    }


    .forgot-card{

        padding:35px 22px;

        border-radius:24px;

    }


    .forgot-icon{

        width:78px;

        height:78px;

        font-size:28px;

    }


    .card-top h1{

        font-size:32px;

    }


    .card-top p{

        font-size:14px;

    }


    .security-box{

        flex-direction:column;

    }


}


@media(max-width:450px){


    .logo-box{

        width:52px;

        height:52px;

    }


    .logo h2{

        font-size:20px;

    }


    .forgot-card{

        padding:28px 18px;

    }


    .card-top h1{

        font-size:27px;

    }


    .reset-btn{

        height:56px;

        font-size:15px;

    }


    .back-login{

        height:54px;

    }

}
/*================================
        RESPONSIVE
================================*/

@media(max-width:1100px){

.platform-balance-card{

flex-direction:column;

align-items:flex-start;

gap:25px;

}

.balance-right{

width:100%;

display:grid;

grid-template-columns:1fr 1fr;

}

}

@media(max-width:850px){

.withdraw-grid{

grid-template-columns:1fr;

}

.history-header{

flex-direction:column;

align-items:flex-start;

}

.history-search{

width:100%;

}

.platform-main{

padding:20px;

}

.admin-sidebar{

width:230px;

}

}

@media(max-width:650px){

.balance-right{

grid-template-columns:1fr;

}

.page-header{

flex-direction:column;

align-items:flex-start;

gap:20px;

}

.admin-profile{

width:100%;

}

}
/*================================
        PAGE ANIMATION
================================*/

.platform-main > section,
.page-header{

opacity:0;

animation:pageEnter .7s ease forwards;

}


.page-header{

animation-delay:.1s;

}


.platform-balance-card{

animation-delay:.2s;

}


.platform-withdraw-card{

animation-delay:.35s;

}


.withdraw-history-card{

animation-delay:.5s;

}


@keyframes pageEnter{


from{

opacity:0;

transform:translateY(25px);

}


to{

opacity:1;

transform:translateY(0);

}


}



/*================================
        BALANCE GLOW EFFECT
================================*/


.platform-balance-card{

position:relative;

overflow:hidden;

}


.platform-balance-card::before{

content:"";

position:absolute;

width:300px;

height:300px;

right:-120px;

top:-120px;

background:

radial-gradient(

circle,

rgba(123,44,255,.35),

transparent 70%

);

pointer-events:none;

}



.balance-icon{

animation:

balanceFloat 4s ease-in-out infinite;

}



@keyframes balanceFloat{


0%,
100%{

transform:translateY(0);

}


50%{

transform:translateY(-8px);

}


}



/*================================
        FORM CARD EFFECT
================================*/


.platform-withdraw-card{

position:relative;

overflow:hidden;

}



.platform-withdraw-card::after{

content:"";

position:absolute;

width:250px;

height:250px;

bottom:-120px;

right:-100px;

background:

radial-gradient(

circle,

rgba(0,212,255,.25),

transparent 70%

);

}



/*================================
        INPUT HOVER
================================*/


.form-group input:hover,

.form-group select:hover{


border-color:rgba(123,44,255,.6);

}



.form-group input,

.form-group select{

transform:translateY(0);

}


.form-group input:focus,

.form-group select:focus{


transform:translateY(-2px);


}



/*================================
        BUTTON SHINE EFFECT
================================*/


#platformWithdrawBtn{

position:relative;

overflow:hidden;

}



#platformWithdrawBtn::before{


content:"";


position:absolute;


top:0;


left:-100%;


width:60%;


height:100%;


background:

linear-gradient(

120deg,

transparent,

rgba(255,255,255,.35),

transparent

);


transition:.6s;


}



#platformWithdrawBtn:hover::before{


left:120%;


}



/*================================
        HISTORY TABLE ANIMATION
================================*/


.withdraw-history-card{


animation:

historyReveal .8s ease forwards;


}


@keyframes historyReveal{


from{

opacity:0;

transform:translateY(40px);

}


to{

opacity:1;

transform:translateY(0);

}


}



tbody tr{


animation:

rowEnter .4s ease forwards;


}



@keyframes rowEnter{


from{

opacity:0;

transform:translateX(-20px);

}


to{

opacity:1;

transform:translateX(0);

}


}



/*================================
        SEARCH PREMIUM EFFECT
================================*/


.history-search{

transition:.3s;

}


.history-search:hover{


transform:translateY(-2px);


}



.history-search input{


background:

linear-gradient(

135deg,

#111b2e,

#16233c

);


}



/*================================
        TABLE HEADER STYLE
================================*/


thead th:first-child{

border-radius:14px 0 0 14px;

}


thead th:last-child{

border-radius:0 14px 14px 0;

}



/*================================
        CUSTOM SCROLLBAR
================================*/


::-webkit-scrollbar{

width:8px;

height:8px;

}


::-webkit-scrollbar-track{

background:#08101d;

}


::-webkit-scrollbar-thumb{

background:

linear-gradient(

180deg,

#7b2cff,

#00d4ff

);


border-radius:20px;

}
/*================================
        WITHDRAW HISTORY PANEL
================================*/


.withdraw-history-card{

padding:30px;

border-radius:24px;

background:rgba(255,255,255,.05);

border:1px solid rgba(255,255,255,.08);

backdrop-filter:blur(20px);

box-shadow:

0 20px 45px rgba(0,0,0,.25);

overflow:hidden;

}



.history-header{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:25px;

}



.history-header h2{

font-size:26px;

font-weight:800;

color:#fff;

margin-bottom:6px;

}



.history-header p{

font-size:14px;

color:#8f98b5;

}



/*================================
        SEARCH BOX
================================*/


.history-search{

position:relative;

width:300px;

}



.history-search i{

position:absolute;

left:18px;

top:50%;

transform:translateY(-50%);

color:#7b2cff;

font-size:15px;

}



.history-search input{

height:50px;

width:100%;

padding-left:48px;

padding-right:18px;

border-radius:15px;

border:1px solid rgba(255,255,255,.08);

background:#111b2e;

color:white;

outline:none;

transition:.3s;

}



.history-search input::placeholder{

color:#68738f;

}



.history-search input:focus{

border-color:#7b2cff;

box-shadow:

0 0 0 4px rgba(123,44,255,.15);

transform:translateY(-2px);

}



/*================================
        TABLE CONTAINER
================================*/


.withdraw-history-card .table-container{

overflow-x:auto;

border-radius:18px;

}



/*================================
        TABLE
================================*/


.withdraw-history-card table{

width:100%;

border-collapse:collapse;

min-width:850px;

}



.withdraw-history-card thead{

background:#111b2e;

}



.withdraw-history-card th{

padding:18px;

text-align:left;

font-size:13px;

text-transform:uppercase;

letter-spacing:.5px;

color:#94a3b8;

}



.withdraw-history-card td{

padding:18px;

border-bottom:

1px solid rgba(255,255,255,.06);

font-size:14px;

color:#e5e7eb;

}



.withdraw-history-card tbody tr{

transition:.3s;

}



.withdraw-history-card tbody tr:hover{

background:

rgba(123,44,255,.08);

transform:translateX(4px);

}



/*================================
        STATUS BADGES
================================*/


.status{

padding:7px 14px;

border-radius:50px;

font-size:12px;

font-weight:700;

display:inline-flex;

align-items:center;

gap:6px;

}



.status.completed{

background:

rgba(34,197,94,.15);

color:#22c55e;

}



.status.pending{

background:

rgba(245,158,11,.15);

color:#f59e0b;

}



.status.failed{

background:

rgba(239,68,68,.15);

color:#ef4444;

}



/*================================
        EMPTY HISTORY
================================*/


.empty-history{

display:flex;

flex-direction:column;

align-items:center;

justify-content:center;

padding:70px 20px;

}



.empty-history i{

font-size:55px;

color:#7b2cff;

margin-bottom:20px;

animation:

emptyFloat 3s ease-in-out infinite;

}



@keyframes emptyFloat{


0%,
100%{

transform:translateY(0);

}


50%{

transform:translateY(-10px);

}


}



.empty-history h3{

font-size:22px;

font-weight:700;

margin-bottom:10px;

}



.empty-history p{

color:#8f98b5;

font-size:14px;

}



/*================================
        HISTORY RESPONSIVE
================================*/


@media(max-width:900px){


.history-header{

flex-direction:column;

align-items:flex-start;

gap:20px;

}


.history-search{

width:100%;

}


}
#addCardBtn{

height:55px;

padding:0 25px;

border:none;

border-radius:15px;

background:
linear-gradient(
135deg,
#7b2cff,
#00d4ff
);

color:white;

font-weight:700;

cursor:pointer;

align-items:center;

justify-content:center;

gap:10px;

margin-top:15px;
display:flex;

}


#addCardBtn:hover{

transform:translateY(-2px);

box-shadow:
0 15px 35px rgba(123,44,255,.35);

}
 /*================================
        MOBILE SIDEBAR TOP FIX
================================*/


@media(max-width:850px){


.platform-layout{

flex-direction:column;

}


/* Sidebar stays on top */

.admin-sidebar{

width:100%;

min-height:auto;

padding:18px;

border-right:none;

border-bottom:1px solid rgba(255,255,255,.08);

}



/* Brand center */

.admin-brand{

justify-content:center;

margin-bottom:25px;

}



/* Navigation becomes horizontal */

.admin-sidebar nav{

flex-direction:row;

overflow-x:auto;

gap:8px;

}



.admin-sidebar nav a{

white-space:nowrap;

padding:12px 15px;

}



/* Logout stays below menu */

.admin-logout{

margin-top:20px;

}



.platform-main{

padding:20px;

width:100%;

}

}



/*================================
        SMALL MOBILE
================================*/


@media(max-width:600px){


.page-header{

flex-direction:column;

align-items:flex-start;

gap:18px;

}



.platform-balance-card{

padding:22px;

}



.balance-left h2{

font-size:30px;

}



.balance-icon{

width:65px;

height:65px;

font-size:24px;

}



.balance-right{

width:100%;

grid-template-columns:1fr;

}



.balance-mini{

width:100%;

}



.platform-withdraw-card,

.withdraw-history-card{

padding:20px;

border-radius:20px;

}



.withdraw-grid{

grid-template-columns:1fr;

}



#platformWithdrawBtn{

height:55px;

font-size:15px;

}



.history-search{

width:100%;

}


}



/*================================
        EXTRA SMALL PHONE
================================*/


@media(max-width:400px){


.admin-sidebar nav a{

font-size:13px;

padding:10px 12px;

}



.logo-box{

width:48px;

height:48px;

}



.admin-brand h2{

font-size:18px;

}



.platform-main{

padding:15px;

}


}