.simcebot-publico {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    font-family: Arial, Helvetica, sans-serif;
}

.simcebot-publico-toggle {
    position: relative;
    width: 78px;
    height: 78px;
    padding: 0;
    border: 0;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 16px 38px rgba(13, 54, 67, 0.25);
    cursor: pointer;
}

.simcebot-publico-toggle img {
    position: relative;
    width: 70px;
    height: 70px;
    object-fit: contain;
    z-index: 2;
}

.simcebot-publico-ring {
    position: absolute;
    inset: -7px;
    border: 2px solid rgba(25, 211, 209, 0.45);
    border-radius: 50%;
    animation: simcebotPublicoPulse 2.5s infinite;
}

.simcebot-publico-notify {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 14px;
    height: 14px;
    background: #f4c430;
    border: 2px solid #ffffff;
    border-radius: 50%;
    z-index: 3;
}

.simcebot-publico-panel {
    position: absolute;
    right: 0;
    bottom: 94px;
    width: min(360px, calc(100vw - 28px));
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.simcebot-publico-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.simcebot-publico-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(15, 93, 103, 0.14);
    border-radius: 18px;
    box-shadow: 0 24px 54px rgba(7, 43, 50, 0.2);
}

.simcebot-publico-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid rgba(15, 93, 103, 0.12);
    background: #f5fbfb;
}

.simcebot-publico-headline {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.simcebot-publico-headline img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.simcebot-publico-headline h5,
.simcebot-publico-headline p {
    margin: 0;
}

.simcebot-publico-headline h5 {
    color: #0f5d67;
    font-size: 16px;
    font-weight: 700;
}

.simcebot-publico-headline p {
    color: #607a81;
    font-size: 12px;
}

.simcebot-publico-actions {
    display: flex;
    gap: 6px;
}

.simcebot-publico-actions button {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(15, 93, 103, 0.16);
    background: #ffffff;
    color: #0f5d67;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
}

.simcebot-publico-body {
    height: 275px;
    padding: 14px;
    overflow-y: auto;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbfb 100%);
}

.simcebot-publico-message {
    display: flex;
    margin-bottom: 10px;
}

.simcebot-publico-message-user {
    justify-content: flex-end;
}

.simcebot-publico-bubble {
    max-width: 82%;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.45;
}

.simcebot-publico-message-bot .simcebot-publico-bubble {
    background: #ffffff;
    color: #16343a;
    border: 1px solid rgba(15, 93, 103, 0.12);
}

.simcebot-publico-message-user .simcebot-publico-bubble {
    background: #19d3d1;
    color: #07343b;
}

.simcebot-publico-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 10px 12px 0;
}

.simcebot-publico-suggestions button {
    border: 1px solid rgba(15, 93, 103, 0.16);
    background: #f5fbfb;
    color: #0f5d67;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
}

.simcebot-publico-form {
    display: flex;
    gap: 8px;
    padding: 12px;
}

.simcebot-publico-form input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border: 1px solid rgba(15, 93, 103, 0.14);
    border-radius: 999px;
    padding: 0 14px;
    color: #16343a;
    outline: 0;
}

.simcebot-publico-form button {
    width: 42px;
    height: 42px;
    border: 0;
    background: #19d3d1;
    color: #07343b;
    border-radius: 50%;
    cursor: pointer;
}

@keyframes simcebotPublicoPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.12);
        opacity: 0;
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

@media (max-width: 575px) {
    .simcebot-publico {
        right: 14px;
        bottom: 14px;
    }

    .simcebot-publico-panel {
        bottom: 88px;
    }

    .simcebot-publico-body {
        height: 260px;
    }
}
