*{
    padding: 0;
    margin: 0;
    font-family: Verdana, Tahoma, sans-serif;
}

body{
    /* background: rgb(7,205,250);
background: linear-gradient(90deg, rgba(7,205,250,1) 22%, rgba(242,245,187,1) 78%); */
background: rgb(81,81,81);
background: linear-gradient(301deg, rgba(81,81,81,1) 22%, rgba(0,0,0,1) 78%);
    height: 98vh;
    width: 100%;
}

.container {
    display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(2, 1fr);
grid-column-gap: 20px;
grid-row-gap: 20px;
}

.div1 { grid-area: 1 / 1 / 3 / 2; }
.div2 { grid-area: 1 / 2 / 3 / 4; }
.div3 { grid-area: 1 / 4 / 2 / 5; }
.div4 { grid-area: 2 / 4 / 3 / 5; }


.div1{
        background-color: rgba(7, 100, 41, 0.108);
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); 
            border-radius: 30px;
            margin-left: 20px;

    }
.div3{
        background-color: rgba(7, 100, 41, 0.108);
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); 
            border-radius: 30px;
            margin-right: 20px;
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: repeat(4, 1fr);
            grid-column-gap: 0px;
            grid-row-gap: 0px;
            border: 1px solid #ccc;
            }
            
            .btn1 { grid-area: 1 / 1 / 2 / 2; }
            .btn2 { grid-area: 2 / 1 / 3 / 2; }
            .btn3 { grid-area: 3 / 1 / 4 / 2; }
            .infodiv { grid-area: 4 / 1 / 5 / 2; }



.div2{
    height: 98vh;
    background: rgb(81,81,81);
    background: linear-gradient(301deg, rgba(81,81,81,1) 22%, rgba(0,0,0,1) 78%);
}

btn{
    display: block;  
    cursor: pointer;
    border:none;
    background: linear-gradient(99deg, #9C3FE4 0%, #C65647 100%);
    color: #fff;
    padding: 0.5em 1em;
    transition: 0.3s;
    text-decoration: none;
    line-height: normal;
    border-radius: 15px;
    margin-left: 25%;
    margin-right: 25%;
    text-align: center;
    height: 25px
}


btn:hover{
    background-color: #fff;
    color: #000;
}

.infodiv{
    color: #e2ebf1;
    text-align: center;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 0 0 30px 30px;
}
nav{
    display: flex;
    height: 6%;
    background-color: rgb(0, 0, 0);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 15px 15px 0 0;
}

.navbar{
    width: 100%;
    display: flex;
    
}


.dpimg{
    cursor: pointer;
    border-radius: 100%;
    width: 5%;
    height: 5%;
    height: auto;
    margin: auto 0px;
    margin-left: 50%;
}

.navbar .personalInfo{
    line-height: 100%;
    margin: auto 0px;
    margin-left: 2%;
    visibility: hidden;
}

.personalInfo #name{
    color: #e9edef;
    margin-bottom: 4px;
}

.personalInfo #lastseen{
    color: #8696a0;
    font-size: 0;
}


.scrollable{
    overflow-y: scroll;
    color: #fff;
    display: flex;
    height: 85%;
    flex-direction: column;
    background-color: rgba(14, 139, 60, 0.045);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background-size:contain;
    align-items: flex-end;
    position: relative;
    -ms-overflow-style:none; 
    scrollbar-width: none; 
    position: relative;
    
}

.scrollable .chatting{
    overflow-y: scroll;
    -ms-overflow-style: none; 
    scrollbar-width:none; 
    position: relative;
    height: 100%;
    width: 100%;
}

.scrollable .chatting::-webkit-scrollbar {
    display: none;
  }

#listUL{
    overflow-y: hidden;
    position: static;
    width: 100%;
    bottom: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
}

#listUL li{
    width: 100%;
    text-decoration: none;
    flex-direction: row-reverse;
}

.sent{
    text-align: end;
    float: right;
    width: auto;
    max-width: 45%;
}

.green{
    margin: 5px;
    text-align: start;
    width: auto;
    padding: 10px;
    background-color: #005c4b8d;
    border-radius: 15px 15px 0px;
}

#sentlabel{
    color: #94bab3;
    display: block;
    text-align: end;
    font-size: x-small;
}

.recieved{
    float: left;
    width: 45%;
    max-width: 45%;
    background-color: red;

}


.grey{
    max-width: 45%;
    margin: 5px;
    text-align: start;
    width: auto;
    padding: 10px;
    background-color: #5b5e6071;
    border-radius: 0px 15px 15px;
}

.grey .mapview{
    margin: auto;
    display: flex;
    padding: 5px;
}

.add address{
    margin-top: 10px;
    padding-left: 15px;
}

.map{
    margin: auto;
    width: 100%;
    border-radius: 10px;
}

.dateLabel{
    color: #94bab3;
    display: block;
    text-align: end;
    font-size: x-small;
}


/* help menu bold words color  */

.sk .bold{
    color: rgba(219, 154, 33, 0.822);
}


/* resume thumbnail in received class*/
.resumeThumbnail{
    width: 100%;
    border-radius: 10px 10px 0px 0px;
}

.downloadSpace{
    background-color: #1d282f;
    display: flex;
    width: 100%;
}
.downloadSpace .pdfname{
    display: flex;
    width: 100%;
}
.pdfname label{
    margin: auto 0px;
}
.downloadSpace img{
    width: 30px;
    cursor: pointer;
    margin: 5px;
}

