*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
display:flex;
background:#050816;
color:white;
height:100vh;
overflow:hidden;
}


/* SIDEBAR */

#sidebar{

width:280px;

background:#09101f;

padding:25px;

display:flex;

flex-direction:column;

justify-content:space-between;

border-right:1px solid #1b2440;

}

.brand{

display:flex;

gap:15px;

align-items:center;

margin-bottom:30px;

}

.brand-icon{

font-size:35px;

color:#4f7cff;

}

.brand h1{

font-size:32px;

}

.brand p{

color:#8f98b7;

font-size:14px;

}

.novo-chat{

background:linear-gradient(
90deg,
#2f6bff,
#7a43ff
);

border:none;

padding:18px;

border-radius:15px;

color:white;

font-size:18px;

cursor:pointer;

margin-bottom:25px;

}

#historico{

height:250px;

overflow:auto;

display:flex;

flex-direction:column;

gap:10px;

}

#historico div{

background:#121c33;

padding:12px;

border-radius:10px;

cursor:pointer;

transition:.2s;

}

#historico div:hover{

background:#1c2a49;

}

.side-menu{

display:flex;

flex-direction:column;

gap:20px;

margin-top:30px;

}

.side-menu a{

cursor:pointer;

color:white;

text-decoration:none;

font-size:18px;

}

.side-menu a:hover{

color:#4f7cff;

}


.perfil{

margin-top:30px;

text-align:center;

}

.perfil img{

width:60px;

border-radius:50%;

margin-bottom:10px;

}

.perfil button{

margin-top:10px;

}


/* APP */

.app{

flex:1;

display:flex;

flex-direction:column;

overflow:hidden;

}


/* TOPO */

.topbar{

height:80px;

display:flex;

justify-content:space-between;

align-items:center;

padding:0 30px;

border-bottom:1px solid #1b2440;

background:#09101f;

}

.topbar p{

color:#9aa5cb;

}

.upgrade{

background:#6843ff;

border:none;

padding:12px 18px;

border-radius:12px;

color:white;

cursor:pointer;

}


/* LOGIN */

.login-box{

max-width:500px;

margin:auto;

display:flex;

flex-direction:column;

gap:15px;

padding:30px;

}

.login-box input{

padding:16px;

border:none;

border-radius:12px;

background:#121c33;

color:white;

}

.login-box button{

padding:15px;

background:#2f6bff;

border:none;

color:white;

border-radius:12px;

}


/* CHAT */

.chat-premium{

display:flex;

flex-direction:column;

height:100%;

padding:25px;

overflow:hidden;

}

#chat{

flex:1;

overflow:auto;

padding-right:10px;

}

.msg{

padding:18px;

border-radius:18px;

margin-bottom:15px;

max-width:80%;

line-height:1.6;

}

.user{

background:#2f6bff;

margin-left:auto;

}

.ia{

background:#151f36;

}


.input-area{

display:flex;

gap:15px;

margin-top:20px;

}

textarea{

flex:1;

height:70px;

background:#121c33;

border:none;

border-radius:18px;

padding:20px;

color:white;

resize:none;

}

.input-area button{

width:70px;

border:none;

background:#2f6bff;

color:white;

border-radius:18px;

font-size:24px;

cursor:pointer;

}


/* ATALHOS */

.atalhos{

display:flex;

gap:15px;

margin-top:20px;

overflow:auto;

}

.atalhos button{

background:#121c33;

border:none;

padding:15px;

color:white;

border-radius:12px;

cursor:pointer;

}


/* PÁGINAS */

.pagina{

padding:40px;

overflow:auto;

}

.contatos{

display:grid;

grid-template-columns:repeat(
auto-fit,
minmax(180px,1fr)
);

gap:20px;

margin-top:20px;

}

.contatos a{

background:#121c33;

padding:25px;

border-radius:15px;

text-decoration:none;

color:white;

text-align:center;

}

.contatos a:hover{

background:#1a2745;

}


/* FOOTER */

footer{

padding:20px;

text-align:center;

color:#8f98b7;

font-size:14px;

}


/* SCROLL */

::-webkit-scrollbar{

width:8px;

}

::-webkit-scrollbar-thumb{

background:#2f6bff;

border-radius:10px;

}

/* CONTATO PREMIUM */

.contatos{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
gap:18px;
margin-top:30px;
}

.contato-card{
background:#121c33;
border:1px solid #1f2b4a;
border-radius:18px;
padding:25px 15px;
text-align:center;
text-decoration:none;
color:white;
transition:.3s;
overflow:hidden;
}

.contato-card:hover{
transform:translateY(-5px);
box-shadow:0 0 25px rgba(47,107,255,.35);
}

.icone-contato{
width:60px;
height:60px;
margin:0 auto 12px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:30px;
background:#050816;
}

.contato-card h3{
font-size:18px;
margin-bottom:8px;
}

.contato-card span{
font-size:13px;
color:#9aa5cb;
word-break:normal;
}

.whatsapp .icone-contato{
background:#0f3d25;
}

.email .icone-contato{
background:#3d1f0f;
}

.instagram .icone-contato{
background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);
}

.telegram .icone-contato{
background:#123c5c;
}

.texto-contato{
margin-top:25px;
color:#9aa5cb;
line-height:1.7;
}

/* CORRIGIR TELA LOGIN */

#areaLogin{
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
gap:15px;
width:100%;
max-width:420px;
margin:80px auto;
background:#09101f;
padding:35px;
border-radius:22px;
border:1px solid #1b2440;
box-shadow:0 0 30px rgba(47,107,255,.25);
}

#areaLogin input,
#areaLogin button{
width:100%;
}

#areaLogin h2{
margin-bottom:10px;
color:#fff;
text-align:center;
}

#areaLogin input{
background:#121c33;
border:1px solid #1f2b4a;
border-radius:14px;
padding:16px;
color:white;
outline:none;
}

#areaLogin input:focus{
border-color:#2f6bff;
}

#areaLogin button{
background:#2f6bff;
border:none;
border-radius:14px;
padding:15px;
color:white;
cursor:pointer;
font-weight:600;
}

footer{
margin-top:50px;
padding:30px;
text-align:center;
border-top:1px solid #1f2a44;
color:#aaa;
}

.footer-links{
display:flex;
justify-content:center;
gap:20px;
margin-bottom:15px;
flex-wrap:wrap;
}

.footer-links a{
cursor:pointer;
color:white;
text-decoration:none;
}

.footer-links a:hover{
color:#4f8cff;
}