:root{
    --back-body-up: #E4E2DD;
    --back-body-down: #CED4D8;
    --back-top: #00A884;
    --main-body: #F0F2F5;
    --white: white;
    --black: black;
    --borders: #E9EDEF;
    --font-color1: #60607A;
    --active: #e7fce3;
    --getbtn-color: #008069;
    --font-color2: #3c4b55;
    --font-color3: #8696A0;
    --whatsapp-green: #25D366;
    --archived-icon: #00A884;
    --font-color4: #008081;
}


body{
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: linear-gradient(var(--back-body-up) 0%, var(--back-body-down) 100%);
    background-attachment: fixed;
}

*{
    box-sizing: border-box;
    transition: all 0.5s ease;
}

svg,i {
    color: var(--font-color3);
}
.back-top{
    height: 16.4vh;
    width: 100%;
    background: var(--back-top);
}

.main-container{
    z-index: 1;
    position: fixed;
    top: 2.5vh;
    left: 2.5vh;
    right: 2.5vh;
    bottom: 2.5vh;
    border-radius: 1px;
    overflow: hidden;
    background-color: var(--main-body);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.042);
    /* width: 98%; */
    /* height: 80vh; */
    /* box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.075), 0 5px 5px 0 rgba(0, 0, 0, 0.24); */
}

.left-container{
    width: 30%;
    height: 100%;
    float: left;
    background: var(--white);
    border: 0.5px solid var(--borders);
}

.left-header{
    width: 100%;
    height: 7.9%;
    background: var(--main-body);
}

.profile-pic{
    position: relative;
    z-index: 2;
    top: 9px;
    left: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--main-body);
    cursor: pointer;
}

.nav{
    float: right;
    padding: 19px;
    padding-right: 23px;
    padding-top: 16.5px;
    color: var(--font-color1);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 26px;
    /* margin-right: 40px; */
}

.nav span{
    cursor: pointer;
}
.search-box{
    width: 100%;
    height: 6%;
    background: var(--white);
}

.search-btn{
    position: relative;
    z-index: 2;
    top: 10px;
    left: 11px;
    width: 10%;
    height: 80%;
    text-align: center;
    color: var(--font-color1);
    background-color: var(--main-body);
    border-radius: 6px;
    cursor: pointer;
    padding-left: 12px;
}

.search-btn svg{
    position: relative;
    top: 2px;
}

.search-box input{
    width: 94.8%;
    height: 80%;
    border: none;
    background: var(--white);
    outline: none;
    padding: 10px;
    padding-left: 64px;
    font-size: 15px;
    color: var(--font-color1);
    position: relative;
    left: 12px;
    top: -21.5px;
    background-color: var(--main-body);
    border-radius: 8px;
}

.search-box input::placeholder{
    color: var(--font-color1);
    position: relative;
    top:1px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.filters{
    width: 100%;
    height: 6.3%;
    background: var(--white);
    border-bottom: 0.5px solid var(--borders);
    display: flex;
    align-items: center;
    justify-content: left;
    flex-direction: row;
    gap: 8px;
    padding-left: 15px;
    /* padding-top: 10px; */
}

button{
    background: var(--main-body);
    border: none;
    outline: none;
    padding: 6px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 50px;
    cursor: pointer;
    color: var(--font-color1);
    font-size: 15px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#active{
    background: var(--active);
}





.chats{
    width: 100%;
    height: 80%;
    padding-top: 0%;
    background: var(--white);
    overflow-y: scroll;
    overflow-x: hidden;
    display: inline-block;
    align-items: center;
    justify-content: center;
    /* padding-top: 230px; */
    /* border: 1px solid red; */
    border-bottom: 1px solid var(--borders);
    scrollbar-width: thin;
    scrollbar-color: rgb(192, 191, 191) var(--white);
}

.chat{
    width: 100%;
    height: 80px;
    background: var(--white);
    display: flex;
    align-items: top;
    justify-content: left;
    flex-direction: row;
    gap: 10px;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
}

.chat-active{
    background-color: var(--main-body);
}

.chat:hover{
    background-color: var(--main-body);
}

#archive-header{
    width: 100%;
    height: 50px;
}

#archiver{
    width: 100%;
    height: 50px;
}

#archiver svg{
    position: relative;
    top: 4px;
    left: 16px;
    color: var(--archived-icon);
}

#archiver p{
    display: inline;
    font-size: 17px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding-left: 10%;
    padding-top:2px;
}

#archive-header:hover{
    background-color: var(--white);
}

