/* =========================================
MINDWAVE AI CHATBOT
========================================= */

.mw-chatbot-wrapper{
position:fixed !important;
left:20px !important;
bottom:20px !important;
z-index:2147483647 !important;
font-family:Inter,Arial,sans-serif !important;
}

.mw-chat-toggle{
position:fixed !important;
left:20px !important;
bottom:20px !important;

```
width:64px;
height:64px;

border:none;
border-radius:18px;

background:linear-gradient(135deg,#ff6b00,#7c3aed);

color:#fff;
font-size:26px;

display:flex;
align-items:center;
justify-content:center;

cursor:pointer;

box-shadow:0 15px 40px rgba(124,58,237,.25);

z-index:2147483647 !important;

transition:.3s ease;
```

}

.mw-chat-toggle:hover{
transform:translateY(-3px);
}

.mw-chat-container{
position:fixed !important;

```
left:20px !important;
bottom:95px !important;

width:380px;
max-width:calc(100vw - 20px);

height:700px;
max-height:85vh;

background:#fff;

border-radius:24px;

overflow:hidden;

display:none;

flex-direction:column;

border:1px solid #ececec;

box-shadow:0 25px 70px rgba(0,0,0,.15);

z-index:2147483646 !important;
```

}

/* HEADER */

.mw-chat-header{
padding:16px 18px;

```
background:linear-gradient(135deg,#ff6b00,#7c3aed);

color:#fff;

display:flex;
align-items:center;
justify-content:space-between;
```

}

.mw-header-content{
display:flex;
align-items:center;
gap:12px;
}

.mw-avatar{
width:48px;
height:48px;

```
border-radius:14px;

overflow:hidden;

background:#fff;
```

}

.mw-avatar img{
width:100%;
height:100%;
object-fit:cover;
}

.mw-chat-header h3{
margin:0;
font-size:18px;
font-weight:700;
}

.mw-chat-header p{
margin:2px 0 0;
font-size:11px;
opacity:.9;
}

#mwChatClose{
width:34px;
height:34px;

```
border:none;
border-radius:10px;

background:rgba(255,255,255,.18);

color:#fff;

cursor:pointer;
```

}

/* BODY */

.mw-chat-body{
flex:1;
overflow-y:auto;
padding:15px;
background:#f8fafc;
}

.mw-chat-body::-webkit-scrollbar{
width:4px;
}

.mw-chat-body::-webkit-scrollbar-thumb{
background:#ddd;
border-radius:20px;
}

/* MESSAGES */

.mw-bot-message{
background:#fff;
border:1px solid #ececec;

```
border-radius:16px;
border-bottom-left-radius:5px;

padding:12px 14px;

margin-bottom:10px;

max-width:85%;

color:#111827;
line-height:1.6;
```

}

.mw-user-message{
background:linear-gradient(135deg,#ff6b00,#7c3aed);

```
color:#fff;

border-radius:16px;
border-bottom-right-radius:5px;

padding:12px 14px;

margin:10px 0 10px auto;

max-width:85%;
```

}

/* ACTION AREA */

.mw-chat-actions{
padding:15px;
background:#fff;
border-top:1px solid #ececec;
}

/* BUTTON GRID */

.mw-action-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:10px;
}

.mw-action-btn{
min-height:58px;

```
border:none;
border-radius:14px;

background:#f7f5ff;

color:#6d28d9;

font-size:13px;
font-weight:700;

cursor:pointer;

padding:10px;

transition:.25s ease;
```

}

.mw-action-btn:hover{
background:linear-gradient(135deg,#ff6b00,#7c3aed);
color:#fff;
}

/* INPUTS */

.mw-chat-input,
.mw-chat-textarea{
width:100%;

```
border:1px solid #d8d8d8;

border-radius:12px;

box-sizing:border-box;
```

}

.mw-chat-input{
height:50px;
padding:0 14px;
}

.mw-chat-textarea{
height:110px;
padding:12px;
resize:none;
}

.mw-chat-input:focus,
.mw-chat-textarea:focus{
outline:none;
border-color:#7c3aed;
}

/* PRIMARY BUTTON */

.mw-next-btn{
width:100%;
height:50px;

```
margin-top:10px;

border:none;
border-radius:12px;

background:linear-gradient(135deg,#ff6b00,#7c3aed);

color:#fff;

font-weight:700;

cursor:pointer;
```

}

/* SECONDARY BUTTON */

.mw-download-btn{
width:100%;
height:50px;

```
margin-top:10px;

display:flex;
align-items:center;
justify-content:center;

text-decoration:none;

border-radius:12px;

background:#f4f4f4;

color:#111827;

font-weight:600;
```

}

/* MOBILE */

@media(max-width:768px){

```
.mw-chat-toggle{
    left:12px !important;
    bottom:12px !important;

    width:58px;
    height:58px;
}

.mw-chat-container{
    left:10px !important;
    bottom:80px !important;

    width:calc(100vw - 20px);
    height:85vh;

    border-radius:18px;
}

.mw-action-grid{
    grid-template-columns:1fr;
}
```

}
