/*
 * Ported from the reference (non-FSE) theme's inline <style> block.
 * Position adjusted from the original right:150px/bottom:60px so it
 * stacks above this site's "To Top" plugin button instead.
 */

#druidContainerElement {
    position: fixed;
    cursor: pointer;
    right: 20px;
    bottom: 90px; /* sits above the "To Top" plugin's button (usually ~20-30px) */
    z-index: 9998;
}

#druidContainerElement:focus {
    outline: .3rem solid #ffffff !important;
}

#druidContainerElement:hover {
    text-decoration: none !important;
}

#druidContainerTooltipOuter {
    vertical-align: bottom;
    display: inline-block;
}

#druidContainerTooltip {
    position: relative;
    top: 0px;
    font-size: 0.875rem;
    padding: 11px;
    margin-right: 16px;
    line-height: 1.3;
    background-color:var(--wp--preset--color--tertiary);
    color: #161616;
    max-width: 200px;
    font-size: 1.05rem;
    height: 28px !important;
    color: white;
    border-radius: 10px !important;
}

#druidContainerTooltip:hover {
    background-color: #3E3E3E !important;
}

#druidContainerTooltip > span {
    line-height: 32px;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
    font-size: 1.2rem !important;
}

#druidContainerElementInner {
    position: relative;
    background-color: #a4cff0;
    width: 50px;
    height: 50px;
    display: inline-block;
    border-radius: 10px;
    top: 4px;
    transition: .6s !important;
}

#druidContainerElementInner:hover {
    background-color: var(--wp--preset--color--primary) !important;
}

#druidContainerElementInner svg {
    position: absolute;
    top: 23%;
    left: 22%;
}

#druidContainerElement span.drd-badge {
    position: relative;
    float: right;
    margin-left: -10px;
    margin-top: -10px;
    z-index: 9999;
    letter-spacing: 0.6px !important;
    padding: 3px 6px !important;
    border-radius: 10px !important;
    color: white !important;
    font-size: 0.8rem !important;
    line-height: 14px !important;
    min-height: 15px !important;
    min-width: 10px !important;
    vertical-align: middle !important;
    text-align: center !important;
    display: inline-block !important;
}

@media (max-width: 993px) {
    #druidContainerElement {
        right: 12px;
        bottom: 80px;
    }
}

/*
 * Druid sets #botDiv's position via inline styles from their own JS
 * (bottom: 0; right: 10%), so !important is required to override it.
 * Brings the chat window closer to a fixed right offset (matching the
 * Lana button's side) and adds a gap from the bottom edge.
 */
#botDiv {
    right: 20px !important;
    bottom: 20px !important;
}

@media (max-width: 767px) {
    #botDiv {
        right: 10px !important;
        bottom: 10px !important;
    }
}