/* =========================
   RESET & BASE
========================= */
html, body {
    height: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f5f7fb;
}



/* =========================
   LAYOUT FULL WIDTH
========================= */
.container-fluid {
    width: 100%;
}

.main-content {
    padding-bottom: 80px;
}

/* espaçamento em telas grandes */
@media (min-width: 1400px) {
    .container-fluid {
        padding-left: 40px;
        padding-right: 40px;
    }
}



/* =========================
   CARDS
========================= */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.card h5 {
    font-weight: 600;
}

/* =========================
   TABELAS
========================= */
.table {
    margin-bottom: 0;
}

.table thead {
    background: #f1f5f9;
}

.table-hover tbody tr:hover {
    background: #f9fbfd;
}

/* =========================
   BOTÃO FLUTUANTE (CHAT)
========================= */
.chat-fab {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* =========================
   CHAT - BASE
========================= */
.chat-screen {
    position: fixed;
    inset: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    z-index: 1100;
}

/* DESKTOP MODE */
.chat-desktop {
    inset: auto;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

/* =========================
   CHAT HEADER
========================= */
.chat-header {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.chat-desktop .chat-header {
    background: #212529;
    color: #fff;
}

/* =========================
   CHAT BODY
========================= */
.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #fafbfc;
}

/* mensagens */
.user {
    text-align: right;
}

.bot {
    text-align: left;
}

.bubble {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 8px;
    max-width: 75%;
    font-size: 14px;
}

.user .bubble {
    background: #212529;
    color: #fff;
}

.bot .bubble {
    background: #e9ecef;
}

/* digitando */
.typing {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

/* =========================
   CHAT INPUT
========================= */
.chat-input {
    display: flex;
    align-items: center;
    padding: 10px;
    border-top: 1px solid #eee;
    background: #fff;
}

.chat-input input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
}

.chat-input input:focus {
    border-color: #212529;
}

/* =========================
   BOTÃO ENVIAR MODERNO
========================= */
.send-btn {
    width:44px;
    height:44px;
    border:none;
    border-radius:50%;
    background:#212529;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:all 0.2s ease;
}

.send-btn i {
    font-size:16px;
}

/* hover desktop */
.send-btn:hover {
    background:#0b5ed7;
    transform:scale(1.05);
}

/* clique */
.send-btn:active {
    transform:scale(0.95);
}

.pointer{
    cursor: pointer;
}

.navbar a,
.navbar .nav-link {
  text-decoration: none !important;
}

/* estilo mais leve no mobile */
@media(max-width:768px){
    .send-btn {
        width:48px;
        height:48px;
    }
}

/* =========================
   RESPONSIVIDADE
========================= */
@media (max-width: 768px) {

    .chat-fab {
        width: 60px;
        height: 60px;
    }

    .send-btn {
        width: 48px;
        height: 48px;
    }

    .chat-input input {
        font-size: 16px;
    }
}