:root{
    font-size: 10px;
}

body{
    background-color: #15202b;
    font-family: Helvetica,Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 0;
}
.chat__header{
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.header__title{
    font-size: 3rem;
    font-weight: bold;
    color: #ccc;
    text-align: center;
    margin-bottom: 2rem;
}
.chat{
    display: flex;
    width: 70rem;
    background-color: #3a4b5a;
    border-radius: 1rem;
    box-shadow: 0 0.5px 10px rgba(0, 0, 0, 0.2) ;
    padding: 2rem;
    flex-direction: column;
}

.header__icon{
    height: 4rem;
    margin-top: 1.5rem;
}


.chat__messages{
    height: 30rem;
    overflow-y: auto;
    padding: 1rem;
    border-radius:0.8rem;
    background-color: #476f97;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat__message{
    max-width: 75%;
    padding: 1.5rem;
    font-size: 1.8rem;
    border-radius: 1rem;
    word-wrap: break-word;
    display: flex;
    align-items: center;
}

.chat__message--user{
    align-items: flex-end;
    background-color: #007bff;
    color: white;
    text-align: right;
    justify-content: flex-end;
    margin-left: 13rem;
}

.chat__message--bot{
    align-items: flex-start;
    background-color: #cacaca;
    color: #333;
    text-align: right;
    justify-content: flex-start;
}

.chat__input-group{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 1rem;
}

.chat__input{
    width: auto;
    outline: none;
    border: 1px solid #ccc;
    font-size: 1.6rem;
    border-radius: 5px;
    transition: all 300ms ease-in-out;
    flex: 4;
}

.chat__input:focus{
    border-color: #007bff;
}
.chat__inputs{
    display: flex;
    gap :1rem;
}

.chat__input,
.chat__button{
    margin: 0.1em;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;

}

.chat__button{
    background-color: #007bff;
    color: white;
    flex: 0.5;
    cursor: pointer;
    flex: 1;
}

.chat__button:hover{
    background-color: #064f9c;
    color: white;
    transition: all 300ms ease;
    outline: none;
    flex: 0.5;
}