:root {
    --background: #9c88ff;
    --navbar-width: 500px;
    --navbar-dark-primary: #18283b;
    --navbar-dark-secondary: #2c3e50;
    --navbar-light-primary: #f5f6fa;
    --navbar-light-secondary: #8392a5;
}

.cursor-pointer{
    cursor: pointer !important;
}

#nav-toggle:checked ~ #nav-header {
    width: 0px;
}
#nav-toggle:checked ~ #nav-content, #nav-toggle:checked ~ #nav-footer {
    width: 0px;
}
#nav-toggle:checked ~ #nav-header #nav-title {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s;
}
#nav-toggle:checked ~ #nav-header label[for=nav-toggle] {
    left: calc(50% - 8px);
    transform: translate(-50%);
}
#nav-toggle:checked ~ #nav-header #nav-toggle-burger {
    background: var(--navbar-light-primary);
}
#nav-toggle:checked ~ #nav-header #nav-toggle-burger:before, #nav-toggle:checked ~ #nav-header #nav-toggle-burger::after {
    width: 16px;
    background: var(--navbar-light-secondary);
    transform: translate(0, 0) rotate(0deg);
}
#nav-toggle:checked ~ #nav-content .nav-button span {
    opacity: 0;
    transition: opacity 0.1s;
}
#nav-toggle:checked ~ #nav-content .nav-button .fas {
    min-width: calc(100% - 16px);
}
#nav-toggle:checked ~ #nav-footer #nav-footer-avatar {
    margin-left: 0;
    left: 50%;
    transform: translate(-50%);
}
#nav-toggle:checked ~ #nav-footer #nav-footer-titlebox, #nav-toggle:checked ~ #nav-footer label[for=nav-footer-toggle] {
    opacity: 0;
    transition: opacity 0.1s;
    pointer-events: none;
}


.CenterButtonDiv{
    margin-left: 20%;
}
@media (min-width: 1281px) {

    #nav-bar {
        overflow: scroll;
        top: 1.3%;
        z-index: 1;
        height: 100vh;
        position: fixed;
        right: 0px;
        background: var(--navbar-dark-primary);
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        color: var(--navbar-light-primary);
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        user-select: none;
    }

}
@media (min-width: 1025px) {

    #nav-bar {
        top: 1.3%;
        z-index: 1;
        height: 100vh;
        position: fixed;
        right: 0px;
        background: var(--navbar-dark-primary);
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        color: var(--navbar-light-primary);
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        overflow: scroll;
        user-select: none;
    }

}

@media only screen and (min-width: 768px) and (max-width: 1024px) {

    #nav-bar {
        top: 0.7%;
        z-index: 1;
        height: 100vh;
        position: fixed;
        right: 0px;
        background: var(--navbar-dark-primary);
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        color: var(--navbar-light-primary);
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        overflow: scroll;
        user-select: none;
    }
}
@media (min-width: 481px) and (max-width: 767px) {
    .CenterButtonDiv{
        margin-left: 10%;
    }
    #nav-bar {
        width: 100%;
        height: 100vh;
        padding: 10px;
        padding-bottom: 30px;
        position: fixed;
        right: 0px;
        background: var(--navbar-dark-primary);
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        color: var(--navbar-light-primary);
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        overflow: scroll;
        user-select: none;
    }

}

