/* =========================
   RESET + GLOBAL FIX
========================= */

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

html{
    width:100%;
    height:100%;
    -webkit-text-size-adjust:100%;
    scroll-behavior:smooth;
}

body{
    width:100%;
    min-height:100vh;

    background:
    radial-gradient(
    circle at top,
    #1f1f1f 0%,
    #090909 45%,
    #040404 100%
    );

    display:flex;
    align-items:center;
    justify-content:center;

    padding:20px;

    font-family:Arial,sans-serif;
    color:#fff;

    overflow-x:hidden;

    touch-action:manipulation;

    position:relative;
}

/* =========================
   MOBILE INPUT ZOOM FIX
========================= */

input,
textarea,
select,
button{
    font-size:16px !important;
    -webkit-appearance:none;
    appearance:none;
}

/* =========================
   AUTH BOX
========================= */

.auth-box{

    width:100%;
    max-width:420px;

    background:
    linear-gradient(
    145deg,
    rgba(22,22,22,0.97),
    rgba(8,8,8,0.98)
    );

    border:1px solid rgba(255,255,255,0.06);

    border-radius:28px;

    padding:34px 28px;

    position:relative;

    overflow:hidden;

    backdrop-filter:blur(12px);

    box-shadow:
    0 25px 70px rgba(0,0,0,0.7),
    0 0 35px rgba(37,219,18,0.08);

}

/* =========================
   TOP GLOW
========================= */

.auth-box::before{

    content:"";

    position:absolute;

    width:220px;
    height:220px;

    background:
    rgba(37,219,18,0.12);

    border-radius:50%;

    top:-120px;
    right:-100px;

    filter:blur(45px);

}

/* =========================
   TITLE
========================= */

.auth-box h2{

    font-size:34px;

    font-weight:900;

    margin-bottom:10px;

    line-height:1.2;

    background:
    linear-gradient(
    90deg,
    #25db12,
    #38ff72
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

}

/* =========================
   SUBTEXT
========================= */

.auth-box p{

    color:#9a9a9a;

    font-size:15px;

    line-height:25px;

    margin-bottom:28px;

}

/* =========================
   INPUTS
========================= */

.auth-box input{

    width:100%;

    height:56px;

    margin-bottom:16px;

    border:
    1px solid rgba(255,255,255,0.06);

    background:#0c0c0c;

    color:#fff;

    border-radius:16px;

    padding:0 18px;

    outline:none;

    transition:0.25s;

}

/* PLACEHOLDER */

.auth-box input::placeholder{

    color:#666;

}

/* INPUT FOCUS */

.auth-box input:focus{

    border-color:#25db12;

    box-shadow:
    0 0 0 4px rgba(37,219,18,0.12);

}

/* =========================
   BUTTON
========================= */

.auth-box button{

    width:100%;

    height:56px;

    border:none;

    border-radius:18px;

    background:
    linear-gradient(
    180deg,
    #25db12,
    #159b05
    );

    color:#fff;

    font-weight:900;

    cursor:pointer;

    transition:0.25s;

    box-shadow:
    0 10px 30px rgba(37,219,18,0.35);

}

/* HOVER */

.auth-box button:hover{

    transform:translateY(-2px);

}

/* ACTIVE */

.auth-box button:active{

    transform:scale(0.98);

}

/* =========================
   LINK
========================= */

.auth-box a{

    display:block;

    text-align:center;

    color:#42b3ff;

    margin-top:22px;

    text-decoration:none;

    transition:0.25s;

    font-size:15px;

}

.auth-box a:hover{

    color:#75c8ff;

}

/* =========================
   ERROR MESSAGE
========================= */

.msg{

    background:
    rgba(255,59,59,0.12);

    border:
    1px solid rgba(255,59,59,0.2);

    color:#ffbaba;

    padding:14px;

    border-radius:14px;

    margin-bottom:18px;

    font-size:14px;

    line-height:22px;

}

/* =========================
   TABLET
========================= */

@media(max-width:768px){

    body{

        padding:16px;

        align-items:center;
        justify-content:center;

    }

    .auth-box{

        max-width:100%;

        padding:28px 22px;

        border-radius:24px;

    }

    .auth-box h2{

        font-size:30px;

    }

}

/* =========================
   MOBILE
========================= */

@media(max-width:600px){

    body{

        padding:14px;

    }

    .auth-box{

        width:100%;

        padding:24px 18px;

        border-radius:22px;

    }

    .auth-box h2{

        font-size:27px;

    }

    .auth-box p{

        font-size:14px;

        line-height:22px;

        margin-bottom:22px;

    }

    .auth-box input{

        height:52px;

        border-radius:14px;

        padding:0 15px;

    }

    .auth-box button{

        height:52px;

        border-radius:16px;

        font-size:16px;

    }

    .auth-box a{

        margin-top:18px;

        font-size:14px;

    }

}

/* =========================
   SMALL MOBILE
========================= */

@media(max-width:380px){

    body{

        padding:10px;

    }

    .auth-box{

        padding:22px 16px;

        border-radius:20px;

    }

    .auth-box h2{

        font-size:24px;

    }

    .auth-box p{

        font-size:13px;

    }

    .auth-box input{

        height:50px;

    }

    .auth-box button{

        height:50px;

    }

}