/*==================================================
  URBAN BRANDINGG CLIENT PORTAL
==================================================*/

/*==========================
RESET
==========================*/

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

html{
    scroll-behavior:smooth;
}

body{

    font-family:"Poppins",sans-serif;

    background:#F7F8FA;

    color:#1F2937;

    min-height:100vh;

    overflow-x:hidden;

}


/*==========================
COLORS
==========================*/

:root{

    --green:#046B43;
    --green-light:#0A8A59;
    --gold:#B48A2C;

    --text:#1F2937;
    --gray:#6B7280;

    --border:#D9DDE3;

    --white:#ffffff;

}


/*==========================
BACKGROUND
==========================*/

body::before{

    content:"";

    position:fixed;

    width:420px;
    height:420px;

    background:rgba(4,107,67,.07);

    border-radius:50%;

    filter:blur(120px);

    top:-180px;
    left:-120px;

    z-index:-2;

}

body::after{

    content:"";

    position:fixed;

    width:380px;
    height:380px;

    background:rgba(180,138,44,.09);

    border-radius:50%;

    filter:blur(120px);

    right:-120px;
    bottom:-150px;

    z-index:-2;

}


/*==========================
MAIN WRAPPER
==========================*/

.wrapper{

    width:100%;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px 20px;

}


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

.login-card{

    width:100%;

    max-width:460px;

    background:var(--white);

    border:1px solid #ECECEC;

    border-radius:18px;

    padding:48px;

    box-shadow:

        0 18px 50px rgba(0,0,0,.07);

}



/*==================================================
LOGO
==================================================*/

.logo{

    display:block;

    width:150px;

    height:auto;

    margin:0 auto 28px;

    user-select:none;

}


/*==================================================
HEADINGS
==================================================*/

.login-card h1{

    font-size:42px;

    font-weight:700;

    color:var(--text);

    line-height:1.1;

    margin-bottom:12px;

    letter-spacing:-1px;

}

.subtitle{

    color:var(--gray);

    font-size:16px;

    line-height:28px;

    margin-bottom:36px;

}


/*==================================================
INPUT GROUP
==================================================*/

.input-box{

    position:relative;

    margin-bottom:22px;

}


/*==================================================
INPUT ICON
==================================================*/

.input-box i{

    position:absolute;

    left:18px;

    top:50%;

    transform:translateY(-50%);

    color:#8C939E;

    font-size:17px;

    transition:.3s;

}


/*==================================================
INPUT FIELD
==================================================*/

.input-box input{

    width:100%;

    height:58px;

    padding:0 18px 0 50px;

    border:1px solid var(--border);

    border-radius:12px;

    background:#fff;

    font-size:15px;

    font-family:"Poppins",sans-serif;

    color:var(--text);

    transition:.25s;

}


.input-box input::placeholder{

    color:#98A2B3;

}


.input-box input:hover{

    border-color:#B8BEC8;

}


.input-box input:focus{

    outline:none;

    border-color:var(--green);

    box-shadow:

        0 0 0 4px rgba(4,107,67,.10);

}


.input-box input:focus+i{

    color:var(--green);

}


/*==================================================
FORGOT PASSWORD
==================================================*/

.forgot{

    display:inline-block;

    margin-top:10px;

    margin-bottom:26px;

    color:var(--green);

    font-size:15px;

    font-weight:600;

    text-decoration:none;

    transition:.25s;

}

.forgot:hover{

    color:var(--green-light);

    text-decoration:underline;

}


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

#error{

    min-height:22px;

    margin-top:14px;

    color:#DC2626;

    font-size:14px;

    text-align:center;

}

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

#loginBtn{

    width:100%;

    height:58px;

    border:none;

    border-radius:12px;

    background:linear-gradient(
        135deg,
        var(--green),
        var(--green-light)
    );

    color:#fff;

    font-family:"Poppins",sans-serif;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;

}

#loginBtn:hover{

    transform:translateY(-2px);

    box-shadow:
        0 12px 30px rgba(4,107,67,.22);

}

#loginBtn:active{

    transform:scale(.98);

}

#loginBtn:disabled{

    opacity:.7;

    cursor:not-allowed;

    transform:none;

}


