/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Author: Arito
Description: Clean child theme for the Arito website.
Version: 1.0.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blocksy-child
Template: blocksy
*/

.arito-assistant-trigger {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9998;
    display: flex;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    filter: drop-shadow(0 8px 16px rgb(0 22 73 / 20%));
    transition: transform 150ms ease;
}

.arito-assistant-trigger:hover,
.arito-assistant-trigger:focus-visible {
    transform: translateY(-2px);
}

.arito-assistant-trigger img {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    object-fit: contain;
}

.arito-assistant-widget {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
}

.arito-assistant-panel {
    position: absolute;
    right: 96px;
    bottom: 24px;
    width: min(430px, calc(100vw - 128px));
    height: min(720px, calc(100vh - 48px));
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 30%);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 70px rgb(0 16 54 / 38%);
    pointer-events: auto;
}

.arito-assistant-header {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 0 20px;
    color: #fff;
    background: #001649;
}

.arito-assistant-header h2 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.arito-assistant-header button {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgb(255 255 255 / 12%);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.arito-assistant-panel iframe {
    width: 100%;
    height: calc(100% - 56px);
    display: block;
    border: 0;
    background: #fff;
}

@media (max-width: 760px) {
    .arito-assistant-trigger {
        right: 12px;
        bottom: 12px;
    }

    .arito-assistant-trigger img {
        width: 48px;
        height: 48px;
    }

    .arito-assistant-panel {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        height: min(720px, calc(100vh - 24px));
        border-radius: 18px;
    }
}
