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

body{
background:#f4f6f9;
height:100vh;
display:flex;
flex-direction:column;
}

header{
height:60px;
display:flex;
align-items:center;
padding-left:15px;
background:white;
box-shadow:0 2px 5px rgba(0,0,0,0.1);
}

.logo{
height:35px;
}

.app-container{
flex:1;
display:flex;
justify-content:center;
align-items:center;
padding:15px;
}

.card{
background:white;
width:100%;
max-width:400px;
padding:25px;
border-radius:12px;
box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

h2{
margin-bottom:20px;
text-align:center;
color:#333;
}

form{
display:flex;
flex-direction:column;
gap:12px;
}

input{
padding:12px;
border-radius:8px;
border:1px solid #ddd;
font-size:15px;
}

button{
padding:12px;
border:none;
border-radius:8px;
background:#2c7be5;
color:white;
font-size:16px;
font-weight:bold;
cursor:pointer;
}

button:hover{
background:#1a68d1;
}

.divider{
height:1px;
background:#eee;
margin:20px 0;
}

.btn-cadastro{
display:block;
text-align:center;
padding:12px;
border-radius:8px;
background:#28a745;
color:white;
text-decoration:none;
font-weight:bold;
}

.btn-cadastro:hover{
background:#1f8a39;
}

/* mobile */
@media(max-width:480px){

.card{
padding:20px;
}

}






.logo img{
height:40px;
}

.container{
display:flex;
height:90vh;
max-width:1200px;
margin:auto;
}

.usuarios{

width:250px;
background:white;
border-right:1px solid #ccc;
overflow:auto;

}

.usuarios div{

padding:10px;
cursor:pointer;
border-bottom:1px solid #eee;

}

.chat{

flex:1;
display:flex;
flex-direction:column;
background:white;

}

#mensagens{

flex:1;
padding:15px;
overflow:auto;

}

.msg{

margin-bottom:10px;

}

.enviar{

display:flex;
border-top:1px solid #ddd;

}

.enviar input{

flex:1;
padding:12px;
border:none;

}

.enviar button{

padding:12px;
background:#2563eb;
color:white;
border:none;

}

@media(max-width:768px){

.container{
flex-direction:column;
}

.usuarios{
width:100%;
height:150px;
}

}