/* FABRIMIND AI BUTTON */

#ai-button{
position:fixed;
bottom:90px;
right:20px;
background:gold;
color:black;
width:55px;
height:55px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
font-weight:bold;
font-size:18px;
box-shadow:0 5px 15px rgba(0,0,0,0.4);
z-index:9999;
transition:0.3s;
}

#ai-button:hover{
transform:scale(1.1);
background:#ffd700;
}


/* AI CHAT BOX */

#ai-chat{
position:fixed;
bottom:160px;
right:20px;
width:320px;
background:#111;
border-radius:12px;
overflow:hidden;
display:none;
box-shadow:0 12px 35px rgba(0,0,0,0.7);
z-index:9999;
font-family:Poppins, sans-serif;
}


/* HEADER */

#ai-header{
background:black;
color:gold;
padding:12px;
font-weight:600;
text-align:center;
border-bottom:1px solid #333;
}


/* CHAT AREA */

#ai-messages{
height:260px;
overflow-y:auto;
padding:12px;
font-size:14px;
line-height:1.5;
}


/* INPUT AREA */

#ai-input-area{
display:flex;
border-top:1px solid #333;
}


/* INPUT */

#ai-input{
flex:1;
padding:10px;
border:none;
outline:none;
background:#222;
color:white;
font-size:14px;
}


/* SEND BUTTON */

#ai-input-area button{
background:gold;
border:none;
padding:10px 15px;
cursor:pointer;
font-weight:500;
transition:0.3s;
}

#ai-input-area button:hover{
background:#ffd700;
}


/* MOBILE OPTIMIZATION */

@media (max-width:768px){

#ai-chat{
width:90%;
right:5%;
bottom:140px;
}

#ai-button{
bottom:80px;
}

}