:root{
    font-size: 10px;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f9;
    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: #007bff;
    text-align: center;
    margin-bottom: 2rem;
}

.header__icon{
    height: 4rem;
    margin-top: 1.5rem;
}

.chat{
    width: 50rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 0.5px 5px rgba(0,0,0,0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.chat__messages{
    height: 30rem;
    overflow-y: auto;
    padding: 1rem;
    border-radius: 0.8rem;
    background-color: #fafafa;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column; 
    gap: 1rem;
}

.chat__message{
    max-width: 75%;
    padding: 1.5rem;
    font-size: 1.2rem;
    border-radius: 1rem;
    word-wrap: break-word;
}

.chat__message--user{
    background-color: #007bff;
    color: white;
    text-align: right;
    margin-left: auto;
}

.chat__message--bot{
    background-color: #e0e0e0;
    color: #333;
    text-align: left;
    margin-right: auto;
}

.chat__input-group{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.chat__input{
    box-sizing: border-box;
    width: 100%;
    outline: none;
    border: 1px solid #ccc;
    font-size: 1.6rem;
    border-radius: 5px;
    padding: 1rem;
    transition: all 300ms ease-in-out;
}

.chat__input:focus{
    border-color: #007bff;
    box-shadow: 0px 0px 5px #007bff;
}

.chat__inputs{
    display: flex;
    gap: 1rem;
}

.chat__select,
.chat__button{
    font-size: 1.6rem;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.chat__select{
    flex: 2;
}

.chat__button{
    flex: 1;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 300ms ease;
}

.chat__button:hover{
    background-color: #0a5bb2;
}