@media screen and (min-width: 300px) {
    .header-container {
        width: 100%;
        height: 120px;
        display: flex;
        flex-direction: column;
        position: fixed;
        padding-top: 2px;
        border-bottom: 1px solid #ebebf7;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

        .header-top {
            width: 100%;
            height: 70px;
            display: flex;
            padding: 0px 10px;

            .logo {
                width: 40%;
                height: 100%;
                display: flex;
                align-items: center;

                img {
                    width: 30px;
                }

                a{
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 20px;

                    p{
                        margin-left: 5px;
                    }

                    &:hover{
                        text-decoration: none;
                        color: var(--text1);
                    }
                }
            }

            .search {
                width: 48%;
                height: 100%;
                display: none;
                align-items: center;
                padding-left: 10px;

                .search-box {
                    width: 100%;
                    height: 45px;
                    display: flex;
                    border-radius: 5px;
                    background-color: #f4f4f5;
                    position: relative;

                    .magnify {
                        width: 50px;
                        height: 100%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                    }

                    input[type='search']{
                        width: 90%;
                        height: 100%;
                        border: none;
                        background-color: #f4f4f5;
                        

                        &:focus {
                            outline: none;
                        }
                    }

                }
            }

            .more {
                width: 10%;
                height: 100%;
                display: none;
                align-items: center;
                padding-left: 25px;
                position: relative;

                a {
                    text-decoration: none;
                    color: var(--text2);
                    font-weight: 600;
                    display: block;
                    padding: 10px;
                }

                .dropdown-content {
                    opacity: 0;
                    visibility: hidden;
                    transform: translateY(-10px);
                    transition: opacity 0.3s ease, transform 0.3s ease;
                    position: absolute;
                    top: 100%;
                    left: 0;
                    background-color: #fff;
                    min-width: 200px;
                    margin-left: 10px;
                    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
                    z-index: 1000;

                    i {
                        margin-right: 5px;
                    }

                    a {
                        color: var(--text2);
                        padding: 10px 16px;
                        text-decoration: none;
                        display: block;

                        &:hover {
                            background-color: #f1f1f1;
                        }
                    }
                }

                &:hover .dropdown-content {
                    opacity: 1;
                    visibility: visible;
                    transform: translateY(0);
                }
            }



            .login-signup {
                width: 60%;
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: flex-end;

                a {
                    text-decoration: none;
                    font-weight: 600;
                }

                .login {
                    color: #007bff;
                    padding: 5px 15px;
                    border-radius: 5px;
                    margin-right: 0px;
                    transition: background-color 0.3s ease;

                    &:hover {
                        background-color: #f4f4f5;
                    }
                }

                .signup {
                    background-color: #007bff;
                    color: #ffffff;
                    padding: 5px 15px;
                    border-radius: 5px;
                }

                .tab{
                    width: 40%;
                    display: flex;
                    align-items: center;
                    justify-content: flex-end;
    
                    .deposit{
                        background-color: #007bff;
                        color: #ffffff;
                        padding: 8px 20px;
                        border-radius: 5px;
                        margin-right: 1px;
    
                        &:hover {
                            background-color: #007bff;
                        }
                    }
    
                    .port{
                        display: none;
    
                        .bal{
                            color: green;
                            font-weight: 600;
                        }
                    }
    
                    .pro-pic{
                        width: 40px;
                        height: 40px;
                        border-radius: 50%;
                        display: none;
                        align-items: center;
                        justify-content: center;
    
                        img {
                            width: 95%;
                            height: 95%;
                            object-fit: cover;
                            border-radius: 50%;
                        }
    
                        i{
                            font-size: 35px;
                            color: var(--text2);
                        }
    
                    }
                }
            }

            .toggler {
                width: fit-content;
                height: 100%;
                display: none;
                align-items: center;

                i {
                    font-size: 25px;
                }
            }

        }

        .header-down {
            width: 100%;
            height: 40px;
            display: flex;
            padding: 0px 10px;
            overflow-x: auto;
            white-space: nowrap;
            display: flex;
            gap: 25px;


            a {
                text-decoration: none;
                color: var(--text2);
                font-weight: 600;
                font-size: 15px;
                padding: 0px;

                &:hover {
                    color: var(--text1);
                }
            }

        }

        .header-down-right::-webkit-scrollbar {
            display: none;
        }

        .header-down a.active {
            color: #262626;
        }
    }

    .auth-login-modal-content {
        background: #fff;
        margin: 20% auto;
        padding: 30px 20px;
        border-radius: 8px;
        width: 90%;
        max-width: 600px;
        position: relative;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);

        /* Zoom effect on open */
        animation: zoomIn 0.3s ease-out;
        transform: scale(1);
    }

    #successModal-content {
        margin: 30% auto;

        .login-details {
            text-align: center;
        }
    }

    #successEmailModal-content{
        margin: 30% auto;

        .login-details {
            text-align: center;
        }
    }

    .verification-modal-content {
        background: #fff;
        margin: 30% auto;
        padding: 20px;
        max-width: 400px;
        border-radius: 10px;
        position: relative;

        label {
            text-align: center;
            color: var(--text2);
        }

        p {
            text-align: center;
        }
    }
}

