﻿* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background: #050505;
    color: #fff;
    font-family: 'Poppins', Arial, sans-serif;
    overflow-x: hidden;
}


/* =====================================
           MAIN
        ===================================== */

.main-wrapper {
    min-height: 100vh;
    background: radial-gradient( circle at 0% 20%, rgba(255, 193, 7, .08), transparent 25% ), radial-gradient( circle at 100% 80%, rgba(255, 193, 7, .07), transparent 25% ), #050505;
    padding-bottom: 110px;
}


/* =====================================
           HEADER
        ===================================== */

.top-header {
    height: 66px;
    background: #000;
    border-bottom: 1px solid rgba(255, 193, 7, .20);
    display: flex;
    align-items: center;
}

.header-inner {
    width: 100%;
    max-width: 460px;
    margin: auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    font-size: 25px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -1.5px;
    background: linear-gradient( 90deg, #777, #fff, #ffc400, #ffd900 );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-x {
    color: #ffd000;
}


/* HEADER BUTTONS */

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-btn {
    height: 40px;
    border: none;
    border-radius: 25px;
    background: linear-gradient( 135deg, #ffd900, #ffbd00 );
    color: #000;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 17px;
    box-shadow: 0 3px 12px rgba(255,193,7,.12);
}

    .header-btn.icon-only {
        width: 40px;
        padding: 0;
    }


/* =====================================
           LOGIN AREA
        ===================================== */

.login-area {
    width: 100%;
    max-width: 460px;
    margin: auto;
    padding: 32px 12px 30px;
}


/* =====================================
           LOGIN CARD
        ===================================== */

.login-card {
    position: relative;
    width: 100%;
    padding: 42px 24px 28px;
    border-radius: 29px;
    background: linear-gradient( 145deg, #181818, #121212 );
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 20px 50px rgba(0,0,0,.45);
}


/* =====================================
           HEADING
        ===================================== */

.login-heading {
    text-align: center;
    margin-bottom: 30px;
}

    .login-heading h1 {
        margin: 0;
        color: #fff;
        font-size: 29px;
        font-weight: 900;
        letter-spacing: -.5px;
    }

    .login-heading p {
        margin: 7px 0 0;
        color: #9799a3;
        font-size: 14px;
        font-weight: 500;
    }


/* =====================================
           INPUT
        ===================================== */

.input-group-custom {
    position: relative;
    margin-bottom: 19px;
}

.form-control-custom {
    width: 100%;
    height: 58px;
    border-radius: 17px;
    border: 1px solid #39404e;
    background: #1c1f27;
    color: #fff;
    padding: 0 20px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: .2s;
}

    .form-control-custom::placeholder {
        color: #747987;
    }

    .form-control-custom:focus {
        border-color: #ffd000;
        background: #1c1f27;
        box-shadow: 0 0 0 3px rgba(255,193,7,.08);
    }


/* PASSWORD */

.password-input {
    padding-right: 52px;
}

.password-toggle {
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #9298a5;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
}

    .password-toggle:hover {
        color: #ffd000;
    }


/* =====================================
           FORGOT PASSWORD
        ===================================== */

.forgot-row {
    text-align: right;
    margin: 1px 0 21px;
}

.forgot-link {
    color: #ffd000;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

    .forgot-link:hover {
        color: #ffe66b;
    }


/* =====================================
           LOGIN BUTTON
        ===================================== */

.login-btn {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 16px;
    background: linear-gradient( 135deg, #ffd91a, #ff9e0b );
    color: #000;
    font-size: 16px;
    font-weight: 800;
    font-family: inherit;
    box-shadow: 0 9px 22px rgba(255,193,7,.20);
    transition: .2s;
}

    .login-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 28px rgba(255,193,7,.28);
    }

    .login-btn i {
        margin-right: 8px;
    }


/* =====================================
           REGISTER TEXT
        ===================================== */

.register-text {
    text-align: center;
    margin-top: 27px;
    color: #9699a2;
    font-size: 14px;
    font-weight: 500;
}

    .register-text a {
        color: #ffd000;
        text-decoration: none;
        font-weight: 800;
    }


/* =====================================
           BOTTOM NAVIGATION
        ===================================== */

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(430px, 100%);
    height: 95px;
    background: #191919;
    border: 1px solid rgba(255,255,255,.08);
    border-bottom: none;
    border-radius: 25px 25px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8px 18px;
    z-index: 1000;
    box-shadow: 0 -8px 30px rgba(0,0,0,.45);
}

.nav-item {
    width: 90px;
    color: #8e929b;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
}

.nav-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #292929;
    color: #9a9da4;
    font-size: 20px;
}

.nav-item.active {
    color: #ffd000;
}

    .nav-item.active .nav-icon {
        background: linear-gradient( 135deg, #ffe000, #ff9918 );
        color: #000;
    }


/* =====================================
           MOBILE
        ===================================== */

@media(max-width:575px) {
    .top-header;

{
    height: 65px;
}

.logo {
    font-size: 23px;
}

.header-inner {
    padding: 0 18px;
}

.header-btn {
    height: 39px;
}

.login-area {
    padding: 32px 12px 25px;
}

.login-card {
    padding: 38px 24px 27px;
}

.login-heading h1 {
    font-size: 27px;
}

}


/* =====================================
           SMALL MOBILE
        ===================================== */

@media(max-width:390px) {
    .login-card;

{
    padding: 34px 18px 25px;
    border-radius: 25px;
}

.login-heading {
    margin-bottom: 25px;
}

    .login-heading h1 {
        font-size: 25px;
    }

    .login-heading p {
        font-size: 12px;
    }

.form-control-custom {
    height: 55px;
    font-size: 13px;
    border-radius: 15px;
}

.login-btn {
    height: 54px;
}

.nav-item {
    width: 75px;
}
}
