/* Circular launcher on the right side for MoeinGift AI assistant. */
.mg-ai {
    right: 22px;
    left: auto;
}

.mg-ai-launcher {
    width: 64px;
    min-width: 64px;
    height: 64px;
    padding: 7px;
    justify-content: center;
    gap: 0;
    border-radius: 50%;
    text-align: center;
}

.mg-ai-launcher-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.mg-ai-launcher-copy,
.mg-ai-launcher > i {
    display: none;
}

.mg-ai-panel {
    right: 0;
    left: auto;
    transform-origin: bottom right;
}

@media (max-width: 600px) {
    .mg-ai {
        right: max(10px, env(safe-area-inset-right));
        left: auto;
        bottom: max(12px, env(safe-area-inset-bottom));
    }

    .mg-ai-launcher {
        width: 60px;
        min-width: 60px;
        height: 60px;
        margin: 0;
        border-radius: 50%;
    }

    .mg-ai-launcher-icon {
        width: 46px;
        height: 46px;
        border-radius: 50%;
    }
}