/*==================================================
INPUT GROUP ACTIVE STATE
==================================================*/

.input-box:focus-within i{

    color:var(--green);

}

.input-box:focus-within{

    transform:translateY(-1px);

}


/*==================================================
FOOTER
==================================================*/

.footer{

    margin-top:36px;

    padding-top:22px;

    border-top:1px solid #ECECEC;

    text-align:center;

    color:#8B93A2;

    font-size:13px;

    line-height:22px;

}


/*==================================================
SMALL TEXT LINKS
==================================================*/

.footer a{

    color:var(--green);

    text-decoration:none;

    font-weight:500;

}

.footer a:hover{

    text-decoration:underline;

}


/*==================================================
LOGIN CARD ANIMATION
==================================================*/

.login-card{

    animation:cardFade .6s ease;

}

@keyframes cardFade{

    from{

        opacity:0;

        transform:translateY(24px);

    }

    to{

        opacity:1;

        transform:none;

    }

}


/*==================================================
LOGO ANIMATION
==================================================*/

.logo{

    animation:logoFade .8s ease;

}

@keyframes logoFade{

    from{

        opacity:0;

        transform:translateY(-15px);

    }

    to{

        opacity:1;

        transform:none;

    }

}


/*==================================================
SELECTION
==================================================*/

::selection{

    background:var(--green);

    color:#fff;

}


/*==================================================
SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-thumb{

    background:#CFCFCF;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#B8B8B8;

}





/*==================================================
LARGE DESKTOP
==================================================*/

@media (min-width:1400px){

    .login-card{

        max-width:500px;

        padding:56px;

    }

}


/*==================================================
LAPTOP
==================================================*/

@media (max-width:992px){

    .wrapper{

        padding:35px 20px;

    }

    .login-card{

        max-width:450px;

        padding:40px;

    }

    .logo{

        width:140px;

    }

    .login-card h1{

        font-size:36px;

    }

}


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

@media (max-width:768px){

    body{

        overflow-y:auto;

    }

    .wrapper{

        min-height:100vh;

        align-items:flex-start;

        justify-content:center;

        padding:30px 16px;

    }

    .login-card{

        max-width:100%;

        width:100%;

        padding:32px 24px;

        border-radius:16px;

    }

    .logo{

        width:125px;

        margin-bottom:22px;

    }

    .login-card h1{

        font-size:32px;

    }

    .subtitle{

        font-size:15px;

        line-height:24px;

        margin-bottom:28px;

    }

    .input-box{

        margin-bottom:18px;

    }

    .input-box input{

        height:54px;

        font-size:15px;

    }

    #loginBtn{

        height:54px;

        font-size:15px;

    }

    .forgot{

        font-size:14px;

    }

}


/*==================================================
PHONE
==================================================*/

@media (max-width:480px){

    .wrapper{

        padding:20px 14px;

    }

    .login-card{

        padding:24px 20px;

        border-radius:14px;

        box-shadow:

            0 10px 25px rgba(0,0,0,.06);

    }

    .logo{

        width:110px;

    }

    .login-card h1{

        font-size:28px;

        margin-bottom:10px;

    }

    .subtitle{

        font-size:14px;

        line-height:22px;

    }

    .input-box input{

        height:52px;

        padding-left:48px;

        font-size:14px;

    }

    .input-box i{

        left:16px;

        font-size:16px;

    }

    #loginBtn{

        height:52px;

        font-size:15px;

    }

    .footer{

        margin-top:28px;

        padding-top:18px;

        font-size:12px;

    }

}


/*==================================================
VERY SMALL DEVICES
==================================================*/

@media (max-width:360px){

    .wrapper{

        padding:15px 10px;

    }

    .login-card{

        padding:20px 16px;

    }

    .logo{

        width:95px;

    }

    .login-card h1{

        font-size:24px;

    }

}


/*==================================================
REDUCED MOTION
==================================================*/

@media (prefers-reduced-motion:reduce){

    *{

        animation:none !important;

        transition:none !important;

        scroll-behavior:auto !important;

    }

}

.icon{
    display:none !important;
}