
*{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}



/* startup page=============> */
.startup-container{
    width: 100%;
    text-align: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}



.startup-logo{
    width: 200px;
    height: 200px;
    border-radius: 150px;
}

span{
    color: rgb(94, 169, 255);
}

.startup-agreeBtn {
    width: 300px;
    height: 35px;
    color: white;
    outline: none;
    border: none;
    border-radius: 20px;
    background-color: #0e7007;
    transition: all 0.3s ease;
}

.startup-agreeBtn:hover {
    transform: scale(1.02); 
    cursor: pointer;
    border-radius: 20px;
    background-color: #074902;
}



/* registration page==================> */


.main-container{
    width: 100%;
    height: 100%;
    position: relative;
        transition: filter 0.3s ease;
}

.overly{
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: block;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}


.registeration-container{
    margin-top: 100px;
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}



.registeration-country{
    display: inline-block;
    width: 290px;
    border-bottom: 2px solid black;
    text-align: center;
    margin-bottom: 10px;
       font-size: 20px;
}


.registration-contact-div{
    display: flex;
    gap: 10px;
}

.registration-contact-div > p{
    border: none;
    outline: none;
   border-bottom: 2px solid black;
   font-size: 20px;
}

.registration-contact-div > input{
    border: none;
    outline: none;
   border-bottom: 2px solid black;
   font-size: 20px;
}

.registeration-next-btn{
    width: 100px;
    height: 50px;
    color: white;
    outline: none;
    border: none;
    border-radius: 20px;
    background-color: #0e7007;
    transition: all 0.3s ease;
}


.registeration-next-btn:hover {
    transform: scale(1.02);
    cursor: pointer;
    border-radius: 20px;
    background-color: #074902;
}


/* conform contact /edit or ok ===========?*/

.registration-contact-conform{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(255, 255, 255);
    padding: 20px;
    width: 300px;
    text-align: left;
    display: none;
    box-shadow: 3px 2px 10px black;
}

.conform-number{
    font-weight: bold;
}

.edit-ok-btn-div{
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 20px;
    display: flex;
    width: 80%;
    justify-content: space-between;
}


.edit-ok-btn-div > button{
    color: rgb(94, 169, 255);
    border: none;
    outline: none;
    font-size: 18px;
}


.edit-ok-btn-div > button:hover{
    color: rgb(18, 98, 190);
}



/* profile page ====================> */

.profile-container{
    text-align: center;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}


.profile-container >h1{
    font-weight: bold;
}


.profile-container >img{
    width: 250px;
    height: 250px;
    border-radius: 200px;
        position: relative;
}


.updated-url{
display: none;
}


.change-image-label{
    width: 50px;
    height: 50px;
    align-content: center;
    position: absolute;
    top: 60%;
    left: 55%;
    font-size: 35px;
    background-color: #0e7007;
    border-radius: 40px;
}


.profile-container >button{
    width: 120px;
    height: 35px;
    color: white;
    outline: none;
    border: none;
    border-radius: 20px;
    background-color: #0e7007;
    transition: all 0.3s ease;
}


.set-profile-name{
    width: 300px;
    font-size: 20px;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    border-bottom: 2px solid black;
}


.profile-container >button:hover{
    transform: scale(1.02);
    cursor: pointer;
    border-radius: 20px;
    background-color: #074902;
}


/* dashboard page ===================> */

.dashboard-container{
    display: flex;
    width: 100%;
    height: 100%;
      margin: 0;
      padding: 0;
    position: relative;
    background-color: white;
}



/* section 1 =======> */
.section1{
    background-color: rgb(54, 182, 82);
    width: 3%;
    height: 96vh;
    padding: 10px;
}



/* section 2 =======> */
.section2{
    background-color: white;
    width: 25%;
    height: 95.5vh;
    border: 1px solid  rgb(224, 222, 222);
    border-bottom: none;
    border-radius: 7px 0px 0px 0px;
        padding: 10px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        position: relative;
}

.search-chat{
    padding: 10px;
    width: 92%;
    height: 5px;
    border: 1px solid  rgb(224, 222, 222);
    outline: none;
    border-radius: 3px;
}


.search-chat:focus{
    border: none;
    border-bottom: 3px solid  #17a70d;
}


/*  members show */
.chat-members-div{
    width: 96%;
    padding: 5px;
    height: 74vh;
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow:scroll;
    scrollbar-width: none;
}



