/* Header */
.header{
    position: sticky;
    top:0;
    width: 100%;
    padding-top: 15%;
    padding-bottom: 10%;
    padding-right: 10%;
    padding-left: 10%;
    background: url("https://chat.xriba.io/images/carousel/Vector1.png"), radial-gradient(100% 587.2% at 97.33% 0%, rgba(74, 67, 129, 1) 0%, #101828 98.62%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
    background-position: top right;
    background-repeat: no-repeat;
}
.header .text-1{
    font-family: Montserrat;
    font-size: 21px;
    font-weight: 800;
    line-height: 30px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: white;
}
.header .text-2{
    font-family: Open Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: white;
}
.header .text-2>a{
    color: white;
    cursor: pointer;
}
.header img{
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 50%;
}
/* Modal */
.header-modal{
    display: none;
    position: fixed;
    bottom: -90vh;
    max-height: 90vh;
    background-color: white;
    z-index: 11;
    width: 100%;
    border-radius: 15px 15px 0 0;
    padding-bottom: 5%;
    padding-left: 5%;
    padding-right: 5%;

    overflow: auto;
}
.header-modal>.row:first-of-type{
    position: sticky;
    top:0;
    background-color: white;
    padding-top: 5%;
}
.header-modal .title{
    font-family: Open Sans;
    font-size: 18px;
    font-weight: 700;
    line-height: 25.2px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(32, 35, 41, 1);
}
.header-modal .fa-xmark{
    cursor: pointer;
}
.header-modal .info-box{
    background-color: rgba(250, 250, 252, 1);
    padding: 5%;
    border-radius: 15px;
}
.header-modal .info-box .title{
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 600;
    line-height: 22.4px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(32, 35, 41, 1);
}
.header-modal .info-box .content{
    font-family: Open Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 21.7px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(69, 77, 85, 1);
}
.welcome-modal .modal-content{
    border-radius: 24px!important;
    padding: 3%;
}
.welcome-modal .col{
    margin-left:5px;
}
.welcome-modal .title{
    font-family: Montserrat;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -2%;
    text-align: center;
    color: rgba(32, 35, 41, 1);
}
.welcome-modal .subtitle{
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: -1%;
    text-align: center;
    color: rgba(69, 77, 85, 1);
}
.yuxme-modal{
    display: none;
    position: fixed;
    bottom: -90vh;
    height: 90vh;
    background-color: white;
    z-index: 11;
    width: 100%;
    border-radius: 15px 15px 0 0;
    padding-bottom: 5%;
    padding-left: 5%;
    padding-right: 5%;
    overflow: auto;
}
.account-settings-modal{

}
.account-settings-modal .fa-arrow-left:hover{
    cursor: pointer;
}
.account-settings-modal .title{
    font-family: Open Sans;
    font-weight: 700;
    font-size: 18px;
    line-height: 25.2px;
    letter-spacing: 0%;  
}
.account-settings-modal .subtitle{
    font-family: Open Sans;
    font-weight: 400;
    font-size: 14px;
    line-height: 21.7px;
    letter-spacing: 0%;
}
.account-settings-modal label{
    font-family: Open Sans;
    font-weight: 700;
    font-size: 14px;
    line-height: 19.6px;
    letter-spacing: 0%;
}
.account-settings-modal .setting-title{
    font-family: Montserrat;
    font-weight: 600;
    font-size: 16px;
    line-height: 22.4px;
    letter-spacing: 0%;
}
/* Navbar */
.space-before-nav{
    height: 100px;
}
nav{
    height: 80px;
    position: fixed;
    bottom: 0;
    width: 100%;

    border-radius: 16px 16px 0px 0px;

    box-shadow: 0px -10px 10px 0px rgba(231, 233, 241, 0.25);
    
    background-color: white;
}
nav .col{
    min-height:50px;
    cursor: pointer;
}
nav p{
    font-family: Open Sans;
    font-size: 12px;
    font-weight: 400;
    line-height: 16.34px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(126, 132, 139, 1);
}
nav i{
    font-size: 24px;
    color: rgba(126, 132, 139, 1);
}
nav .active>i{
    background: rgba(74, 67, 129, 0.1);
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
    padding-left: 10px;
    border-radius: 20px;
    color: rgba(74, 67, 129, 1);
}
nav .active>p{
    font-weight: 700;
    color: rgba(74, 67, 129, 1);
}

/* Chat list item */
.chat-list-item {
    text-decoration: none;
}
.chat-list-item .row{
    padding: 3%;
    margin: 0 !important;
}
.chat-list-item img{
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 50%;
}
.chat-list-item .name{
    font-family: Montserrat;
    font-size: 18px;
    font-weight: 600;
    line-height: 30px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(32, 35, 41, 1);
}
.chat-list-item .role{
    font-family: Open Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 30px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(69, 77, 85, 1);
    line-height: normal;
}
.chat-list-item .time{
    font-family: Open Sans;
    font-size: 12px;
    font-weight: 400;
    line-height: 30px;
    text-align: right;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(182, 186, 191, 1);
}
.chat-list-item .notification{
    color: white;
    background: rgba(74, 67, 129, 1);
    display: inline-block;
    min-width: 22px;
    height: 22px;
    text-align: center;
    line-height: 22px;
    border-radius: 50%;
    font-size: 15px;
}
.chat-list-item-hr{
    background-color: rgba(182, 186, 191, 1);
    height: 1px;
    margin-left: 3%;
    margin-right: 3%;
}
/* Settings */
.settings-body{
    padding: 5%;
}
.settings-group{
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
}
.settings-group p{
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 700;
    line-height: 19.6px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(71, 161, 178, 1);
}
.settings-item{
    padding: 4%;
    background: rgba(250, 251, 255, 1);
}
.settings-item p{
    font-family: Open Sans;
    font-size: 16px;
    font-weight: 700;
    line-height: 22.4px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(69, 77, 85, 1);
}
.settings-item i{
    color: rgba(74, 67, 129, 1);
}
.first-settings-item{
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}
.last-settings-item{
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}
.logout-modal .modal-content{
    border-radius: 24px!important;
    padding: 3%;
}
.logout-modal .col{
    margin-left:5px;
}
.logout-modal .title{
    font-family: Montserrat;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -2%;
    text-align: center;
    color: rgba(32, 35, 41, 1);
}
.logout-modal .subtitle{
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: -1%;
    text-align: center;
    color: rgba(69, 77, 85, 1);
}

@media (min-width: 1024px) {
    .header {
        padding-top: 3%;
        padding-bottom: 3%;
    }
    .chat-list-item .row {
        padding: 1%;
        margin: 0 !important;
    }
    .settings-item{
        padding: 1%;
    }
    .primary-btn-large{
        padding: 1%;
    }
    .header-modal .info-box{
        padding: 1%;
    }
}