@media screen and (min-width: 700px) {
    .header-container {
        width: 100%;
        height: 120px;
        display: flex;
        flex-direction: column;
        position: fixed;
        padding-top: 2px;
        border-bottom: 1px solid #ebebf7;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

        .header-top {
            width: 100%;
            height: 70px;
            display: flex;
            padding: 0px 20px;

            .logo {
                width: 40%;
                height: 100%;
                display: flex;
                align-items: center;

                img {
                    width: 35px;
                }
            }

            .search {
                width: 48%;
                height: 100%;
                display: none;
                align-items: center;
                padding-left: 10px;

                .search-box {
                    width: 100%;
                    height: 45px;
                    display: flex;
                    border-radius: 5px;
                    background-color: #f4f4f5;
                    position: relative;

                    .magnify {
                        width: 50px;
                        height: 100%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                    }

                    input[type='search'] {
                        width: 95%;
                        height: 100%;
                        border: none;
                        background-color: #f4f4f5;

                        &:focus {
                            outline: none;

                            
                        }
                    }

                }
            }

            .more {
                width: 10%;
                height: 100%;
                display: none;
                align-items: center;
                padding-left: 25px;
                position: relative;

                a {
                    text-decoration: none;
                    color: var(--text2);
                    font-weight: 600;
                    display: block;
                    padding: 10px;
                }

                .dropdown-content {
                    opacity: 0;
                    visibility: hidden;
                    transform: translateY(-10px);
                    transition: opacity 0.3s ease, transform 0.3s ease;
                    position: absolute;
                    top: 100%;
                    left: 0;
                    background-color: #fff;
                    min-width: 200px;
                    margin-left: 10px;
                    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
                    z-index: 1000;

                    i {
                        margin-right: 5px;
                    }

                    a {
                        color: var(--text2);
                        padding: 10px 16px;
                        text-decoration: none;
                        display: block;

                        &:hover {
                            background-color: #f1f1f1;
                        }
                    }
                }

                &:hover .dropdown-content {
                    opacity: 1;
                    visibility: visible;
                    transform: translateY(0);
                }
            }



            .login-signup {
                width: 60%;
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: flex-end;

                a {
                    text-decoration: none;
                    font-weight: 600;
                }

                .login {
                    color: #007bff;
                    padding: 8px 15px;
                    border-radius: 5px;
                    margin-right: 10px;
                    transition: background-color 0.3s ease;

                    &:hover {
                        background-color: #f4f4f5;
                    }
                }

                .signup {
                    background-color: #007bff;
                    color: #ffffff;
                    padding: 8px 20px;
                    border-radius: 5px;
                }

                .tab{
                    width: 35%;
                    display: flex;
                    align-items: center;
                    justify-content: flex-end;
    
                    .deposit{
                        background-color: #007bff;
                        color: #ffffff;
                        padding: 8px 20px;
                        border-radius: 5px;
                        margin-right: 20px;
    
                        &:hover {
                            background-color: #007bff;
                        }
                    }
    
                    .port{
                        display: none;
    
                        .bal{
                            color: green;
                            font-weight: 600;
                        }
                    }
    
                    .pro-pic{
                        width: 40px;
                        height: 40px;
                        border-radius: 50%;
                        display: none;
                        align-items: center;
                        justify-content: center;
    
                        img {
                            width: 95%;
                            height: 95%;
                            object-fit: cover;
                            border-radius: 50%;
                        }
    
                        i{
                            font-size: 35px;
                            color: var(--text2);
                        }
    
                    }
                }
            }

            .toggler {
                width: fit-content;
                height: 100%;
                display: none;
                align-items: center;

                i {
                    font-size: 25px;
                }
            }

        }

        .header-down {
            width: 100%;
            height: 40px;
            display: flex;
            padding: 0px 20px;
            overflow-x: auto;
            white-space: nowrap;
            display: flex;
            gap: 25px;


            a {
                text-decoration: none;
                color: var(--text2);
                font-weight: 600;
                font-size: 15px;
                padding: 0px;

                &:hover {
                    color: var(--text1);
                }
            }

        }

        .header-down-right::-webkit-scrollbar {
            display: none;
        }

        .header-down a.active {
            color: #262626;
        }
    }
}

