/* Botão Flutuante do Chat */
.biobot-launcher {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #00e676; /* Verde Neon */
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 230, 118, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-size: 24px;
}

.biobot-launcher:hover {
    transform: scale(1.05);
    background-color: #00c853;
}

/* Janela do Chat (Inicia oculta) */
.biobot-window {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 360px;
    height: 500px;
    background-color: #0d1117; /* Fundo Escuro Premium */
    border: 1px solid #21262d;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    font-family: system-ui, -apple-system, sans-serif;
}

/* Cabeçalho do Bot */
.biobot-header {
    background-color: #161b22;
    padding: 16px;
    border-bottom: 1px solid #21262d;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.biobot-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.biobot-header h3::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #00e676;
    border-radius: 50%;
    box-shadow: 0 0 8px #00e676;
}

.biobot-close {
    background: none;
    border: none;
    color: #8b949e;
    cursor: pointer;
    font-size: 20px;
    transition: color 0.2s;
    line-height: 1;
}

.biobot-close:hover {
    color: #ffffff;
}

/* Área das Mensagens */
.biobot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
}

.msg.bot {
    background-color: #21262d;
    color: #c9d1d9;
    align-self: flex-start;
    border-top-left-radius: 2px;
}

.msg.user {
    background-color: #00e676;
    color: #000000;
    font-weight: 600;
    align-self: flex-end;
    border-top-right-radius: 2px;
}

/* Botões de Opções/Respostas */
.biobot-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.opt-btn {
    background-color: transparent;
    border: 1px solid #00e676;
    color: #00e676;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s, transform 0.1s;
    font-size: 12px;
    font-weight: 500;
}

.opt-btn:hover {
    background-color: rgba(0, 230, 118, 0.1);
    transform: translateY(-1px);
}

.opt-btn:active {
    transform: translateY(0);
}

/* Área de Input no rodapé do Chat */
.biobot-input-container {
    display: flex;
    padding: 12px;
    border-top: 1px solid #21262d;
    background-color: #161b22;
    gap: 8px;
    align-items: center;
}

#bioBotInput {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #21262d;
    border-radius: 8px;
    background-color: #0d1117;
    color: #ffffff;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

#bioBotInput:focus {
    border-color: #00e676;
}

#bioBotSendBtn {
    padding: 8px 14px;
    background-color: #00e676;
    color: #000000;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
}

#bioBotSendBtn:hover {
    background-color: #00c853;
}

#bioBotSendBtn:disabled {
    background-color: #21262d;
    color: #8b949e;
    cursor: not-allowed;
}