/* this css is used for embedded html in messages */
.bold{
    font-weight: bold;
}

.alink{
    color: goldenrod;
    transition: all 600ms ease;
    text-decoration: none;
}

.alink:hover{
    text-decoration: none;
    color: green;
}

/* this css is used for social links message */

.social{
    padding: 10px;
}

.social .socialItem{
    width: 100%;
    border-radius: 10px;
    background-color: #94bab3;
    cursor: pointer;
    display: flex;
    margin-bottom: 10px;
    transition: all 500ms ease-in-out;
}

.social .socialItemI{
    margin: auto;
    padding: 10px;
    flex-direction: column;
}

.social .socialItem:hover{
    background-color: rgba(58, 170, 58, 0.863);
}
#call{
    flex-direction: column;
    text-align: center;
}

.number{
    display: none;
}




.scrollable .fullScreenDP{
    transition: all 700ms ease-in-out;
    position: absolute;;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    background-color: #2f2f2fec;
    z-index: 1000;
}

.scrollable .fullScreenDP .insideDP{
    display: flex;
    margin: auto;
    scrollbar-width: 0px;
}

.closeBTN{
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    margin-left: 6%;
    margin-top: 5px;
    cursor: pointer;
    
}

.btnColor{
    fill: rgba(0, 0, 0, 0.692);
    transition: all 400ms ease-in-out;
}

.closeBTN:hover .btnColor{
    fill: red;
}



.scrollable .fullScreenDP .insideDP .dp{
    width: 90%;
    margin: auto;
    border-radius: 10px;
}







footer{
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
    height: auto;
    background-color: rgb(0, 0, 0);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    border-radius: 0 0 10px 10px;
}

.sendBar{
    display: flex;
    height: 100%;
    width: 100%;
    margin: auto;

}
.sendBar svg{
    margin: auto;
    height: 40%;
    min-height: 40%;

}

.sendBar input[type='text']{
    margin: auto;
    margin: 5px;
    border-radius: 10px;
    padding: 10px;
    color: #fff;
    float: left;
    width: 80%;
    height: 100%;
    outline-color: transparent;
    accent-color: transparent;
    background-color: rgba(24, 191, 221, 0.111);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    outline: none;
    border-color: transparent;
}


::placeholder { 
    color: #d5dde2;
    opacity: 1; 
  }
  
  :-ms-input-placeholder { 
    color: #dee3e6;
  }
  
  ::-ms-input-placeholder { 
    color: #e2ebf1;
  }



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

    body{
        margin: auto;
    }

    .sendBar{
        width: 85%;
    }

    .scrollable{
        -ms-overflow-style: none; 
        scrollbar-width: none; 
        position: relative;
        overflow: hidden;
    }

    

    .scrollable .fullScreenDP{
        display: none;
        width: 100%;
        height: 100%;
        overflow-y: scroll;
    }


    .scrollable .fullScreenDP .insideDP{
        display: flex;
        width: 70%;
    }


    .scrollable .fullScreenDP .dp{
        width: 50%;
        margin: auto;
    }

    .scrollable .closeBTN{
        margin-top: 15px;
    }

    #call:hover .number{
        display: block;
        height: auto;
    }
}
  
.div4 {
    
        background-color: rgba(7, 100, 41, 0.108);
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); 
            border-radius: 30px;
            margin-right: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }
  
  .profile-info {
    display: flex;
    align-items: center;
  }
  
  .profile-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    color: #fff;
  }
  
  .profile-details {
    flex-grow: 1;
  }
  
  .details {
    font-weight: bold;
    color: #fff;

  }
  
  #map {
    width: 300px;
    height: 100px;
    margin-top: 20px;
  }
  
  
  /* Responsive CSS */
  @media (max-width: 400px) {
    .div4 {
      max-width: 100%;
    }
    .profile-icon {
      width: 20px;
      height: 20px;
      margin-right: 5px;
    }
    .profile-details h2 {
      font-size: 14px;
    }
    .details {
      font-size: 12px;
    }
    #map {
      height: 80px;
    }
  }

  /* div1 styles */
.div1 {
align-items:center ;
    color: #fff;
    padding: 20px;
    box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2);
  }
  
  /* Logo styles */
  .logo img {
    font-size: 24px;
    margin: 0;
  }
  
  /* Chat list styles */
  .chat-list h2 {
    font-size: 18px;
    margin-top: 20px;
    color: #fff;
  }
  
  .chat-list ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
  }
  
  .chat-list li {
    text-align: center;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 10px;
    border-radius: 15px;
    color: antiquewhite;
    border: 1px solid #ccc;
  }
  
  .chat-list li:hover {
    background-color: #ffffff31;
  }
  
  /* New chat button styles */
  .new-chat button {
    background-color: rgba(7, 100, 41, 0.108);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); 
    color: #fff;
    border: 1px solid #fff4f4;
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 15px;
    width: 100%;
  }
  
  .new-chat button:hover {
    background-color: #115d0894;
  }
  
  /* Actions (Logout and Settings) button styles */
  .actions button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 16px;
    margin-right: 10px;
  }

  .actions button:last-child {
    margin-right: 0;
  }
  

  
.settings, .logout{
    border-radius: 15px;
    padding: 10px;
}
.logout:hover{
    background-color: #fa030391;
}
.settings:hover{
    background-color: #0920ea96;
}