@media screen and (min-width: 1100px) {
    .header-container {
        width: 100%;
        height: 120px;
        display: flex;
        flex-direction: column;
        position: fixed;
        padding-top: 2px;
        border-bottom: 1px solid #ebebf7;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

        .header-top {
            width: 100%;
            height: 70px;
            display: flex;
            padding: 0px 20px;

            .logo {
                width: 15%;
                height: 100%;
                display: flex;
                align-items: center;

                img {
                    width: 35px;
                }
            }

            .search {
                width: 55%;
                height: 100%;
                display: flex;
                align-items: center;
                padding-left: 10px;

                .search-box {
                    width: 100%;
                    height: 45px;
                    display: flex;
                    border-radius: 5px;
                    background-color: #f4f4f5;
                    position: relative;

                    .magnify {
                        width: 50px;
                        height: 100%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                    }

                    form{
                        width: 90%;
                        height: 100%;

                        #search-input{
                            width: 99%;
                            height: 100%;
                            border: none;
                            background-color: #f4f4f5;
    
                            &:focus {
                                outline: none;
                            }
                        }
                    }

                }
            }

            .more {
                width: 10%;
                height: 100%;
                display: none;
                align-items: center;
                padding-left: 25px;
                position: relative;

                a {
                    text-decoration: none;
                    color: var(--text2);
                    font-weight: 600;
                    display: block;
                    padding: 10px;
                }

                .dropdown-content {
                    opacity: 0;
                    visibility: hidden;
                    transform: translateY(-10px);
                    transition: opacity 0.3s ease, transform 0.3s ease;
                    position: absolute;
                    top: 100%;
                    left: 0;
                    background-color: #fff;
                    min-width: 200px;
                    margin-left: 10px;
                    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
                    z-index: 1000;

                    i {
                        margin-right: 5px;
                    }

                    a {
                        color: var(--text2);
                        padding: 10px 16px;
                        text-decoration: none;
                        display: block;

                        &:hover {
                            background-color: #f1f1f1;
                        }
                    }
                }

                &:hover .dropdown-content {
                    opacity: 1;
                    visibility: visible;
                    transform: translateY(0);
                }
            }



            .login-signup {
                width: 40%;
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: flex-end;

                a {
                    text-decoration: none;
                    font-weight: 600;
                }

                .login {
                    color: #007bff;
                    padding: 8px 15px;
                    border-radius: 5px;
                    margin-right: 10px;
                    transition: background-color 0.3s ease;

                    &:hover {
                        background-color: #f4f4f5;
                    }
                }

                .signup {
                    background-color: #007bff;
                    color: #ffffff;
                    padding: 8px 20px;
                    border-radius: 5px;
                }

                .tab{
                    width: 80%;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
    
                    .deposit{
                        background-color: #007bff;
                        color: #ffffff;
                        padding: 10px 20px;
                        border-radius: 5px;
                        margin-right: 0px;
    
                        &:hover {
                            background-color: #007bff;
                        }
                    }
    
                    .port{
                        display: block;
                        line-height: 18px;
    
                        .bal{
                            color: green;
                            font-weight: 600;
                        }
                    }
    
                    .pro-pic{
                        width: 40px;
                        height: 40px;
                        border-radius: 50%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
    
                        img {
                            width: 95%;
                            height: 95%;
                            object-fit: cover;
                            border-radius: 50%;
                        }
    
                        i{
                            font-size: 35px;
                            color: var(--text2);
                        }
    
                    }
                }
            }

            .toggler {
                width: fit-content;
                height: 100%;
                display: none;
                align-items: center;

                i {
                    font-size: 25px;
                }
            }

        }

        .header-down {
            width: 100%;
            height: 40px;
            display: flex;
            padding: 0px 20px;
            overflow-x: auto;
            white-space: nowrap;
            display: flex;
            gap: 25px;


            a {
                text-decoration: none;
                color: var(--text2);
                font-weight: 600;
                font-size: 15px;
                padding: 0px;

                &:hover {
                    color: var(--text1);
                }
            }

        }

        .header-down-right::-webkit-scrollbar {
            display: none;
        }

        .header-down a.active {
            color: #262626;
        }
    }

    .auth-login-modal-content {
        background: #fff;
        margin: 5% auto;
        padding: 30px 20px;
        border-radius: 8px;
        width: 90%;
        max-width: 600px;
        position: relative;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);

        /* Zoom effect on open */
        animation: zoomIn 0.3s ease-out;
        transform: scale(1);
    }

    #successModal {
        z-index: 6000;

        #successModal-content {
            margin: 15% auto;

            .login-details {
                text-align: center;
            }
        }
    }

    #successEmailModal-content{
        margin: 15% auto;

        .login-details {
            text-align: center;
        }
    }

    .verification-modal-content {
        background: #fff;
        margin: 10% auto;
        padding: 20px;
        max-width: 400px;
        border-radius: 10px;
        position: relative;

        label {
            text-align: center;
            color: var(--text2);
        }

        p {
            text-align: center;
        }
    }
}

