:root {
    --primary: #feffff;
    --secondary: #3a7bd5;
    --bg-gradient: linear-gradient(135deg, #a3a7a8, #0fb8f0c4, #2b535e);
    --text-color: #000000;
    --white: #fa9d9d;
}

body {
    background: var(--bg-gradient);
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

.content-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.passo { display: none; animation: fadeIn 0.5s ease forwards; }
.passo.ativo { display: block; }

button {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

button:hover { transform: scale(1.05); }

/* --- ESTILO DO CHATBOT --- */
#chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 280px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#chat-header {
    background: var(--secondary);
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

#chat-messages {
    height: 200px;
    overflow-y: auto;
    padding: 10px;
    font-size: 14px;
    background: #f9f9f9;
}

.bot-msg { background: #e1f5fe; padding: 8px; border-radius: 10px; margin-bottom: 10px; }
.user-msg { background: #eee; padding: 8px; border-radius: 10px; margin-bottom: 10px; text-align: right; }

#chat-input-area { display: flex; border-top: 1px solid #ddd; }
#chat-input { border: none; padding: 10px; flex: 1; outline: none; }
#btn-chat { border-radius: 0; padding: 5px 15px; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.btn-link-externo {
    display: inline-block;
    background: #28a745; /* Uma cor diferente (verde) para destacar */
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    margin-bottom: 10px; /* Espaço entre este botão e o de reiniciar */
    transition: 0.3s;
}

.btn-link-externo:hover {
    transform: scale(1.05);
    background: #218838;
}