/* =====================================================
   RESET
===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


/* =====================================================
   BODY
===================================================== */

body{

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        linear-gradient(
            180deg,
            #eef2f7 0%,
            #e2e8f0 100%
        );

    color:#202438;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:flex-start;

    padding:0 16px;

}


/* =====================================================
   PAGE
===================================================== */

.page{

    width:100%;

    max-width:440px;

    margin:0 auto;

    display:flex;

    flex-direction:column;

    align-items:center;

}


/* =====================================================
   LOGO
   EXACT TOP POSITION
===================================================== */

.img_border{

    margin:26px 0 0 0;

    padding:0;

    height:100px;

    width:266px;

}


.img_logo{

    margin:0;

    padding:0;

    height:100%;

    width:100%;

    object-fit:cover;

}


/* =====================================================
   LOGIN BOX
   18px GAP BELOW LOGO
===================================================== */

.main-content-box{

    width:100%;

    margin-top:18px;

    background:#ffffff;

    border-radius:28px;

    padding:26px 20px;

    border:1.5px solid #dbe1e8;

    box-shadow:
        0 15px 35px rgba(0,0,0,.06);

}


/* =====================================================
   HEADING
===================================================== */

.profile-section{

    text-align:center;

    padding-bottom:8px;

}


.username{

    font-size:20px;

    font-weight:800;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:6px;

    color:#202438;

}


/* =====================================================
   VERIFIED
===================================================== */

.verified{

    width:18px;

    height:18px;

    border-radius:50%;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    background:
        linear-gradient(
            135deg,
            #00c6ff,
            #0072ff
        );

    color:#ffffff;

    font-size:10px;

    font-weight:bold;

}


/* =====================================================
   SUB HEADING
===================================================== */

.user-sub{

    margin-top:5px;

    font-size:13px;

    font-weight:800;

    letter-spacing:.5px;

    background:
        linear-gradient(
            90deg,
            #ff007f,
            #ff7e00,
            #00d2ff,
            #7928ca,
            #ff007f
        );

    background-size:300% 100%;

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

    animation:
        subColorShift 4s linear infinite;

}


@keyframes subColorShift{

    0%{
        background-position:0% 0%;
    }

    100%{
        background-position:300% 0%;
    }

}


/* =====================================================
   FORM
===================================================== */

.login-form{

    width:100%;

    display:flex;

    flex-direction:column;

    gap:14px;

    margin-top:8px;

}


/* =====================================================
   INPUT BOX
===================================================== */

.input-box{

    position:relative;

    width:100%;

    min-height:54px;

    background-color:#2a3b3f;

    border-radius:35px;

    padding:
        13px
        48px
        13px
        20px;

    display:flex;

    align-items:center;

    gap:12px;

    box-shadow:
        0 4px 10px rgba(0,0,0,.05);

    background-size:
        12px 3px;

    background-position:
        0 100%;

    background-repeat:
        repeat-x;

    animation:
        moveDots 1.5s linear infinite;

}


/* =====================================================
   MOVING LINE
===================================================== */

@keyframes moveDots{

    0%{

        background-position:
            0 100%;

    }

    100%{

        background-position:
            24px 100%;

    }

}


/* =====================================================
   EMAIL
===================================================== */

.box-email{

    background-image:
        linear-gradient(
            90deg,
            #00aaff 50%,
            transparent 50%
        );

}


/* =====================================================
   PASSWORD
===================================================== */

.box-pass{

    background-image:
        linear-gradient(
            90deg,
            #f97316 50%,
            transparent 50%
        );

}


/* =====================================================
   INPUT
===================================================== */

.input-box input{

    width:100%;

    min-width:0;

    border:none;

    outline:none;

    background:transparent;

    font-size:14px;

    color:#ffffff;

    font-weight:600;

    text-align:left;

}


.input-box input::placeholder{

    color:#cbd5e1;

    opacity:1;

}


/* =====================================================
   LEFT ICON
===================================================== */

.input-icon{

    width:22px;

    min-width:22px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:17px;

}


.icon-email{

    color:#00aaff;

}


.icon-pass{

    color:#f97316;

}


/* =====================================================
   PASSWORD EYE
   HIDDEN BEFORE TYPING
===================================================== */

.toggle-pass{

    position:absolute;

    right:18px;

    top:50%;

    transform:translateY(-50%);

    display:none;

    width:24px;

    height:24px;

    align-items:center;

    justify-content:center;

    color:#f97316;

    font-size:17px;

    cursor:pointer;

    z-index:10;

    -webkit-tap-highlight-color:transparent;

}


.toggle-pass:hover{

    color:#ffd43b;

}


/* =====================================================
   ERROR
===================================================== */

.login-error{

    color:red;

    font-size:13px;

    font-weight:800;

    text-align:center;

    margin:2px 0 0;

}


/* =====================================================
   LOGIN BUTTON
===================================================== */

.submit-btn{

    width:100%;

    margin-top:2px;

    padding:13px;

    border:
        2px solid #eab308;

    border-radius:35px;

    background:#ff0000;

    color:#ffffff;

    font-size:16px;

    font-weight:800;

    letter-spacing:.5px;

    cursor:pointer;

    box-shadow:
        0 6px 15px rgba(255,0,0,.2);

    transition:
        transform .2s ease,
        box-shadow .2s ease;

}


.submit-btn:hover{

    transform:
        translateY(-1px);

    box-shadow:
        0 8px 18px rgba(255,0,0,.25);

}


.submit-btn:active{

    transform:
        scale(.98);

}


/* =====================================================
   LINKS
===================================================== */

.extra-links{

    display:flex;

    flex-direction:column;

    gap:7px;

    margin-top:13px;

    text-align:center;

    font-size:12px;

    color:#999eae;

    font-weight:600;

}


.extra-links a{

    color:#ff007f;

    text-decoration:none;

    font-weight:800;

}


.extra-links a:hover{

    text-decoration:underline;

}


/* =====================================================
   MOBILE
===================================================== */

@media(max-width:480px){

    body{

        padding:
            0 12px;

    }


    .page{

        width:100%;

        margin:0 auto;

    }


    .img_border{

        margin:26px 0 0 0;

        width:266px;

        height:100px;

    }


    .main-content-box{

        width:100%;

        margin-top:18px;

        border-radius:24px;

        padding:
            23px 15px;

    }


    .username{

        font-size:19px;

    }


    .input-box{

        min-height:52px;

        padding-left:17px;

        padding-right:46px;

    }


    .toggle-pass{

        right:16px;

    }
    

}