@font-face {
    font-family: "Averta";
    src: url("./../fonts/Averta_Regular.otf") format("opentype"),
        url("./../fonts/Averta_Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

main {
    height: 100vh;
}

body {
    background-color: var(--background);
    /* color: var(--foreground); */
    font-family: "Averta", sans-serif;
}

.left_side {
    width: 50%;
    height: 100vh;
    background: url("/images/register_bg.jpeg") no-repeat 50%;
    background-size: cover;
    position: relative;
    background-position: center;
}

.right_side {
    width: 50%;
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.right_side > div {
    width: 80%;
}

.right_side label{
    font-size: 10px;
}

.login_btn {
    background-color: #307873;
    border-color: #307873;
    width: 100%;
    height: 40px;
    color: #fff;
    font-size: 16px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* border-radius: 100px; */
    margin-top: 32px;
    /* -webkit-box-shadow: 0 8px 30px #307873;
    box-shadow: 0 8px 30px #307873; */
}

.login_btn:hover {
    background-color: #3b938e !important;
    border-color: #3b938e !important;
    color: #fff;
}

#nav-tab {
    background-color: #EDEBEB !important;
    border-radius: 8px;
    padding: 4px;
    justify-content: center;
}

#nav-tab .active {
    border-radius: 8px;
    color: #000 !important;
    background-color: #fff;
}

#nav-tab .nav-link {
    color: #636363;
}

#nav-email-tab {
    width: 50% !important;
}

#nav-phone-tab {
    width: 50% !important;
}

.referral-link {
    display: flex;
    justify-content: center;
    align-items: center;
}

.referral-link span {
    font-size: 10px;
}

.referral-link i {
    cursor: pointer;
    margin-right: 5px;
}

.copy-text {
    cursor: pointer;
    color: rgb(39, 39, 41);
    font-size: 15px; /* Adjust the font size as needed */
}

.copied-text {
    color: green;
    font-size: 15px; /* Adjust the font size as needed */
}

/*Now the CSS*/
/* Base styles for tree structure */
#tree_diagram {
    width: 100%;
    white-space: nowrap;
    overflow-x: scroll;
    padding-bottom: 10vh;
}

.tree ul {
    padding-top: 20px;
    position: relative;
    width: max-content;
}

.tree li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0 5px;
}

.tree li::before,
.tree li::after {
    content: "";
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 1px solid #ccc;
    width: 50%;
    height: 20px;
}

.tree li::after {
    right: auto;
    left: 50%;
    border-left: 1px solid #ccc;
}

.tree li:only-child::after,
.tree li:only-child::before {
    display: none;
}

.tree li:only-child {
    padding-top: 0;
}

.tree li:first-child::before,
.tree li:last-child::after {
    border: 0 none;
}

.tree li:last-child::before {
    border-right: 1px solid #ccc;
    border-radius: 0 5px 0 0;
}

.tree li:first-child::after {
    border-radius: 5px 0 0 0;
}

.tree ul ul::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 1px solid #ccc;
    width: 0;
    height: 20px;
}

.tree li a {
    border: 1px solid #ccc;
    padding: 5px 10px;
    text-decoration: none;
    color: #666;
    font-family: arial, verdana, tahoma;
    font-size: 11px;
    display: inline-block;
    border-radius: 5px;
    transition: all 0.5s;
}

.tree li a:hover,
.tree li a:hover + ul li a {
    background: #c8e4f8;
    color: #000;
    border: 1px solid #94a0b4;
}

.tree li a:hover + ul li::after,
.tree li a:hover + ul li::before,
.tree li a:hover + ul::before,
.tree li a:hover + ul ul::before {
    border-color: #94a0b4;
}

/*Thats all. I hope you enjoyed it.
Thanks :)*/

.fund_btn {
    background-color: #ee933c;
    color: #fff;
}

.fund_btn:hover {
    background-color: #f09a4a !important;
    color: #fff;
}

#profile .role > p {
    background-color: #ee933c;
    color: #fff;
    border-radius: 20%;
}

#profile .bg__ {
    background-color: #e9ecef;
}

#profile .bg__ p {
    font-size: 13px;
}

.profile_image img {
    height: 100px !important;
    width: 100px !important;
}


#login_section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden; /* Ensure no scrollbars appear */
}

#background_video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1; /* Place the video behind other content */
    transform: translate(-50%, -50%);
    object-fit: cover; /* Ensure the video covers the section */
}

/* Optional: add a gradient overlay on top of the video */
#login_section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
    z-index: 1; /* Place the overlay above the video but below content */
}

/* Style for the content above the video */
.content {
    position: relative;
    z-index: 2;
}

#login_section label{
    font-size: 12px;
}

#login_section input{
    font-size: 12px;
}

.sa_q {
    width: 35%;
    background-color: #fff;
    padding: 40px 20px;
}

.forget_pass{
    width: 13px;
    padding-right: 2px;
}

.password-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 3%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
}

.password-container i {
    font-size: 12px;
}

.d_s{
    font-size: 12px;
}

.d_s a{
    text-decoration: none;
    color: #307873;
}

.scrollable-div {
    height: 100vh;
    padding: 10px;
    overflow-y: auto;
    background-color: #e9ecef !important;
}

#register_background_video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#register_section {
    position: relative;
    min-height: 100vh;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
}

.text_EE933C{
    color: #EE933C !important;
}

.bg_EE933C{
    background-color: #EE933C !important;
}

.wallet2{
    color: #000 !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
}

.wallet4{
    color: #e32f2f !important;
    background-color: #fbe0df !important;
}

.vault_pic{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("./../images/vault.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.ibo_switch{
    background-color: #EDEBEB !important;
    border-radius: 20px;
    padding: 4px;
    justify-content: center;
    color: #536878 !important;
}

.ibo_switch .nav-link{
    color: #536878 !important;
    padding: 3px 15px !important;
    text-align: center;
}

.ibo_switch .active{
    border-radius: 20px;
    padding: 4px 10px;
    color: #000;
}

.pl_ps{
    background-color: #fff;
    height: 30vh;
}

.isws_{
    background-color: #fff;
    height: 41vh;
}

.gihu{
    
}

@media (max-width: 768px) {
    .pl_ps{
        height: auto !important;
    }

    .isws_{
        background-color: #fff;
        height: auto !important;
    }
}

@media (max-width: 575.98px) {
    .right_side {
        width: 100vw;
    }

    .left_side {
        display: none !important;
    }

    .sa_q {
        /* Optional: Adjust width if necessary */
        width: 90%; /* Adjust as per your design */
    }

    .wid_sw, .wid_sw_w{
        width: 90vw !important;
    }
}