.chat-friends{
    width: 95%;
    height: 40px;
    border-radius: 5px;
            border: 1px solid  rgb(224, 222, 222);
            align-content: center;
            padding: 7px;
            cursor: pointer;
            display: flex;
            gap: 20px;
            align-items: center;
}

.chat-friends:hover{
background-color:rgb(224, 222, 222);
}


.chat-friends> img{
    width: 40px;
        height: 40px;
        border-radius: 50px;
}


/* add members for new chat */
.add-chat-member{
   background-color:#17a70d;
   width: 45px;
   height: 45px; 
   border-radius: 10px;
   display: flex;
   justify-content: center;
align-items: center;
position: absolute;
top: 80%;
left: 80%;
cursor: pointer;
}

.add-chat-member> p{
    text-align: center;
    align-content: center;
   background-color:white;
   color: #17a70d;
   width: 25px;
   height: 25px; 
   border-radius: 5px;
}

/* section 3 =======> */
.section3{
    width: 68%;
    height: 98vh;
        border-top: 1px solid rgb(224, 222, 222);
}

.header{
    background-color: white;
         border-bottom: 1px solid rgb(224, 222, 222);
         height: 20px;  
         padding: 15px; 
         align-content: center;
         display: flex;
         gap: 10px;
         align-items: center;
}

.header> img{
    width: 35px;
    height: 35px;
    border-radius: 30px;
}


/* add new member details ================> */

.add-new-member-details{
    width: 300px;
    height: 300px;
    position: absolute;
    top: 15%;
    left: 40%;
    border-radius: 10px;
                border: 1px solid  rgb(128, 124, 124);
                padding: 15px;

                                    background-color: rgb(235, 230, 230);
                                    display: none;
                                    text-align: center;

}


.close-addmember-form {
  position: absolute;
  left: 88%;
  cursor: pointer;
  transition: all 0.3s ease; /* smooth effect */
}

.close-addmember-form:hover {
  color: red;         /* change text/icon color */
  transform: scale(1.2); /* slightly enlarge */
}


.add-new-member-details> h1{
    font-size: 20px;
    text-align: center;
    margin: 10px;
}



.add-new-member-details> input{
    border-radius: 5px;
                    border: 1px solid  rgb(224, 222, 222);
                    outline: none;
                    padding: 10px;
                    width: 280px;
                                    margin-top: 10px;

}


.add-new-member-details> input:focus{

                        border: 2px solid #17a70d;
}



.add-new-member-details> button{
    width: 290px;
    border-radius: 20px;
    color: white;
    background-color:#17a70d;
                    border: 1px solid  rgb(224, 222, 222);
                    outline: none;
                    padding: 10px;
    margin-top: 60px;
}


.add-new-member-details> button:hover{
    border-radius: 20px;
    color: white;
    background-color:rgb(12, 109, 5);
                    border: 1px solid  rgb(224, 222, 222);
                    outline: none;
                    padding: 10px;
                    cursor: pointer;

}


.chat-room {
      background-color: #eee;
      background-image: url(img/background.jpg);
      background-size: cover;
      background-position: center;
      width: 100%;
      height: 78vh;
    overflow:scroll;
    scrollbar-width: none;
    align-content: end;
    padding: 10px 0px 10px 0px;
    }

    .chat-box-div {
      width: 97%;
      display: flex;
      justify-content: flex-end;
      gap: 5px;
      margin-bottom: 8px;
    }

    .chat-box {
      background-color:#bfee9b;
      border-radius: 10px;
      font-size: 12px;
      padding: 7px;
      max-width: 70%;
      width: auto;
      height: auto;
      word-wrap: break-word;
      list-style: none;
    }

    .message-time{
        width: auto;
        font-size: 8px;
        text-align: right;
        margin-top: 3px;
    }


/* section3 typing section=============> */

.typing-section{
    width: 98%;
    height: 20px;
    overflow: scroll;
    scrollbar-width: none;
    padding: 8px;
    border-top: 1px solid  rgb(224, 222, 222);
    display: flex;
    justify-content: space-evenly;
}


.typing-section> input{
    border: none;
    outline: none;
    width: 75%;
    height: 20px;
    font-size: 13px;
}


.typing-section> img{
    height: 70%;
    margin-top: 5px;
}

.typing-section img:hover {
  transform: scale(1.1);
}