*{
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
}

body {
    background: #fff;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    display: flex;
  background: linear-gradient(135deg, #075e54, #764ba2);

    flex-direction: column;
    align-items: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;


    


    
    

}

.main{
    border: 1px solid #ddd;
    margin-top: 20px;
    background: #eeee;
    border-radius: 10px;
    overflow: hidden;
    
}

#profil_div {
    border: none;
    border-bottom: 2px solid #ddd;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    
    display: flex;
    align-items: center;
     background: #075354;


    padding: 18px;
    
    justify-content: ;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-image: url(nadra_logo.svg);
    position: relative;

    
    


}

.name{
    width: 75%;
    
    padding-bottom:  0px;
    display: flex;
    flex-direction: column;
    
    gap: 3px;
}

.imag{
    background: white;
    width: 100%;
    color: #075354;

    width: 40px;
    border: none;
    border-radius: 50%;
    margin-left: 15px;

}

.imag img {
    width: 100%;
    height: 38px;
    object-fit: fill;

}
.name p {
    font-size: 13px;
    color:#fff;
    
    

}


#text_area{
    width: 300px;
    height: 420px;
    background-color: transparent;
    
    border-radius: 8px;

    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.message {

    max-width: 70%;
    
    
    margin: 6px 0px;
    word-wrap: break-word;
    font-size: 14px;}

.user {
  background: #075354;
  color: #fff;
  border-radius: 8px;
  align-self: flex-end;
  padding: 3px 12px;
  font-size: 20px;

}

.bot{
  max-width: 90%;
  padding: 10px 14px;
  margin: 8px 10px;
  border-radius: 15px;
  background: rgba(255,255,255,0.8);
  font-size: 14px;
  word-wrap: break-word;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.8);
  display: inline-block;
}



    
    





#typing {
    position: absolute;
  display: none;
  font-size: 12px;
  font-style: italic;
  color: #fff;
  margin-top: 5px;
  animation: blink 1s infinite;
  top: 95px;
  margin-left: 20px;
  
  

}

@keyframes blink {
  50% { opacity: 0; }
}


.inpt {
    display: flex;
    justify-content: space-around;
    border-top:  1px solid #ccc;
}

#user_inp {
    border: none;
    background: none;
    flex: 1;
    padding: 8px 10px;
    outline: none;
    text-transform: capitalize;
    font-size: 14px;
}

#send_btn{
    background-color: #075e54;
    color: white;
    
    border: none;
    border-radius: 10%;
    padding: 10px;
    
    cursor: pointer;
    font-weight: bold;


}

