/**
 * @file
 * Floating WhatsApp contact button (.millama / .btnwhat).
 *
 * Rendered in the footer (page.html.twig); fixed bottom-center on mobile,
 * bottom-right on desktop.
 */

a.btnwhat {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #128c7e;
    /* border-color: #FFFFFF; */
    color: #fff;
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    font-size: 0.7rem;
    cursor: pointer;
    box-shadow: 2px 2px 3px #111;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* WhatsApp logo (inline SVG) to the left of the label. */
.btnwhat__icon {
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    fill: currentColor;
}

.millama {
    position: fixed;
    bottom: 3rem;
    cursor: pointer;
    z-index: 99999999;
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    left: 0;
    right: 0;
}


@media (min-width: 768px) {
    .millama {
        left: unset;
        right: 14rem;
    }
}

/* Hide the WhatsApp support button for users with the Administrador role. */
body.user-role-administrator .millama {
    display: none;
}
