*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
    font-family: Arial, sans-serif;
    background-color: #121212;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
header{
    background-color: #1e1e1e;
    padding: 20px;
    border-bottom: 1px solid #ccc;
    text-align: center;
}
h1{
    color:#ffffff;
    font-size: 24px;
    margin-bottom: 5px;
}
.hero{
    color:#d3d3d3;
    font-size: 14px;
}
.Chat{
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    flex: 1;
    display: flex;
    gap: 16px;
    overflow-y:auto;
    flex-direction: column;
}
.Botmsg{
    background-color: #ffffff;
    color:#2a2a2a;
    padding: 12px 15px;
    border-radius: 8px;
    width: fit-content;
    max-width: 70%;
    line-height: 1.4;
    align-self: flex-start;

}
.Botmesg{
    font-size: 15px;
}
.input{
    width: 90%;
    max-width: 800px;
    margin: 0 auto 20px;
    display: flex;
    gap: 10px;
}
.input input{
    flex:1;
    padding : 12px 15px;
    border: 1px solid #333;
    border-radius: 9px;
    font-size: 15px;
    background-color: #1e1e1e;
    color: white;
    
}
.input input::placeholder{
    color: #777;
}
.input input:focus{
    border-color: #4f46e5;
    outline: none;
}
button{
    padding: 0 20px;
    border: none;
    border-radius: 7px;
    background: #4f46e5;
    color: white;
    font-weight:bold;
    font-size: 15px;
    cursor: pointer;
}
button:hover{
    background: #3b32c6;
}
.UserBubble{
    background-color: #2a2a2a;
    color:#ffffff;
    padding: 12px 15px;
    border-radius: 8px;
    width: fit-content;
    max-width: 60%;
    line-height: 1.3;
    align-self: flex-end;
}

#status{
    display: block;
    font-size: 20px;
    margin: 20px;
}
.Thinking{
    display: none;
    background-color:white;
    color: #2a2a2a;
    padding: 12px 15px;
    border-radius: 8px;
    width: fit-content;
    max-width: 70%;
    line-height: 1.4;
    align-self: flex-start;
    flex-direction: column;
    font-style: italic;
}
.sidebar{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 250px;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    background-color: #1e1e1e;
    color: white;
    padding: 20px;
    border-right: 1px solid #333;
}
.main{
    margin-left: 240px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.chatpiece{
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;


}
.chatpiece:hover{
    background-color: #2a2a2a;

}
.sidebar h3{
    font-size: 14px;
    color: #a3a3a3;
    margin-bottom: 5px;
    
}