.profiles-pic{
    width: 65px;
    height: 55px;
    margin-top: 10px;
    border-radius: 50%;
    background: var(--main-body);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    overflow: hidden;
}

.profiles-pic img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.details{
    width: 100%;
    height: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid var(--borders);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.name{
    font-size: 15px;
    font-weight: 500;
    color: var(--font-color2);
}

.time{
    float: right;
    font-size: 12px;
    color: var(--font-color3);
    position: relative;
    top: -20px;
}

.message{
    font-size: 14px;
    color: var(--font-color1);
    position: relative;
    top: 5px;
}

.unread{
    background-color: var(--whatsapp-green);
    color: var(--white);
    font-weight: 500;
    font-size: 12px;
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 5px;
    border-radius: 50%;
    float: right;
    position: relative;
    top: -16px;
    left: 0px;
    line-height:12px;
    width: 22px;
    height: 22px;
    display: none;
}

#yes{
    display: inline;
}

.dropdown{
    display: none;
    height:fit-content;
    width: fit-content;
    position: relative;
    top: -20px;
    left: -10px;
    padding-left: 5px;
    float: right;
    color: var(--font-color1);
}

.drop-btn{
    background-color: transparent;
}

.chat:hover .dropdown{
    display: inline;
}


.chat-foot-getter{
    position: fixed;
    bottom: 1.23vw;
    left: 1.29vw;
    width: 29.2%;
    height: 64px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: left;
    flex-direction: row;
    gap: 10px;
    cursor: pointer;
    padding-left: 11px;
    padding-top: 0px;
    border-top: 1.5px solid var(--borders);
    display: none;
}

.wa-icon{
    width: 48px;
    height: 48px;
}

.wa-icon svg{
    padding: 0px;
    width: 100%;
    height: 100%;
}

.wa-foot{
    width: 100%;
    height: 100%;
    color: var(--font-color4);
    padding-top: 15px;
    font-size: 17px;
    padding-left: 10px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.wa-go svg{
    position: relative;
    top: 6.5px;
    left: 0px;
    color: var(--font-color4);
}

#wa-close{
    margin-right: 20px;
    font-size: 0px;
    transition: all 0.3s ease;
}

.chat-foot-getter:hover #wa-close{
    font-size: 17px;
}



.welcome{
    display: block;
    /* display: none; */
    width: 100%;
    height: 100%;
    padding-top: 10.65%;
    text-align: center;
    color: var(--font-color1);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.welcome img{
    width: 20.88vw;
}

.welcome h1{
    font-size: 2.34vw;
    font-weight: 100;
    color: var(--font-color2);
    margin-top: 30px;
}

.welcome p{
    font-size: 0.91vw;
    margin-top: -5px;
    line-height: 20px;
}

.get-btn{
    background-color: var(--getbtn-color);
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    padding: 9.6px;
    padding-left: 24.8px;
    padding-right: 24.8px;
    margin-top: 18px;
    text-shadow: 0.5px 0.5px 0.5px var(--font-color1);
}

footer{
    margin-top: 8.4%;
    font-size: 0.8vw;
    color: var(--font-color3);
}








.main-chat{
    width: 100%;
    height: 50vw;
    display: none;
    background: url("https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png");
    background-attachment: fixed;
    background-size:contain;
    background-repeat:repeat;
}

.screen-header{
    z-index: 2;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 70%;
    height: 60px;
    background: var(--main-body);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    padding-left: 20px;
    border: 2px solid var(--borders);
}

.screen-body{
    /* border: 1px solid; */
    overflow-y: scroll;
    overflow-x: hidden;
    display: inline-block;
    align-items: center;
    justify-content: center;
    /* padding-top: 230px; */
    /* border: 1px solid red; */
    scrollbar-width: thin;
    scrollbar-color: rgb(192, 191, 191) var(--white);
    position: absolute;
    top: 60px;
    right: 0px;
    width: 70%;
    height: 84%;
}

#dis-dp{
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: -5px;
}

#dis-user{
    position: absolute;
    top: 8px;
    left: 70px;
    font-size: 16.6px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#dis-status{
    position: absolute;
    top: 30px;
    left: 70px;
    font-size: 12.6px;
    color: var(--font-color1);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#search-inchat{
    position: absolute;
    top: 14px;
    right: 70px;
}

#search-inchat svg{
    color: var(--font-color1);
}

#menu-inchat{
    position: absolute;
    top: 17px;
    right: 24px;
}

#menu-inchat svg{
    color: var(--font-color1);
}

.screen-chatter{
    z-index: 2;
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 70%;
    height: 60px;
    background: var(--main-body);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    padding-left: 20px;
}