@media screen and (min-width: 1200px) {
    .header-container {
        width: 100%;
        height: 120px;
        display: flex;
        flex-direction: column;
        position: fixed;
        padding-top: 2px;
        border-bottom: 1px solid #ebebf7;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

        .header-top {
            width: 100%;
            height: 70px;
            display: flex;
            padding: 0px 60px;

            .logo {
                width: 12%;
                height: 100%;
                display: flex;
                align-items: center;

                img {
                    width: 35px;
                }

                a{
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 20px;

                    p{
                        margin-left: 5px;
                    }

                    &:hover{
                        text-decoration: none;
                        color: var(--text1);
                    }
                }
            }

            .search {
                width: 48%;
                height: 100%;
                display: flex;
                align-items: center;
                padding-left: 10px;

                .search-box {
                    width: 100%;
                    height: 45px;
                    display: flex;
                    border-radius: 5px;
                    background-color: #f4f4f5;
                    position: relative;

                    .magnify {
                        width: 10%;
                        height: 100%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                    }

                    form{
                        width: 90%;
                        height: 100%;

                        #search-input{
                            width: 99%;
                            height: 100%;
                            border: none;
                            background-color: #f4f4f5;
    
                            &:focus {
                                outline: none;
                            }
                        }
                    }

                    
                }
            }

            .more {
                width: 10%;
                height: 100%;
                display: flex;
                align-items: center;
                padding-left: 25px;
                position: relative;

                a {
                    text-decoration: none;
                    color: var(--text2);
                    font-weight: 600;
                    display: block;
                    padding: 10px;
                }

                .dropdown-content {
                    opacity: 0;
                    visibility: hidden;
                    transform: translateY(-10px);
                    transition: opacity 0.3s ease, transform 0.3s ease;
                    position: absolute;
                    top: 100%;
                    left: 0;
                    background-color: #fff;
                    min-width: 200px;
                    margin-left: 10px;
                    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
                    z-index: 1000;

                    i {
                        margin-right: 5px;
                    }

                    a {
                        color: var(--text2);
                        padding: 10px 16px;
                        text-decoration: none;
                        display: block;

                        &:hover {
                            background-color: #f1f1f1;
                        }
                    }
                }

                &:hover .dropdown-content {
                    opacity: 1;
                    visibility: visible;
                    transform: translateY(0);
                }
            }



            .login-signup {
                width: 30%;
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: flex-end;

                a {
                    text-decoration: none;
                    font-weight: 600;
                }

                .login {
                    color: #007bff;
                    padding: 5px 15px;
                    border-radius: 5px;
                    margin-right: 10px;
                    transition: background-color 0.3s ease;

                    &:hover {
                        background-color: #f4f4f5;
                    }
                }

                .signup {
                    background-color: #007bff;
                    color: #ffffff;
                    padding: 5px 20px;
                    border-radius: 5px;
                }
            }

            .toggler {
                width: fit-content;
                height: 100%;
                display: none;
                align-items: center;

                i {
                    font-size: 25px;
                }
            }

        }

        .header-down {
            width: 100%;
            height: 40px;
            display: flex;
            padding: 0px 60px;
            overflow-x: none;
            white-space: nowrap;
            display: flex;
            gap: 25px;


            a {
                text-decoration: none;
                color: var(--text2);
                font-weight: 600;
                font-size: 15px;
                padding: 0px;

                &:hover {
                    color: var(--text1);
                }
            }

        }

    }

    .header-down::-webkit-scrollbar {
        display: none;
    }

    .header-down a.active {
        color: #262626;
    }

    /* MODAL CONTENT FOR SIGNUP */
    .auth-modal-content {
        background: #fff;
        margin: 2% auto;
        padding: 30px 20px;
        border-radius: 8px;
        width: 90%;
        max-width: 600px;
        position: relative;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
        padding-bottom: 30px;

        /* Zoom effect on open */
        animation: zoomIn 0.3s ease-out;
        transform: scale(1);
    }
}