/*
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {
    .CenterButtonDiv{
        margin-left: 10%;
    }
    #nav-bar {
        width: 100%;
        z-index: 1;
        height: 100vh;
        padding: 10px;
        padding-bottom: 30px;
        position: fixed;
        right: 0px;
        background: var(--navbar-dark-primary);
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        color: var(--navbar-light-primary);
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        overflow: scroll;
        user-select: none;
    }

}



#nav-bar hr {
    margin: 0;
    position: relative;
    left: 16px;
    width: calc(100% - 32px);
    border: 2px solid white;
    border-top: solid 1px var(--navbar-dark-secondary);
}
#nav-bar a {
    color: inherit;
    text-decoration: inherit;
}
#nav-bar input[type=checkbox] {
    display: none;
}

#nav-header {
    position: relative;
    width: var(--navbar-width);
    max-width: 500px !important;
    left: 16px;
    width: calc(var(--navbar-width) - 16px);
    min-height: 80px;
    background: var(--navbar-dark-primary);
    border-radius: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    transition: width 0.2s;
}
#nav-header hr {
    position: absolute;
    bottom: 0;
}

#nav-title {
    font-size: 1.5rem;
    transition: opacity 1s;
}

label[for=nav-toggle] {
    position: absolute;
    right: 0;
    width: 3rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#nav-toggle-burger {
    position: relative;
    width: 16px;
    height: 2px;
    background: var(--navbar-dark-primary);
    border-radius: 99px;
    transition: background 0.2s;
}
#nav-toggle-burger:before, #nav-toggle-burger:after {
    content: "";
    position: absolute;
    top: -6px;
    width: 10px;
    height: 2px;
    background: var(--navbar-light-primary);
    border-radius: 99px;
    transform: translate(2px, 8px) rotate(30deg);
    transition: 0.2s;
}
#nav-toggle-burger:after {
    top: 6px;
    transform: translate(2px, -8px) rotate(-30deg);
}

#nav-content {
    margin: -16px 0;
    padding: 16px 0;
    position: relative;
    flex: 1;
    width: var(--navbar-width);
    background: var(--navbar-dark-primary);
    box-shadow: 0 0 0 16px var(--navbar-dark-primary);
    direction: rtl;
    overflow-x: hidden;
    transition: width 0.2s;
}
#nav-content::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

#nav-content::-webkit-scrollbar-button {
    height: 16px;
}

#nav-content-highlight {
    position: absolute;
    left: 16px;
    top: -70px;
    width: calc(100% - 16px);
    height: 54px;
    background: var(--background);
    background-attachment: fixed;
    border-radius: 16px 0 0 16px;
    transition: top 0.2s;
}
#nav-content-highlight:before, #nav-content-highlight:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 16px 16px var(--background);
}
#nav-content-highlight:after {
    top: 100%;
    box-shadow: 16px -16px var(--background);
}

.nav-button {
    position: relative;
    margin-left: 16px;
    height: 54px;
    display: flex;
    align-items: center;
    color: var(--navbar-light-secondary);
    direction: ltr;
    cursor: pointer;
    z-index: 1;
    transition: color 0.2s;
}
.nav-button span {
    transition: opacity 1s;
}
.nav-button .fas {
    transition: min-width 0.2s;
}
.nav-button:nth-of-type(1):hover {
    color: var(--navbar-dark-primary);
}
.nav-button:nth-of-type(1):hover ~ #nav-content-highlight {
    top: 16px;
}
.nav-button:nth-of-type(2):hover {
    color: var(--navbar-dark-primary);
}
.nav-button:nth-of-type(2):hover ~ #nav-content-highlight {
    top: 70px;
}
.nav-button:nth-of-type(3):hover {
    color: var(--navbar-dark-primary);
}
.nav-button:nth-of-type(3):hover ~ #nav-content-highlight {
    top: 124px;
}
.nav-button:nth-of-type(4):hover {
    color: var(--navbar-dark-primary);
}
.nav-button:nth-of-type(4):hover ~ #nav-content-highlight {
    top: 178px;
}
.nav-button:nth-of-type(5):hover {
    color: var(--navbar-dark-primary);
}
.nav-button:nth-of-type(5):hover ~ #nav-content-highlight {
    top: 232px;
}
.nav-button:nth-of-type(6):hover {
    color: var(--navbar-dark-primary);
}
.nav-button:nth-of-type(6):hover ~ #nav-content-highlight {
    top: 286px;
}
.nav-button:nth-of-type(7):hover {
    color: var(--navbar-dark-primary);
}
.nav-button:nth-of-type(7):hover ~ #nav-content-highlight {
    top: 340px;
}
.nav-button:nth-of-type(8):hover {
    color: var(--navbar-dark-primary);
}
.nav-button:nth-of-type(8):hover ~ #nav-content-highlight {
    top: 394px;
}

#nav-bar .fas {
    min-width: 3rem;
    text-align: center;
}

#nav-footer {
    position: relative;
    width: var(--navbar-width);
    height: 54px;
    background: var(--navbar-dark-secondary);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    z-index: 2;
    transition: width 0.2s, height 0.2s;
}

#nav-footer-heading {
    position: relative;
    width: 100%;
    height: 54px;
    display: flex;
    align-items: center;
}

#nav-footer-avatar {
    position: relative;
    margin: 11px 0 11px 16px;
    left: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    transform: translate(0);
    transition: 0.2s;
}
#nav-footer-avatar img {
    height: 100%;
}

#nav-footer-titlebox {
    position: relative;
    margin-left: 16px;
    width: 10px;
    display: flex;
    flex-direction: column;
    transition: opacity 1s;
}

#nav-footer-subtitle {
    color: var(--navbar-light-secondary);
    font-size: 0.6rem;
}

#nav-toggle:not(:checked) ~ #nav-footer-toggle:checked + #nav-footer {
    height: 30%;
    min-height: 54px;
}
#nav-toggle:not(:checked) ~ #nav-footer-toggle:checked + #nav-footer label[for=nav-footer-toggle] {
    transform: rotate(180deg);
}

label[for=nav-footer-toggle] {
    position: absolute;
    right: 0;
    width: 3rem;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

#nav-footer-content {
    margin: 0 16px 16px 16px;
    border-top: solid 1px var(--navbar-light-secondary);
    padding: 16px 0;
    color: var(--navbar-light-secondary);
    font-size: 0.8rem;
    overflow: auto;
}
#nav-footer-content::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}


.swal2-popup , .swal2-toast , .swal2-show , .swal2-popup .swal2-toast .swal2-show{
    margin-top: 15% !important;
}



.Navbarmain{
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    height: 500px;
    min-width: 370px;
    box-shadow: 0px 0px 20px #cacbcc;
    overflow: auto;
}
.profile-photo{
    width: 100%;
    display: flex;
    align-items:center;
    justify-content: center;
    height:120px ;

}
.p-p{
    text-align: center;
    background-color: rgb(26,115,232);
    color: White;
    font-size: 3rem;
    padding: 8px 25px;
    border-radius: 100%;
}
.camera{
    font-size: 10px;
    color: #000;
    background-color: #fff;
    box-shadow: 0px 0px 2.5px #2a2b2c;
    width: 29px;
    height: 29px;
    border-radius: 100%;
    display:flex;
    align-items: center;
    justify-content: center;position: absolute;

    transform: translate(27px,33px);
    padding-right:5px
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 5;
    font-size:16px;

}
.camera  .material-symbols-outlined:hover{
    color:rgb(26,115,232) ;
    cursor:pointer;
}
.name{
    width:100%;
    padding: 0px 0px 0px 0px;
    text-align: center;
    font-weight: 600;
    opacity: .85;
}
.email{
    width: 100%;
    text-align: center;
    opacity:.7;

}
.manage{
    width: 100%;
    text-align: center;
    padding: 22px 0px 22px 0px;
}
.manage .manage-span{
    width: 100%;
    border: 1px solid #cacbcc;
    padding: 7px 10px;
    border-radius: 20px;
    font-weight:600;
    opacity: .85;
    font-size: .8rem;
}
.manage .manage-span:hover{
    background-color: #e7e7e7;
    cursor: pointer;
}

.add-account{
    width:100%;
    display: flex;
    align-items: center;
    height:50px;
    border-top: 1px solid #cacbcc;
    border-bottom: 1px solid #cacbcc;
    font-size: .85rem;
    font-weight: 700;
    opacity: .85;
    letter-spacing: 1px;
    padding:0px 0px 0px 20px
}
.add-account:hover{
    background-color: #e7e7e7;
    cursor: pointer;
}
.sign-out{
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px 0px 20px 0px;
    align-items: center;
    justify-content: center;

}
.sign-out button:hover{
    background-color: #e7e7e7;
    cursor: pointer;
}
.sign-out button{
    padding: 12px 22px;
    background-color: #fff;
    color: rgb(41, 40, 40);
    opacity: .85;
    font-size: .85rem;
    border-radius: 5px;
    font-weight: 600;
    border: 1px solid #cacbcc;
    letter-spacing: 1px;

}


.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 48;
    padding:0px 20px 0px 25px
}

.policy{
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}
.policy-item{
    font-size: .79rem;
    opacity: .75;
    padding: 2px 8px ;
    border-radius: 5px;
}
.policy-item:hover{
    background-color: #e7e7e7;
    cursor: pointer;
}

.policy .material-symbols-outlined {
    font-variation-settings:
        'FILL' 100,
        'wght' 400,
        'GRAD' 0,
        'opsz' 48;
    font-size: 6px;
}
.button-in-dropdown {
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x) !important;
    font-weight: 400 !important;
    font-size: 16px !important;
}
.ai1accountbutton{
    display: flex !important;
    margin-left: 0px !important;
}
.header .header__right .dropdown .ai1accountbutton {
    display: flex;
    margin-left: 0px !important;
}
